Click to See Complete Forum and Search --> : Command button minimum height!


October 28th, 1999, 10:41 AM
My problem is such in VB 6.0: At design time, if the container object's scale mode is Twips, a command button can be sized as small as 135 by 135. However, if the command button is OLEdragdrop enabled and the container's dragdrop event contains a "source.move" , the button gets resized automatically! It becomes larger than it was (height becomes 175 instead of remaining at 135). This is a major problem because the button size must be 135 by 135. I understand that minimum heights are defined by the drivers, but then why can someone create a button sized 135 by 135 but only when it is moved does it resize larger? Any help would be appreciated because god knows MSDN is crap.

Thank-you