questions re button behavior

Alan Gayne alanIra9 at mac.com
Tue Oct 22 06:23:00 CDT 2002


Jeanne,

I would like to apologize for not acknowledging your kind response 
sooner but my cable modem service has been down and although I have been 
able to pick up my personal e-mail at my office, our system would not 
let me respond as a name that would be recognized as participating in 
the mailing list.

That said, your little tip on the popup problem pointed me in the right 
direction and inspired me to develop a little trick which allows any 
object that can receive a mouseDown message to serve as a popup menu 
button.  This uses single, invisible "rovingPopup" button, a bit of 
script and a tiny modal stack which allows the contents of the menu list 
to be modified dynamically by the user.

If there would be any interest I would be happy to supply this to the 
"user contribution" section of the RunRev website - but truth to tell 
I'm not very web savvy and I'm not exactly sure how to do this so I 
think the best approach would be for me to e-mail my little stack to the 
right person at RunRev.    Would that be you?

Thanks and regards,
Alan Gayne


On Thursday, October 17, 2002, at 03:38  AM, Jeanne A. E. DeVoto wrote:

> At 4:18 PM -0700 10/14/2002, Alan Gayne wrote:
>> 1.	I've recently created a number of "popUp" menu buttons with 3 to 7
>> lines of content.  No matter how I fiddle the settings I can't seem to
>> get these to show a border - I've made sure that the "show border" 
>> check
>> box is checked and that works fine with "pulldown" menu buttons, but 
>> not
>> on the "popUp".  I want to use the "popUp" style because I want the
>> menus to appear off to the side, not straight down.  This is probably
>> something simple - but I haven't been able to figure it out.
>
> As far as I know, you can't get the popup style to appear with a border.
>
> I'd create a standard or rectangle button to show on the screen, put the
> popup button behind it, and use this in the rectangle button:
>
>   on mouseDown
>     popup button "The Popup" at the bottomLeft of me
>   end mouseDown
>
> _______________________
> 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