• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

VB.net Windows Form suddenly expanded

Hi

I have a Windows form in my VB.net Excel add-in that seems to be sizing differently after I changed the font then changed it back to the original. It seems to be some sort of bug.
Has anyone experienced forms resizing like this?
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Luis PérezSoftware Architect in .NetCommented:
If the Form's AutoScaleMode property is set to "Font", then the form will resize every time you change the form's font.

Check this MSDN help topic to learn more:
http://msdn.microsoft.com/en-us/library/ms229605.aspx

Hope that helps.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now