Position of Cursor in Edit Line (OpenInsight 32-Bit)
At 29 OCT 2007 06:06:03PM John Grant wrote:
I am returning a value from a popup into an Edit Line and would like to have the cursor move to the end of the entered text in that Edit Line for any further data entry - ie send an END key stroke after placing the data. The last lines of my code so far are:
X=SET_PROPERTY(WIN_NAME:'.MEDICATION',"TEXT",MEDVARMEDS)
X=SET_PROPERTY(WIN_NAME:'.MEDICATION','FOCUS',1)
John
At 29 OCT 2007 06:29PM dbakke@srpcs.com's Don Bakke wrote:
John,
Add another line using the SELECTION property:
X=SET_PROPERTY(WIN_NAME:'.MEDICATION'[/color], [/color]'SELECTION'[/color], [/color]65534[/color]:[/color]@FM[/color]:[/color]1[/color])[/color][/color][/size]dbakke@srpcs.com
At 13 NOV 2007 12:14AM John Grant wrote:
That worked perfectly! Thanks.
John