Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot keep the windowstate in a child form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Cannot keep the windowstate in a child form
Divers
Thread ID:
00163306
Message ID:
00163306
Vues:
62
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
Répondre
Fil
Voir

Click here to load this message in the networking platform