SELECTION property of edittable (OpenInsight 32-bit Specific)
At 26 NOV 2003 02:10:17PM Godfrey Farrugia wrote:
I have occasionally used the SELECTION property to highlight text in editboxes and editlines with no problem. However, I cannot obtain the same result in an edittable cell. I assume it's the cell currently having focus (or as selected via SELPOS) that should be the target of a Set_Property(CtrlEntId, "SELECTION", 1:@fm:65534) statement within a POSCHANGED event.
I know I'm in the correct cell as I have, for test purposes, immediately preceeded the statement with another one saying Set_Property(CtrlEntId, "TEXT", "") and the contents of the cell are blanked. So what can I be doing wrong since with the succeeding SELECTION statement the text is not being highlighted?
At 27 NOV 2003 04:16AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Godfrey,
You probably need to put the Edit table cell into 'Edit Mode' before you select the text. Take a look at this link for more info.
World leaders in all things RevSoft
At 27 NOV 2003 12:55PM Godfrey Farrugia wrote:
Thanks, Sprezz, it worked. One hitch however. I now cannot double-click in the cell to call its related event. Every time I double-click in the cell, I simply toggle the edit-mode between edit-mode and insert-mode. Anything else I ought to do to re-enable the double-click facility?