Hi,
I have a function that needs to run whenever a user clicks on any
textbox, listbox or combobox on any input forms in my application
(there are many forms).
Background (in case someone has a better suggestion):
The forms are all unbound and the datatype and inputmasks are built on
the fly.
If the user clicks on the control, the cursor is positioned at the end
of the inputmask. They find this bothersome and wish the cursor to be
positioned at the beginning. Fine, no problem for that part. I create
a function that sets SelStart = 0 for the control clicked on.
Hopeful question:
Is there any way to call this function without putting a line of code
on the click event of every control on all of these forms? Maybe using
a class module to create a customized application level event? Can you
create application events? Can you create custom properties for
controls - like "StartPosition" for example and then set that property
upon opening the application?
Thanks for your input,
April