Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MaxButton-Behaviour
Message
From
08/07/2017 03:24:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01652554
Message ID:
01652565
Views:
103
>Hi there,
>
>I start my POS-App with a maximized window (formstate 2) and everything is fine.
>The window fills the screen and respects the space used by windows für the taskbar.
>Now I want the user to prevent from clicking the MaxButton to prevent reszing of the
>windows and set the property to .F. but now the space of the taskbar is no longer
>respected and a lower part of my window is hidden under the taskbar.
>I already fixed it by setting the windowstate back to 2 if it is set in the resize-event to 0, but this does not
>look to be the best solution. Has anybody some explanation for this behaviour and maybe
>some advice.

.windowstate=2
.maxbutton=.f.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform