Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot keep the windowstate in a child form
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Cannot keep the windowstate in a child form
Miscellaneous
Thread ID:
00163306
Message ID:
00163306
Views:
60
Hi


In VFP 5.0, I used a main form with the WINDOWSTATE = 2 (maximized).
I created my own messagebox dialog box (height 150, width 300) and VFP shows the form in the good size.

In VFP 6.0 it does not work and I have to :
1. Save the WINDOWSTATE of the main form
2 .Set the WINDOWSTATE to 0 (normal) in the ACTIVATE event of
my messagebox dialog box to keep the good size
3. Reset the WINDOWSTATE to 2 of the main form at the end

Is there an other way ?

Stéphan
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Reply
Map
View

Click here to load this message in the networking platform