Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define Class in Methode and events ???
Message
From
01/04/1997 19:43:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00025966
Message ID:
00026487
Views:
39
>>you are mixing several concepts
>>visual programming (which is in-complete in VFP) and OO (which is rather good in VFP)
>>creating classes in code using DEFINE doesn't make it less OO
>>you can still use CREATEOBJECT to instantiate it and reference it like any other object
>>
>>note that you can also create classes in .vcx files "manually" e.g. column or page etc.
>>
>>Arnon
>
>I know that OO in VFP is very good but some detail was forgot like visualy change for column, page and so on. I think that definition of class was in to but if in the next version of VFP we will able to add property in the object at run time {build in not a extern class like today} it will more easy to use object to pass parameters to a method or another object because the parameters never had the same stucture so we can't build a definition for all parameters you need.

Yes, you can. You can have a property that will be an object at runtime. So, the object can be anything, e.g. you have an amazing flexibility here.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform