Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LockScreen!
Message
From
21/06/2001 09:27:49
 
 
To
21/06/2001 08:57:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00521845
Message ID:
00521865
Views:
12
This message has been marked as the solution to the initial question of the thread.
Hi!

In addition to Tommy's suggestion, LockScreen could be alteren in any control method, class code etc. if it is written innacurately, so you set it to .T., it is set to .F. somewhere during the process of refreshing, so the rest of the process shows flickering. I usually wrap code into LockScreen by following, safe, way:

local llLockedHere
m.llLockedHere = !thisform.LockScreen
thisform.LockScreen = .T.

... && do refreshing

thisform.LockScreen = !m.llLockedHere && if locked here, than unlock. If not - remain locked for
&& locks in outside routines

HTH.

>Hi
>
>I have an intermitten problem, and I think, but am not sure, that LockScreen may be inefficient.
>
>In my refresh I sometimes have objects that need to be hidden, and sometimes I can seem them flash visible, then invisible, even though I am locking the form with Lockscreen.
>
>Has anyone else experienced this? or does anyone know of a cure?
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform