Setting controls to 'EDIT' vs 'INSERT' mode (OpenInsight Specific)
At 26 MAY 1999 03:25:28PM Gene Sorbo wrote:
Is there any way to force OI form controls to be in 'edit' mode (e.g., when the user starts entering data into a control, it clears the existing value vs. inserting the data in front of the existing)?
I searched the documentation and could not find any reference to how to do this either through a form designer setting or programmatically.
Gene
At 26 MAY 1999 03:45PM Don Bakke wrote:
Gene,
In the GOTFOCUS event just set the SELECTION property to 1:@FM:65534. This will force all the text to be "selected" so if the user begins typing it will all disappear.
To make this a universal characteristic of all your edit controls then place this code in a promoted GOTFOCUS event.
At 26 MAY 1999 05:05PM Gene Sorbo wrote:
The promoted event method sounds like the way to go.
Thanks for the info.
Gene