General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>Here's the scenario:
>
>On a standard VFP form, a user highlights text from an editbox and chooses to copy or cut the text to the clipboard.
>
>At this point I need to be able to enable (or make visible) a command button, whose click event will act on whatever's in _cliptext.
>
>Is there a way to add a BINDEVENT to the _med_cut and/or _med_paste functions (i.e., to make the command button visible)?
>
>Any guidance you can provide would be appreciated.
I can't think of a direct way to do this, but how about something like this:
Instead of having the menu items (and thus, the keyboard shortcuts) go directly to the _med_xxx functions, have them call code, which then uses SYS(1500) to execute the relevant menu item and also calls your routine that enables controls.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only