We are not wrapping the menu in a control, just using the menu directly.

private var myMenu:Menu;

var point1:Point = new Point();
point1.x = event.target.x + 5;
point1.y = event.target.y + 20;         
point1 = event.target.localToGlobal(point1);
myMenuSchool.show(point1.x, point1.y);

Dale


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darin Kohles
Sent: Friday, October 10, 2008 12:22 PM
To: [email protected]
Subject: Re: [AFFUG Discuss] How to make a popup menu scrollable

If you are using the PopupManager, then your popup is simply a component,
and you can have your component be whatever you want. e.g if you use a
TitleWindow, then you can nest a list inside that has a ir constrains set
such that it will automatically scroll when the list is beyond the fixed
size of it's container. If your popup is simply a list component, then the
maxSize property should do the trick.

On Fri, Oct 10, 2008 at 12:07 PM, Dale Bronk <[EMAIL PROTECTED]> wrote:
> We have an item that when clicked will show a popup menu.  There is an 
> chance that a small percentage of the users will end up having many 
> items in this menu.  Is there a way to give it a max size and have it 
> scroll if larger?
>
>
>
> Thanks,
>
> Dale
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe 
> in the subject line
>
> For more info, see http://www.affug.com Archive @ 
> http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink
> -------------------------------------------------------------



--
Darin Kohles
RIA Developer


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to