Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Did not Edit boxes ...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00215893
Message ID:
00216356
Vues:
23
I have the following code on the keypress event of the textbox I use for dealing with memo fields:
LPARAMETERS nKeyCode, nShiftAltCtrl
local x,oldSBT
		
with this
	do case
	case nKeyCode = 30  && Ctl-PgDn
		nodefault
		if !empty(.ControlSource) and type(.ControlSource) = "M"
			oldSBT = .StatusBarText 
                     * display how to close the control
			.StatusBarText = "Ctrl-W to close the edit window, ESC to abbandon edit"
			modify memo (.ControlSource) save &&nowait
			.StatusBarText = oldSBT
			return
		endif
		.refresh()
	endcase
endwith
HTH

>... have a PEM to allow a user to zoom [open] to a larger editing window? I sure thought I say this in version 3 or 5; I am using VFP 6 and do not have the earlier versions installed. Is my memory just wishful thinking, or did I miss this on the PEM sheet?
>
>TIA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform