I need help. This is my problem. It is located on a page frame in a edit box, attached to a memo field in a DB.
I have the short cut menu as defined. When doing a find/replace the users requested 2 things.
The ability to ctrl C/copy into the find area and Ctrl V/paste into the replace area.
The ability to extend the scope to the other memo/edit boxes.
For example: When the ctrl+v is used in the _med_find box typing area,nothing happens.
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR _med_find OF shortcut PROMPT "\<Find..." ;
KEY CTRL+F, "Ctrl+F" ;
MESSAGE "Searches for specified text"
DEFINE BAR _med_repl OF shortcut PROMPT "R\<eplace..." ;
KEY CTRL+L, "Ctrl+L" ;
MESSAGE "Replaces specified text with different text"
DEFINE BAR 3 OF shortcut PROMPT "\-"
DEFINE BAR _med_copy OF shortcut PROMPT "\<Copy" ;
KEY CTRL+C, "Ctrl+C" ;
MESSAGE "Copies the selection onto the Clipboard"
DEFINE BAR _med_paste OF shortcut PROMPT "\<Paste" ;
KEY CTRL+V, "Ctrl+V" ;
MESSAGE "Pastes the contents of the Clipboard"
DEFINE BAR 6 OF shortcut PROMPT "\-"
DEFINE BAR _med_undo OF shortcut PROMPT "\<Undo" ;
KEY CTRL+Z, "Ctrl+Z" ;
MESSAGE "Undoes the last command or action"
DEFINE BAR _med_cut OF shortcut PROMPT "Cu\<t" ;
KEY CTRL+X, "Ctrl+X" ;
MESSAGE "Removes the selection and places it onto the Clipboard"
DEFINE BAR 9 OF shortcut PROMPT "\-"
DEFINE BAR 10 OF shortcut PROMPT " Cancel"
ACTIVATE POPUP shortcut
I have the short cut menu as defined. When doing a find/replace the users requested 2 things.
The ability to ctrl C/copy into the find area and Ctrl V/paste into the replace area.
The ability to extend the scope to the other memo/edit boxes.
For example: When the ctrl+v is used in the _med_find box typing area,nothing happens.
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR _med_find OF shortcut PROMPT "\<Find..." ;
KEY CTRL+F, "Ctrl+F" ;
MESSAGE "Searches for specified text"
DEFINE BAR _med_repl OF shortcut PROMPT "R\<eplace..." ;
KEY CTRL+L, "Ctrl+L" ;
MESSAGE "Replaces specified text with different text"
DEFINE BAR 3 OF shortcut PROMPT "\-"
DEFINE BAR _med_copy OF shortcut PROMPT "\<Copy" ;
KEY CTRL+C, "Ctrl+C" ;
MESSAGE "Copies the selection onto the Clipboard"
DEFINE BAR _med_paste OF shortcut PROMPT "\<Paste" ;
KEY CTRL+V, "Ctrl+V" ;
MESSAGE "Pastes the contents of the Clipboard"
DEFINE BAR 6 OF shortcut PROMPT "\-"
DEFINE BAR _med_undo OF shortcut PROMPT "\<Undo" ;
KEY CTRL+Z, "Ctrl+Z" ;
MESSAGE "Undoes the last command or action"
DEFINE BAR _med_cut OF shortcut PROMPT "Cu\<t" ;
KEY CTRL+X, "Ctrl+X" ;
MESSAGE "Removes the selection and places it onto the Clipboard"
DEFINE BAR 9 OF shortcut PROMPT "\-"
DEFINE BAR 10 OF shortcut PROMPT " Cancel"
ACTIVATE POPUP shortcut