Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 203
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: 13975
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: 203
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: 203
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: Thu Apr 25 04:11:33 CEST 2024

Total time taken to generate the page: 2.08227 seconds