On 10/11/00 4:44 am, Sivakatirswami <[EMAIL PROTECTED]> wrote:

> I am having trouble with the location of where a menu appears in a pulldown
> Button.
> 
> It's a simple button with contents and appearance set to "pulldown" but
> I have located the button in the lower left hand corner of a stack.
> Now, when you click on the button the menu Pops up on the left of the
> button, half way off the edge of the stack which is set to 800,600
> 
> If I run this stack on a monitor with that resolution, the menu is actually
> Off the screen to the left. I tried playing with the button but it gets
> worse. . .the menu pulls down below the bottom of the screen. . .how can you
> control the loc of where this pull down menu appears? I need to force it to
> stay inside the bounds of the stack rect.

The built in pulldown and popup commands / stack modes do not support
locating the stack yourself.  You could however create your own menu with a
normal stack, and open it as a palette (set the decorations to empty to
remove the border) and script it to behave like a menu, but open on the
screen wherever.

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to