General information
Category:
Forms & Form designer
Erik
Still on the subject of "not using OKLs"
(if not erik
see last of previous thread "Event Processing Basic Query"
endif)
Just tried this experiment:
created a form, called "hotkey" as part of a formset - made it 'always on bottom'
put 3 command buttons on it. One such is the F9 button which triggers a routine called "choosego", so I call the button "choosego".
each button has an appropriate click method which takes the form:-
dodefault() && (which I'm hoping is enough to take care of the interprocess problem)
=choosego && (my hotkey code)
in the load of this form I assign the keys thus
on key label F9 THISFORMSET.HOTKEY.CHOOSEGO.CLICK()
Trouble is, when I run it, and press F9, I get 'object "HOTKEY" not found - even though wexist says its alive and well.
I'm sure I've read references to how you can reference objects on other open forms like that, so what am I getting wrong this time?
Harry
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only