Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I _Need_ OKLs
Message
From
02/07/1999 19:49:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
I _Need_ OKLs
Miscellaneous
Thread ID:
00237089
Message ID:
00237089
Views:
41
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
Map
View

Click here to load this message in the networking platform