Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a control's caption changed
Message
From
23/09/2002 03:27:21
 
 
To
20/09/2002 13:23:53
Randy Riegel
Zimish Contracting
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00702852
Message ID:
00703253
Views:
14
Hi!

Note that *_Assign for properties works only when property changed by VFP code (programmatically). It would not fire when property changed by otehr means. For example, for Caption property, it might change for form in which you run report - VFP automatically change caption for this form. In such case _Assign would not file. Another example: Value_Assign would not fire when VFP loads a new value from the data table etc.

>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'.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform