Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simple question
Message
From
19/05/2004 04:51:29
 
 
To
18/05/2004 12:35:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00904997
Message ID:
00905179
Views:
13
Ciao Fabio, mi sembra di aver capito che tu voglia reimpostare il valore di default della classe una volta "appiccicata" su un form. Mi sembra che non sia possibile in quanto VFP come valore di default intende quello impostato nella classe di origine. Io nei miei oggetti ho inserito una proprietà nella quale memorizzo il valore che mi interessa. Spero di essere stato chiaro e sopratutto di aver capito il tuo problema.
Ciao ALessio.

Hi Fabio, as far as i'm concerned VFP use as default value the one you put in the class when you define it, not the one you assign when you put the class in a form. I usually create properties in the classes in which I store my default value
HTH
Alessio

>I have a property
>
>myProperty = VCXorPRGDefaultValue
>
>
>On program i can restore it with
>
>Class::ResetTodefault('myProperty')
>
>
>but if i put the class on a SCX, with
>
>myProperty = SCXDefaultValue
>
>
>how I can restore the value to the SCXDefaultValue?
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform