Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I _Need_ OKLs
Message
De
02/07/1999 19:49:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
I _Need_ OKLs
Divers
Thread ID:
00237089
Message ID:
00237089
Vues:
43
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
Fil
Voir

Click here to load this message in the networking platform