Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify form maximized
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01147697
Message ID:
01147966
Vues:
11
>>I have edited Foxcode so MF expand to Modify Form instead of the default which is Modify File, a command I rarely use. This works fine, but one thing always annoys me a bit. When I modify a form, I also would like to have _screen maximized and the property sheet visible. I would be grateful if anyone could show me a macro I can add to Foxcode to have this happen automatically.
>
>Tore,
>
>Try to put the following into your script:
>
>LPARAMETER oFoxCode
>
>if _screen.WindowState # 2 ;
>then
>	_screen.WindowState = 2
>endif
>m.oFoxCode.ValueType = "V"
>activate window properties
>CLEAR TYPEAHEAD
>keyboard " " plain
>activate window command
>RETURN ("MODIFY FORM")
>
>
>The only trouble is that it adds an additional space after "MODIFY FORM". You could create a separate command just to show property window, maximize _screen. Use the new command initially, then use MF subsequently.

Thank you, Dawa, I will try to make it work the way I want it to. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform