Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom classes instead of global variables
Message
From
17/01/2000 13:34:48
 
 
To
17/01/2000 13:32:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00319087
Message ID:
00319102
Views:
17
>Try:
>
>PROCEDURE main
>
>PUBLIC goSettings
>
>goSettings = CREATEOBJECT('settings')
>
>ENDPROC
>
>DEFINE CLASS settings AS CUSTOM
>....
>ENDDEFINE

>
>Here is something that might be helpful to add to your class. This adds the property if it doesn't exist and you try and set it:
>
>
***goSettings.This_Access()
>lparam tcMember
>if !pemstatus(this, tcMember, 5)
>	this.AddProperty(tcMember)
>endif
>return this
Thanks,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform