Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Maximized Problem
Message
 
À
15/04/2003 04:38:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00776463
Message ID:
00778168
Vues:
12
>>>Where are you trying to do the maximizing of the form? If it's in the Load event, thisform may not reference what you think it's referencing.
>>
>>
>>I'm not doing it. I have a user who has set the shortcut to the exe "run as maximized". Now they want a fix in case someone does that.
>
>
>Eric, does it help if you set the form's visible property to .F. at design time, compile it, and then only set it back to .T. after the form has loaded and been resized by you to the correct size?

If you set titlebar = .F. at design time, then set it to .T. in the login form.gotfocus(), the shortcut will overlook the login screen and maximize the _screen object.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform