Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement