realbasic-nug
[Top] [All Lists]

Re: Combo box versus Container control and Paint

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Combo box versus Container control and Paint
From: David Glass <dglass at graymattercomputing dot com>
Date: Wed, 31 Aug 2005 10:18:15 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050831133842 dot 5DA89D0CFE8 at lists dot realsoftware dot com> <4315BBD7 dot 1030209 at kinnor dot com>
Presumably you know whether the combo is being expanded or contracted, so set a flag indicating its state and use the flag to either process the Paint event or not. That's usually how I manage 'conditional event handling'. I would expect it to work with the Paint event as it does with other events.

On Aug 31, 2005, at 07:16, Tom Buchler wrote:

How do I prevent triggering of a Paint event when my container expands, but not when it collapses so that I can emulate the behavior of a RB combo; or how can I get images into an RB combo; or some other solution that I haven't thought of?

-Tom


--
David Glass - Gray Matter Computing
graymattercomputing.com - corepos.com
559-303-4915

Apple Certified Help Desk Specialist

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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