Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 prg or ! 2 prg
Message
From
03/02/2002 21:47:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00614546
Message ID:
00614644
Views:
19
>Can a form be designed in the form designer which is based upon a programmatic class? If so how is it accomplished?

Theoretically, you could scratch your right ear with your left foot.

In this case, the answer is simply - no, AFAIK. Any class you create in a prg will remain there, and can't be edited in the class designer, nor can any object based on that class or any of its subclasses.

What you can do is have some manager code in a non-visual class, which will be instantiated from your form's .load or (preferrably) .init, or (even more preferrably) a loader object's .init (the loader can be a simple label, and it can return .f. from its init, so it won't be in the way). In that manager you can keep whatever code and cool methods you like, and call them throughout your form - but you won't get any help from Intellisense while you write the calls, because the manager object is not there until runtime.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform