Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWEdit caret position
#8
Hi Alexandre,

Since you showed me how to put JS into the code in the Forms create event to place the caret after the text in an edit control at the time it received focus, I have started to use the forms Javascript property to enter JC code. The lastest additions is the text for keypress F10 and ESC on formlevel.

But I am also using the ScriptEvents on component level. Mostly to make sure text in an component is "selected" when it receives focus, and lately also to convert text to Uppercase characters.

And that makes me think I could use the ScriptEvents for the IwEdit fields for the Caret positioning, either in the OnEnter event or the OnFocus event, instead of the way I do it now (as your example shows).

If it is possible to use ScriptEvents for that, how would you propose I do it ?

Regards
Soren
Reply


Messages In This Thread
IWEdit caret position - by SorenJensen - 08-22-2019, 05:53 AM
RE: IWEdit caret position - by kudzu - 08-22-2019, 01:29 PM
RE: IWEdit caret position - by SorenJensen - 08-23-2019, 11:36 AM
RE: IWEdit caret position - by SorenJensen - 08-24-2019, 02:43 PM
RE: IWEdit caret position - by Alexandre Machado - 08-25-2019, 11:42 PM
RE: IWEdit caret position - by SorenJensen - 08-27-2019, 04:15 AM
RE: IWEdit caret position - by SorenJensen - 09-10-2019, 05:03 AM
IWEdit caret position, moew - by SorenJensen - 09-23-2019, 08:32 PM
RE: IWEdit caret position - by SorenJensen - 09-28-2019, 03:26 PM
RE: IWEdit caret position - by kudzu - 09-28-2019, 07:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)