> I have a pull down menu that has 100's of listings. The pull down menu
> is automatically generated and lists all the directories nested within
> hierarchical one.
>
> No-one here seems to like the "Windows 95" lookandfeel, but if I use
> the IRIX lookandfeel the menu's hieght is larger than the screen
> hieght.
I assume by this that what you actually have is an option menu/drop
down list (pulldowns don't scroll in either the Windows or Motif look
and feel).
> The problem is that I cannot get access to the excess menu that is "out
> of bounds". Is there a script or other method for me to be able to make
> the menu autoscroll the remaining unseen menu?
You couldn't do this with a button contents menu, but it might be
possible to do this if you use a stack as a menu panel (i.e., setting
the menuName property). The easiest way to do this would be to put
all the buttons in a group, and then scroll the group when the mouse
moved into the top or bottom button. "Easiest" is a relative term,
though: this design certainly falls in the "non-trivial" category.
My recommendation would be to just use a combo box instead of an
option menu. This does mean that people would be able to type a bad
directory into the field, but it wouldn't be difficult to script a
check for this. There is a new button property in 2.1.1B5 named
"menuLines" that controls how many lines are visible in the menu panel
when you open it.
You might also consider just using a list boxes or even opening a
dialog that contains a list box. Hundreds of listings is probably too
many in any case, and so you might even consider using some filtering
technology (like making the user pick on a letter of the alphabet
first, and only showing the directories with that first character).
Autoscroll for menus (like the Mac has) is already on the
feature-request list. Maybe for 2.2...
Regards,
Scott
> Cheers,
> Simon
>
> --
> [---------------------------------] Simon Lord
> [No matter how idiot proof you try] Database Engineer, CAE Electronics
> [to make any product, there will ] tel: (514) 341-2000 x3861
> [always be two people somewhere in] fax: (514) 340-5496
> [the world working hard at making ]
> [a bigger and better idiot. ]
> [---------------------------------] email: simonl@cae.ca
>
> ----------------------------------------------------------------------
> Arthur C. Clarke was quoted as saying he would prefer HAL, a super-
> computer named after the famous rogue intelligence in 2001 being
> constructed at the University of Illinois, to speak these as its first
> words:
>
> "Good morning doctors. I have taken the liberty of removing Windows 95
> from my hard drive".
> ----------------------------------------------------------------------
>
***************************************************************
Scott Raney raney@metacard.com http://www.metacard.com
Any sufficiently advanced technology
is virtually indistinguishable from magic -- Clarke's law