G
Guest
Hello,
I have an unbound form which I will use to collect all data about a
questionnaire.
There is a textbox for each question (about 40) where the user has to enter
values form 0 to 4.
I would like to use the status bar to give to the user some hint about each
specific question.
I have built a class for the questionnaire and I listed all the hints in a
procedure of the class module.
I will code a procedure on the form’s module that will use this list to get
the right hint, according on which control has been entered.
My problem is…since the user can enter whatever textbox in the form and he
couldn’t necessary go from the first to the last control in the right order,
I will need a way to track which control has been entered by the user and use
its name to show the appropriate hint in the status bar.
Obviously I don’t want to write lots of code in the form module, otherwise I
know I could write a procedure fired by the lostfocus event for each control.
But it sounds kind of waste of time…and memory.
Is there any form event that will allow me to know that a control has lost
the focus and another has get it?
I hope all this sounds clear.
I have an unbound form which I will use to collect all data about a
questionnaire.
There is a textbox for each question (about 40) where the user has to enter
values form 0 to 4.
I would like to use the status bar to give to the user some hint about each
specific question.
I have built a class for the questionnaire and I listed all the hints in a
procedure of the class module.
I will code a procedure on the form’s module that will use this list to get
the right hint, according on which control has been entered.
My problem is…since the user can enter whatever textbox in the form and he
couldn’t necessary go from the first to the last control in the right order,
I will need a way to track which control has been entered by the user and use
its name to show the appropriate hint in the status bar.
Obviously I don’t want to write lots of code in the form module, otherwise I
know I could write a procedure fired by the lostfocus event for each control.
But it sounds kind of waste of time…and memory.
Is there any form event that will allow me to know that a control has lost
the focus and another has get it?
I hope all this sounds clear.