Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset Properties Values
Message
 
To
16/11/2010 14:47:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01489238
Message ID:
01489277
Views:
48
>Since it's all in a prg, and it's your custom class, you can simply have a method which will set the properties to whatever you want. You can then call that from the .init() and whenever you want. Something like
>
>
>define class mycustom as custom
>prop1=""
>prop2=""
>...
>propX={}
>
>procedure initProps()
>with this
>	.prop1="something"
>	.prop2="whatever2"
>...
>	.propX=date()
>endwith
>
>procedure init()
>this.initProps()
>
>Then later in code just lo.InitProps()

Dragan, thank you.

This is another way that I too had experienced.
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform