Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference between forms and class based forms?
Message
From
25/03/2009 10:56:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01391221
Message ID:
01391392
Views:
67
>I'm currently working on a project that includes several forms that uniformly communicate with a smart card reader.
>
>Having a base class for them in this case eliminates large amount of code thus making the forms much cleaner and easier to work with from developer's point of view. The base class holds a bunch of common properties and methods, runs a Timer control and so on.

He is not asking a base class but
Do Form vs CreateObject()
I think, no? In both we could subclass from another class (and almost always). ie:

create form myForm from myBaseFormClass of myClasslib
(edit and save - it is a scx)
do form myForm

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform