realbasic-nug
[Top] [All Lists]

Re: Popup Menus in Listbox Cells

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Popup Menus in Listbox Cells
From: "Rubber Chicken Software Co." <support@chickensys.com>
Date: Mon, 29 Jun 2009 23:59:21 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; domainkeys=neutral header.From=support@chickensys.com
Delivered-to: listarchive@realsoftware.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=chickensys.com; h=Received:X-Mailer:Date:To:From:Subject:In-Reply-To:References:Mime-Version:Content-Type:X-Identified-User; b=jm52ZsQaC5dhO05BzSslXaXXgHKRyaimiG9hT6x2/KwVrZQy+c2S8pOWQ1XVFjDxvzQma7pMsJ7srF6hUv617OOzAxg34IYM9oeHVZRtDM9wCYNFZbfeQuWKGxehVeJ5;
Domainkey-status: unknown
In-reply-to: <CCD822A2-B515-476B-8AD0-49655D41557B@verizon.net>
References: <4c8d6c440906290645r4a97bee0y2af0b236c3c5bfd8@mail.gmail.com> <0KM000B7SCF4YE21@vms169131.mailsrvcs.net> <CCD822A2-B515-476B-8AD0-49655D41557B@verizon.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
At 11:35 AM 6/29/2009, you wrote:

> At the very least it's got alternating row color built in and I want that to look Mac-ish.

Doing alternating colored rows is trivial. In cell background paint all you need to is:

Right, I was just "saying"...

Having a OOP way of composing a ListBox, which are very important, is something the CustomListBox does very well. And it is "pure" RB code, it's just more involved. I like having a pre-set ability to reuse code depending on what my ListBox requirements are. I have about 8-9 CustomCell classes, which do various things, including PopupMenu's, and the nice thing is that they look like PopupMenu's - they just don't drop a menu.

I liked Karens and Joe's suggestions, those are nice simple ways to do it.

* * * * * * * * * * * * * * * * * * * * * * * * * * *
| Garth Hjelte                                      |
| Customer Service Representative, President        |
| Chicken Systems, Inc, Rubber Chicken Software Co. |
| 714 5th Street SE                                 |
| Willmar, MN 56201 USA                             |
|                                                   |
| 800-8-PRO-EPS    Toll Free Order Line (US Only)   |
| 320-235-9798     Tech Support, Sampler Questions  |
|                  International Line               |
| 360-838-7689     Fax                              |
| Product Sales:   sales@chickensys.com             |
| Product Support: support@chickensys.com           |
| Sampler Q+A:     qa@chickensys.com                |
| Web Page:        www.chickensys.com               |
* * * * * * * * * * * * * * * * * * * * * * * * * * *


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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