Setting property on control from edit to overwrite (OpenInsight 32-bit Specific)
At 26 AUG 2003 11:27:06AM Leon Shaffer wrote:
Does anyone know if there is a property to set in a control (editline and/or editbox) to have the information highlighted so that the 1st key pressed wipes out the information in that control….as opposed to having the cursor set at the 1st character and whatever you type in inserts that information at the the beginning point and scoots the other information over?
I want to overwrite the information rather than insert information….
At 26 AUG 2003 11:46AM Donald Bakke wrote:
Leon,
Try using the SELECTION property, e.g.:
Set_Property(CtrlEntId, "SELECTION", 1:@FM:64000)
If you put this in a GOTFOCUS event (or promoted GOTFOCUS event) then you can easily automate this.
At 27 AUG 2003 09:35AM Leon Shaffer wrote:
Don,
Thank You…it worked fine…Rev Tech Support called back with the suggestion of using Selection also…