U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » cursor position from EditField and LineEdit
cursor position from EditField and LineEdit [message #57316] Mon, 12 July 2021 00:51 Go to next message
BetoValle is currently offline  BetoValle
Messages: 210
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

How i get the cursor position from EditField ?

and from LineEdit ?

Thanks
Re: cursor position from EditField and LineEdit [message #57317 is a reply to message #57316] Mon, 12 July 2021 09:37 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
GetSelection (if there is no selection, both numbers returned will be the same).

LineEdit also has GetCursor and even GetCursorLine.
Re: cursor position from EditField and LineEdit [message #57322 is a reply to message #57317] Mon, 12 July 2021 13:04 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 210
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi, Thanks!
Re: cursor position from EditField and LineEdit [message #57323 is a reply to message #57322] Mon, 12 July 2021 13:07 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 210
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
note: I had tested GetCursor, but it's private!
GetSelection work!
Previous Topic: window: title bar / windows 10 64 bits
Next Topic: How to put tabs to left side?
Goto Forum:
  


Current Time: Fri Sep 11 07:59:31 GMT+2 2026

Total time taken to generate the page: 0.00546 seconds