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: Karen <keatk@verizon.net>
Date: Mon, 29 Jun 2009 12:35:43 -0400
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
Delivered-to: listarchive@realsoftware.com
In-reply-to: <0KM000B7SCF4YE21@vms169131.mailsrvcs.net>
References: <4c8d6c440906290645r4a97bee0y2af0b236c3c5bfd8@mail.gmail.com> <0KM000B7SCF4YE21@vms169131.mailsrvcs.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Jun 29, 2009, at 10:50 AM, Rubber Chicken Software Co. 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:

If Not me.Selected(row) Then
  If row Mod 2 = 0 then
    g.forecolor  = color1
  Else
    g.forecolor  = color2
  End if
  g.FillRect 0,0, g.Width, g.height
  Return True
End If

- Karen

_______________________________________________
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>