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:
01147720
Vues:
14
>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.
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform