Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some controls do not refresh
Message
From
28/02/2001 20:57:17
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00480384
Message ID:
00480823
Views:
8
>>Please help
>>I have a form with a pageframe and several buttons on the form.
>>When run, some buttons do not show. This happened way back with VFP6 Version1 on Win95 ans some Win98.
>>With VFP6 SP3, this seems to cure it. Now I have VFP SP4 on Windows 2000 Server and it seems to be happening all over again.
>>
>>I have the code in Form.Init() as
>>
>>WITH THISFORM
>> .LOCKSCREEN=.T.
>> ....codes here for opening file and intializing grids
>> .REFRESH()
>> .LOCKSCREEN=.F.
>>ENDWITH
>
>Hi Edward,
>
>Calling Form.Refresh or any object.Refresh from the Form.Init changes the order of the event firing and therefore may lead to some unpredictable results. I used to have Refresh() in Form.Init by myself, but after reading several messages in UT related to the problems, causing by this, I walked throug all my projects and remove this line from the code.
>
>Check VFP - Do and Don't document here in Documents section. It contains several very important advices.
>
>Hope this helps.

Hi, Nadya
Appreciate your response.
Thanks
Use things, not people. Love people, not things
Previous
Reply
Map
View

Click here to load this message in the networking platform