Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Did not Edit boxes ...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00215893
Message ID:
00216356
Views:
22
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform