add choiche to contextual menu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
add choiche to contextual menu
its posible to add command to the contextual menu? i mean when you select something is posible to add to the menu "select, copy, paste" something like "send to twitter"
Re: add choiche to contextual menu
Hi jagiron,
since a contextual menu is just a button, you can modify its TEXT property:
...
## Append:
put the text of btn "your popup here..." into tText
put CR & "send to twitter" after tText
set the text of btn "your popup here..." to tText
...
BUT this does not create the appropriate menupick handler for the new command in the script of the button of course
Best
Klaus
since a contextual menu is just a button, you can modify its TEXT property:
...
## Append:
put the text of btn "your popup here..." into tText
put CR & "send to twitter" after tText
set the text of btn "your popup here..." to tText
...
BUT this does not create the appropriate menupick handler for the new command in the script of the button of course

Best
Klaus
Re: add choiche to contextual menu
Do you mean in the uitextfield then no. It would involve subclassing in an external. I have nearly completed an external that can present one of those popup menus though with whatever button titles you like. See the help me name this external topic for more details.
Cheers
Monte
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: add choiche to contextual menu
Oh, looks like I misunderstood the question... 
