Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does Refresh work on a textbox Not Visible?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678801
Message ID:
01678866
Views:
51
Likes (1)
>>Hi,
>>
>>Say I have a text box on a form/window. The Refresh of the text box has a code that get the value from a child table (based on a PK) and puts it into the .Value property.
>>Does this code still fire when the textbox Visible property is set to .F.?
>>
>>TIA
>
>I believe not, but it should be easy to test - just add some wait window in that method to see

The Refresh fires even when the control's property Visible is set to .F. and the Enabled = .F. I guess to make this code not to fire, I will have to create some semaphore variable. I thought VFP would not fire the Refresh of a hidden control. But I was mistaken.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform