{{tag>category:"OpenInsight 32-Bit" author:"John Grant" author:"dbakke@srpcs.com's Don Bakke"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== 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
[url=http://www.srpcs.com]SRP Computer Solutions, Inc.[/url]
[img]http://www.srpcs.com/srpicon1.gif[/img]
----
=== At 13 NOV 2007 12:14AM John Grant wrote: ===
That worked perfectly! Thanks.
John
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=F3C51C3CCD2E3C3C8525738300796774|View this thread on the Works forum...]]