Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMMAND window: Docking/Text Display Question
Message
De
19/12/2006 17:24:15
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
COMMAND window: Docking/Text Display Question
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01179036
Message ID:
01179036
Vues:
50
I prefer my COMMAND window sized tall to display as much command history as possible.
From time to time, though, I move the COMMAND window's contents to the top:

While the following basically does what I want is there a BETTER more direct way to accomplish this?
DOCK window "Command" position -1
size window "Command" to 5,130
keyboard "{Ctrl+End}" plain clear
doevents
if ( version(5) >= 900 )  && Ver. 9 IntelliSense doesn't insert "window" after DOCK
	DOCK window "Command" position 4 window view
else	&& Ver. 8 IntelliSense automatically inserts "window" after DOCK
	keyboard  [DOCK "Command" position 4 window "view"] plain
	keyboard  "{ENTER}" plain
endif
Thanks in advance for suggestions,

Spencer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform