realbasic-betas.mbox
[Top] [All Lists]

Re: [ANN] HierPop 1.3 and HierButtons

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: [ANN] HierPop 1.3 and HierButtons
From: "Devin Teske" <devinteske at hotmail dot com>
Date: Mon, 01 Jan 2001 16:33:26 -0800
Here's the latest version of HierPop...

Cool.

This version finally allows you to get rid of the help item if you don't want it. The HCMenu's UseHelp peoperty now controls the visibility of the help item instead
of weather it is enabled or not.

Much better.

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 popup menus. This means that it suffers from the same bug as RB's contextual/popup menus when near the top or bottom of the screen. This also means that when it is opened again, it will open in such a way that the last selected item will be under the mouse. If this is undesirable, set the HCMenu.SelectedItem property to 0 each time
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 think.

HierButtons 1.0:
These are a set of appearance compliant controls that use Hierpop to generate
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 menu.

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,
Devin Teske

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>
Unsubscribe:
<mailto:realbasic-dr-off at lists dot realsoftware dot com>


<Prev in Thread] Current Thread [Next in Thread>