How can I set the height of a ComboPopup (for use in a ComboCtrl)?
There's a GetHeight method, but no SetHeight one as far as I can tell.
I'm trying to dynamically re-set the height depending on number of
items in a vertical list. I can elaborate if need be.
Sorry, I dashed that off too fast. The method is GetAdjustedSize, not
GetHeight. The point is, I am looking for something like a
"SetAdjustedSize" method.
···
On Thu, Aug 26, 2010 at 1:20 PM, C M <cmpython@gmail.com> wrote:
Hi, list.
How can I set the height of a ComboPopup (for use in a ComboCtrl)?
GetAdjustedSize should be called before every popup of the ComboPopup, and the size of the popup is set to the value returned.
···
On 8/26/10 10:22 AM, C M wrote:
On Thu, Aug 26, 2010 at 1:20 PM, C M<cmpython@gmail.com> wrote:
Hi, list.
How can I set the height of a ComboPopup (for use in a ComboCtrl)?
Sorry, I dashed that off too fast. The method is GetAdjustedSize, not
GetHeight. The point is, I am looking for something like a
"SetAdjustedSize" method.
Thanks, Robin. That's how I'd hoped it worked, but it wasn't working
and I thought I was missing something--but now, reassured that it
should work, I saw that my issue was just an unrelated mistake.
Che
···
On Thu, Aug 26, 2010 at 3:17 PM, Robin Dunn <robin@alldunn.com> wrote:
On 8/26/10 10:22 AM, C M wrote:
On Thu, Aug 26, 2010 at 1:20 PM, C M<cmpython@gmail.com> wrote:
Hi, list.
How can I set the height of a ComboPopup (for use in a ComboCtrl)?
Sorry, I dashed that off too fast. The method is GetAdjustedSize, not
GetHeight. The point is, I am looking for something like a
"SetAdjustedSize" method.
GetAdjustedSize should be called before every popup of the ComboPopup, and
the size of the popup is set to the value returned.