Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Undo and Redo Buttons
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00646328
Message ID:
00646354
Views:
25
Yea Perholtz

I herd in vfp 7.0 you must have the menu enabled and running for the function i.e. the edit menu after that just say in the click event of your button;

KEYBOARD '{CTRL+Z}'
or
KEYBOARD '{CTRL+R}'

if this is unclear just let me know


>Hi Stephen, Yes I am using VFP 7.0 -- any ideas?
>
>
>>Hello Perholtz
>>
>>Are you useing vfp 7.0 ??
>>
>>
>>>I am trying to put some undo and redo command buttons on my form that will work against a single edit box exactly like ctrl-z and ctrl-r do. I've tried using the KEYBOARD command in the commandbutton's click event to no avail. However, when the edit box has the focus and I hit ctrl-z on the keyboard, the undo works perfect. Any idea how to harness this undo/redo functionality. Thanks!
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform