Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form controls sometimes invisible
Message
From
30/06/2009 13:08:42
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01409187
Message ID:
01409410
Views:
57
Pretty sure. I invoke the debugger to allow access to the form. I get a form reference. I can query the controls by oForm.txtLastname.value and get/set values. I can tab around the form and enter data and save it even though I can't see it. I don't see how another object would allow interaction with the form or fail to show up in the object hierarchy.

If I put _screen.formcount in the debugger, it increments and decrements as one would expect as the form is instantiated and released. I checked that to see if perhaps the form wasn't releasing and somehow I was making an earlier version partly visible through some strange interaction. Everything looks ok there. The form seems to work perfectly except for the minor and occasional detail of control visibility.

Gary




>>>Are the controls on a pageframe page that is being hidden by another blank pageframe page that is empty??
>>Nope. The pageframe is one control of many on the form. Neither it, its pages or the other form level textboxes, labels, etc. are visible when the form decides to not show it's controls. The example below shows that form painting is occuring but not for the controls.
>>
>>If I addobject() a control after form instantiation, it too remains invisible despite all efforts.
>>
>>Gary
>>
>Are you sure there is no object covering the form?
Previous
Reply
Map
View

Click here to load this message in the networking platform