[VBA - UserForm] Weird change of font size when changing Top proprierty by 1 RRS feed

  • Question

  • Hi,

    I noticed several times in formatting my UserForms that if I align my controls (mainly label or textbox, but maybe also others) in a column and then I decide to move one of the control a little up or down by 1pt (top propriety) the font size get scaled by 1 pt either, if the I move the control by 2pt the previous (corect) size come back.

    That is not a big problem when desiging manually, but when the layout is decided at run time may have a sligth unpleasent effect.

    Did you ever notice that? And do you have an explications/solution?

    Thanks, Lauro

    Monday, April 30, 2012 8:18 AM

All replies

  • I used to notice the same thing, and If I remember correctly the solution was to always use multiple of 3 when re-sizing controls on the userform. For some reason, when I did that, the display was always fine.

    Monday, April 30, 2012 2:45 PM