Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET SKIP OF PAD
Message
From
02/03/1999 10:55:56
 
 
To
02/03/1999 06:21:09
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00193063
Message ID:
00193158
Views:
14
Hi John ---

SET SKIP OF and transient objects don't work and play well because you can't trap things like ActiveForm, etc, without code. Try this: Create a custom object with properties tied to ActiveForm properties and init the object when the app is inited. You can SET SKIP to an object property for this object because it will always exist. You can set the object properties via Form and Control events to make sure it behaves the way you expect.



> I have use menu designer to create mymenu. I try to set skip of pad of mymenu in skip for field but it is not working. I tried the follwing code but still the got error in different situation.
> _screen.forms(1).mycontrol.enabled = .f.
> It can work only if there is only a myform. If I try to issue DO FORM command, error will be occurs: "Unknown member mycontrol"
> Myformname.mycontrol.enabled = .f.
> Myformname cannot be evaluted.
> Any solutions?
>
>Thank you
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform