Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a control's caption changed
Message
 
To
20/09/2002 13:37:41
Randy Riegel
Zimish Contracting
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00702852
Message ID:
00703329
Views:
16
I never knew about that method. Why did they not include it as a regular?
I got it to work, thanks!

>It will work the same and making your own Access/Assign methods. Just create a method with the property name and _assign after it.
>
>
>>How will it fire everytime the caption changes?
>>
>>>Add a method called "caption_assign" to the control. You will have to make a subclass of the control (or add this method to current class). This method will fire everytime the caption of that control is assigned a value.
>>>
>>>>Is there an event/property that indicates the action of a label/cmdbutton's caption undergoing a change? for example you can test if something like the mouse cursor moved over the said control hence 'mousemove'.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform