Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Monday, October 24, 2011

Combo box dropdown failure

A combo box won't drop down unless the vertical size you gave it includes enough space for (a) the edit box bit and (b) at least one row (?) of the drop-down bit.

So if you're using, say, a constant YHIGH for controls with one line of text, your combo box height should be in the region of YHIGH * number of lines to show in the drop down. Don't worry, it won't expand the edit box bit to take up all that space.

(Thanks to this post)

Followers

Blog Archive