Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: _screen.closable=.t. problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01461978
Message ID:
01462302
Views:
48
Hi Sergey,

Do you mean code similar to the following? However the problem persists.
_Screen.Closable=.F.
* Do something, e.g., showing a model form.
Wait Window
_Screen.Closable=.T.

_Screen.LockScreen=.f.
=Inkey(.01)
_Screen.LockScreen=.t.

_Screen.ControlBox=.f.
=Inkey(.01)
_Screen.ControlBox=.t.
Ben



>Ben,
>
>WAG, did you try to flip ControlBox property? I would also try to flip Lockscreen property.
>
>>
>>I seek your help to solve the following problem because you are an expert of Windows API. I'd be grateful if you would check if some Windows API calls are able to solve this problem.
>>
>>On VFP9-SP2 _Screen.Closable=.T. does not restore the closable visual clue on Windows 7. After running the code below, the screen "close" button [X] is dim although it can be clicked to close the screen. I got complaints from my clients about this bug. This problem is not found in other versions of Windows.
>>
>>_Screen.Closable=.F.
>>* Do something, e.g., showing a model form.
>>Wait Window
>>_Screen.Closable=.T.
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform