sarah.reichelt at gmail.com
Sun Mar 25 18:34:02 CDT 2007
On 3/26/07, Joe Lewis Wilkins <pepetoo at cox.net> wrote:
> Do we have to implement each of the items in the Edit Menu? I thought
> basic text editing was automatic with the enabling of the Edit Menu. No?
When you make a menu using the Menu Builder, it includes an Edit menu
with the default items (Cut, Copy, Paste etc). If you then use
"Auto-script", you get the shell for the menuPick handler but it does
not include the actual commands.
I have a standard Edit menu script that I put into the script of any
Edit menu. Here it is if you would like to use/modify it.
on menuPick pWhich
put empty into the selection
case "Select All"
put the focusedObject into tID
if tID contains "field" then
select text in tID
go to stack "Prefs"
More information about the use-livecode