I seem to be having issues with event procedures and focusing on form fields.
It seems that if within an event procedure I call another global function which focuses on a form field and moves the carret to the end, as the code eventually goes back to the event procedure call, if I do anything else within the event procedure the text highlighted in the form field is random and peculiar?
If the event procedure after calling the global function does nothing else the correct point in the focused field is where the carret is placed.
Is this normal?
Is it something to do with being an event handler call rather than a standard function/sub call.
It only seems to behave like this if done within an event handler as described?
Thanks
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Downloads
It seems that if within an event procedure I call another global function which focuses on a form field and moves the carret to the end, as the code eventually goes back to the event procedure call, if I do anything else within the event procedure the text highlighted in the form field is random and peculiar?
If the event procedure after calling the global function does nothing else the correct point in the focused field is where the carret is placed.
Is this normal?
Is it something to do with being an event handler call rather than a standard function/sub call.
It only seems to behave like this if done within an event handler as described?
Thanks
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Downloads