Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh Methods
Message
From
29/03/2001 22:48:31
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
29/03/2001 14:03:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00489984
Message ID:
00490191
Views:
16
Just to add, you can use NODEFAULT and DODEFAULT() to control when the children are Refreshed.
PROCEDURE Refresh()
NODEFAULT
* Get ready to refresh the contained controls.
DODEFAULT()
* All should be refreshed now.
ENDPROC

>Objects within a container (like a Form) refresh when the container is refreshed (firing after the container refresh, actually). An exception to this is pages in a pageframe that aren't the activepage.
>
>>Hi. Referring to the Refresh method of individual controls (ie: text boxes, buttons, etc). Do they fire when ThisForm.Refresh is executed or do they have to be individually called?
>>I have a command button on a form, and I want its caption to change based on the criteria in the record. (as I use my vcr buttons to flip through records)
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform