Yes, I wish for a non-standard response to clicks. I have up to ten rows with 3 columns of EFs. front/back sort order -- primary category (static EF) -- left/right sort order There is no need for an insertion point. When an non-static EF is selected, the entire contents (usually a single digit) is selected. I have been able to achieve the desired effect by placing the SETSELECT 0,32767 outside of the select/case structure at the end of the dialog handler. I see no ill effects, other than a very slight (perfectly acceptable) delay in the highlighting. Is there any unforeseen problem with this placement? Coming out of the select/case for unrelated events does not cause flicker. CASE _efClick EDIT FIELD dlgID% tempEd=VAL(EDIT$(dlgID%)) END SELECT SETSELECT 0,32767 END FN On Sun, Jan 11, 2009 at 9:26 AM, Pierre Zippi <pierrezippi@...> wrote: > That's what I thought. I tried FLUSHEVENTS but that did not work either. > How long after the click is the insertion point inserted? > CASE _efClick > EDIT FIELD dlgID% > FLUSHEVENTS > SETSELECT 0, 2 > tempEd=VAL(EDIT$(dlgID%)) > print dlgID% just to make sure I'm in the right place' > > > On Sat, Jan 10, 2009 at 11:28 PM, Robert Purves <listrp@...> wrote: >> >> Pierre Zippi wrote: >> >>> SETSELECT 0,32767 is not selecting EF contents with the example below. >>> Any Ideas? >>> >>> CASE _efClick >>> EDIT FIELD dlgID% >>> SETSELECT 0, 2 >>> tempEd=VAL(EDIT$(dlgID%)) >>> print dlgID% just to make sure I'm in the right place' >> >> Apparently the FB4 runtime sets the insertion point at the click location >> *after* the _efClick event has been dispatched. The effect of your >> 'setselect' is thus immediately overridden. >> >> There's not much you can do about it, except rethink your wish for a >> non-standard response to clicks. The normal outcome of a mouse click in >> editable text is to set the insertion point to the click's location. >> Pressing the tab key is the action that gives an automatic Select All. >> >> Robert P. >> >> -- >> To unsubscribe, send ANY message to: futurebasic-unsubscribe@... >> >> > > > > -- > P. Zippi > Using FB 4.4.3 (moving FB2 code to FB4.4.3) > -- P. Zippi Using FB 4.4.3 (moving FB2 code to FB4.4.3)