Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximize screen doesn't trigger resize()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00273888
Message ID:
00273900
Vues:
17
>>Hi all,
>>
>>I've been using some resizing code ( from the UT, of course ) to allow users to resize my forms. This code has been working flawlessly.
>>
>>Now though, there's one form that I want to be maximized when it first opens. So, of course, I set the WINDOWSTATE to 2... but all my controls stay the same, smaller, size...
>>
>>I've tried calling THISFORM.Resize directly after I change the window state but I guess I'm expecting the "Resize" method to fire automatically if I change the windowstate...
>>
>>Is this not the case?
>>
>>TIA
>
>
>Hi Larry,
>
>Yeah, I've run into this before too. I don't remember what my 'elegent' solution was. Now that I'm thinking about it, you might be able to create an assign method for the WindowState property that fires the Resize event.

Actually, now that I've played with it a little, the Resize is firing for me when I change the WindowState.

What version of VFP are you using? I'm using 6, but I remember this happening when using 5.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform