Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and menus for my app
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00005648
Message ID:
00005652
Views:
29
>In my 2.6 app I had a menu with access to 8 or 9 major
>functions. How do I setup my VFP app now?
>Are menus objects? Do I create one gigantic class that
>represents the whole app and define a single object as
>that class?

menus still aren't objects, but can be made as objects (i'll let someone else handle that).

>oMyApplication = CREATEOBJECT("topform")
>oMyApplcation.show
>read events
>
>DEFINE CLASS AReallyHugeClass AS form
>
> ...ADD OBJECT..(hundreds of objects)
> ...every single attribute of my entire application...
>
> ...PROCEDURE ...(hundreds of procedures)
> ....every single mathematical and DB manipulative
> operation in my application...
>ENDDEFINE
>
>Or.... should I keep my 2.6 menu structure and create
>large classes of each major function. Then CREATEOBJECTs
>from each major class? How do I execute the forms created
>from each major class in my 2.6 menu:

i think this is what i'd do...

>on selection bar 1 of mypopup (what do I do?)

do form thisform (if just transferring to 3.0 form type)
oThisForm = createobject('ThisNewFormClass')
oThisForm.show (if making into classes)

remember that you should use read events now...

>Thanx for any help!
>John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform