Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ON KEY LABEL with a class based on a prg.
Message
From
22/10/2005 06:39:24
 
 
To
21/10/2005 19:06:06
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061339
Message ID:
01061375
Views:
10
> I suppose I could leave the ".cKeypress" property on the form and give it
> an assign method but I am trying to create a universal class that does
> not rely on properties on its parent form.

Well, you should be able to refer to such a constant hard coded property name. At least you need a property that holds a string, which can be evaluated to the real destination property. Lets call that property cDestination.
_screen.AddProperty("cDestination","_screen.tag")
On Key Label "Y" Store "Y" to (_screen.cDestination)
Keyboard "Y"
? _screen.tag
This way you have the redirection without an assign-Method.

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform