cursor pos. for tedit

How do I get the cursor to move to the last position in a TEditBox?
kogerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Tommy HuiConnect With a Mentor EngineerCommented:
Use something like

  int length = edit->GetWindowTextLength();
  edit->SetSel(length, length);


0
 
rayofunrealCommented:
HI..... Try to use SetCarretPosition()..... Only ONE process can have ActiveCarret (text cursor)....
0
All Courses

From novice to tech pro — start learning today.