Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form controls sometimes invisible
Message
From
29/06/2009 16:28:25
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:
01409197
Views:
81
No ActiveX controls or shapes, just VFP textboxes and a pageframe. Neither the form level textboxes or anything on a pageframe page show. Draw() doesn't do anything either.

I forgot to mention that something like ? date() will display the date on the form as well as DISPLAY STATUS. These seem to show at least some painting taking place, but not the controls.

It's an odd thing to deal with.

Gary

>Are you using shapes on this form or any ActiveX controls ?
>
>
>Also did you try
>
>thisform.Draw() ?
>
>>Hi,
>>I have a real puzzler. Of the >230 forms (classes) in our application, one form sometimes comes up blank, no visible controls. Not always, just sometime. I can enter and save data, etc., because I know where to tab to, but the form is blank.
>>
>>I can get an obj ref to the form and its controls, read and set control values, etc., but it’s still blank.
>>
>>I’ve played with lockscreen, refresh(), SetFocus(), oForm.txtbox.visible = .t., change form size, whatever. The ShowWindow API call will minimize, maximize, whatever, but the form controls will not paint.
>>
>>If I close and re-instantiate the form it may open fine or it may be blank.
>>
>>Anyone ever run into this type of thing before?
>>
>>Thanks,
>>
>>Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform