Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.Visible goes .T. unexpectedly during start up
Message
From
04/11/2010 18:21:50
 
 
To
04/11/2010 14:29:59
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01488084
Message ID:
01488342
Views:
42
>>Found some strange behavior during start up of a form.
>>
>>Thisform.Visible becomes .T. unexpectedly. The form is not visible at all and the form load hasn't started executing yet. VFP seems to be preparing objects defined in the class upon which the form is based. It executes UIEnable code for several of them. After the last UIEanble code it seems to execute something without showing a trace. When it next traces it is about to run the resize method for a grid and by this time Thisform.Visible is true.
>>
>>As workaround I set Thisform.VIsible = .F. at the start of form load, but I'm curious about what is going on.
>>
>>TIA,
>>
>>Alex
>
>Don't know if this helps but..................
>
>We have a form that goes visible before the Init completes. The line of code that causes it is a SetFocus to an object on the screen (in our case, a treeview).

Thank you very much. I think that is it.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform