Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PEM values at designtime
Message
From
09/10/2004 16:52:45
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
09/10/2004 14:02:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00950143
Message ID:
00950196
Views:
15
Hi Thomas, thanks for the reply.

>Are you looking for something like
>local luCurrProp, luStartProp
>luCurrProp = MyObject.MyProperty
>= MyObject.ResetToDefault("MyProperty")
>luStartProp = MyObject.MyProperty
>MyObject.MyProperty = m.luCurrProp
>if m.luCurrProp != luStartProp
>  Wait Wind "Somebody Switched MyProperty"
>endif
>
That's the idea, except ResetToDefault() returns the original VFP default value, not necessary the value set in the property sheet at runtime. PEMSTATUS(object,property,0) does the same thing.

Regards,
Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform