realbasic-nug
[Top] [All Lists]

Re: Combo box versus Container control and Paint

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Combo box versus Container control and Paint
From: Tom Buchler <tbuchler at kinnor dot com>
Date: Wed, 31 Aug 2005 20:26:47 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050831211204 dot 2EEC7D0F2F5 at lists dot realsoftware dot com>
Message: 3
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

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.


David: Thanks for the reply. I had thought of something like your suggestion, in my current project can make it workable, and will probably have to resort to something like this.

I'm fishing and hoping for something more elegant. Perhaps one of the RS insiders knows why when its list is displayed the built-in RB combo doesn't trigger a paint event on the control it is obscuring, and whether there is a way to achieve the same functionality from a container control.

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