You need to nest your components in a canvas to use absolute positioning. Rich
On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > We have a menu that needs to be displayed right below a label. The menu > shows up on mouse over of the label. > > It works well with fixed x and y positions in menu.show(). But the menu > shows in the wrong place if we resize the window. The menu would show at > the original x and y positions and not relative to the new window size. > > Tried to find out the x and y of the hbox the label is in and then work > the menu. But the position is always the same, no matter what the size of > the window is. > > Our application does not take 100% screen - it is centered. > > How do we get the x and y coordinates to display the menu at? > > TIA. > > :Nirav > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

