Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing methods with SETALL type functionality
Message
From
11/06/1999 15:15:17
 
 
To
11/06/1999 12:13:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00228840
Message ID:
00228953
Views:
16
>I've created a few controls in my forms library , combobox, spinner, editbox, textbox which I have added the property INITIALVALUE and a Method CHANGED.
>
>In the Init of the control I placed the line:
>
>this.initialvalue=this.value
>
>In the Changed method I placed the line:
>
>return (this.initalvalue<>this.value)
>


Do you really want to know the state of the control since it's init, or wouldn't rather know that state of the control since it was refreshed? Seems to me the latter makes more sense, then oyu could reset the initial value property in the refresh. This would also handle the refresh after the record pointer moves as well...
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform