Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

how to highlight content in a editline?

Hi
As we can double click the editline to highlight its content to blue
so how can we automatically highlight content in a editline without double clicking on it ?is any system subroutine to support this feature

Comments

  • The normal way to do this is to trap the GOTFOCUS event for a control and then set the SELECTION property to select the text (we usually just set the value to 1 : @FM : 999).

    If you want to automate this then you'll have to utilize promoted events.
Sign In or Register to comment.