questions re button behavior

Jeanne A. E. DeVoto jeanne at runrev.com
Thu Oct 17 02:58:19 CDT 2002


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


>2.	Is it possible to set the label of a "pulldown" button to one font
>and the menu list to another?

No.

>3.	I've created a tab button whose background color changes depending
>on the menuPick choice.  This works fine in OS 9.2.2, but no color
>appears at all in OS X 10.1.5.  This behavior does not seem to apply to
>other button styles.  Is this a limitation of the appearance manager
>which I will have to live with?

I believe so, unfortunately. About the best I can offer is to include a
rectangular graphic sized to fit in front of the tab, and change its
backgroundColor depending on the choice made.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list