popup in selected text in unlocked field

MisterX b.xavier at internet.lu
Fri May 20 11:40:07 EDT 2005


And that's a great game Jacque!

I recommend it to everyone!

The stack menu was the only way to make it work actually. Did I forget to
mention that? ;|

A button menu will not show up for some reason... I tested different button
names too just in case they coincide with another stack's menus. 

One anoying thing though is that populating those stack menus is not as easy
as populating a button menu unless the user is in a boxed application. Just
extra work otherwise where a toolbar can be more mouse-efficient...
Although, in exchange, you can have icons in menu if you like eye candy!

cheers
Xav

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> J. Landman Gay
> Sent: Friday, May 20, 2005 17:18
> To: How to use Revolution
> Subject: Re: popup in selected text in unlocked field
> 
> On 5/19/05 11:56 PM, Stephen Barncard wrote:
> 
> > I know there's some kind of trick here to do this;
> > 
> > 
> > I have an unlocked, editable field with text. I select a portion of 
> > the text, then option click on it for a popup that has a 
> few options 
> > to select from to do something to the text, like uppercase, 
> lowercase, etc.
> > 
> > This changing works with a button and an option menu combo, 
> but not in 
> > a contextual button. Any activity on the field kills the selection.
> > 
> > Attempting this always loses the selection, then there's nothing to 
> > change, and all attempts to save the selection range 
> description to a 
> > global still don't seem to work.
> 
> I had to do this in my Boggle game. Are you using a popup 
> button for the contextual menu? If so, try popping up a menu 
> stack instead.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list