Here's the latest version of HierPop...
This version finally allows you to get rid of the help item if you don't
The HCMenu's UseHelp peoperty now controls the visibility of the help item
of weather it is enabled or not.
Notes on menus without the help item:
Menus that don't show the help item are actually generated with an entirely
different function call (PopupMenuSelect) which mimics the behavior of
menus. This means that it suffers from the same bug as RB's
when near the top or bottom of the screen. This also means that when it is
again, it will open in such a way that the last selected item will be under
mouse. If this is undesirable, set the HCMenu.SelectedItem property to 0
after you get the result.
Not good. You know, your treading on CBev's turf. Rather than be utterly
furious with you, I'll support you. I have some code that you might be
interested in. They are the routines that I use when opening my menu, to
counteract the effect that makes the selection next to the mouse.
You can see what I mean, because my CBevelButton has a property,
scrollToIndex, that if set, it scrolls to the index (as RB does in it's
PopUpMenus). If it is not set, then I run my routines, to counteract it. I
found a way around it and would like to help you too. Let me know what you
These are a set of appearance compliant controls that use Hierpop to
their menus. They are:
PopCMenu - A popup menu
BevelCMenu - A Bevel Button
ButtonCMenu - A button that looks sort of like the right side of a popup
Man, are you stepping on CBev's toes. But that's alright. With some work and
help (hopefully from me), your class will have all the features mine does
(boy, that's a lot of features). (did you know that my class has over 50
features related to the menu alone?
Anyway best of luck,
PS, the contact me about the routines.
Get your FREE download of MSN Explorer at http://explorer.msn.com
Subscribe to the digest:
<mailto:realbasic-dr-digest at lists dot realsoftware dot com>
<mailto:realbasic-dr-off at lists dot realsoftware dot com>