Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create an empty class?
Message
From
12/12/2003 03:00:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00858157
Message ID:
00858482
Views:
20
>>Scatter name is powerfull but the obhject it created doesn't expose an Addproperty() method whilst empty does. Prior to VFP8 I'm creating other ligthweight objects such as line,relation,session to pass parameters 'cargoed' in an object. ie:
>>
>>loParms = createobject('Empty')
>>loParms.Addproperty('StartDate', ...)
>>...
>>loParms.EndDate = ...
>>loParms.Country = ...
>>...
>>loRetObj = loCusUtils.MyCustomersToFollowup(loParms)
>>
>
>Cetin,
>The Empty class doesn't expose an AddProperty method either. Scatter Name actually gives you an instance of the Empty class. You have to use the AddProperty() function to add anything to it. Prior to VFP 8, I believe you had to use Ken Levy's AddProp FLL to do this.
>
>Regards.

Yes my bug on a rush. AddProperty() function not method.
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