Winforms resizing based on screen size
-
Many years in the past I used a product VBGold Resizer. It worked extremely well for all of my VB6 forms. You could drop the tool on the form and it would handle the rest. It really helps with productivity. Went to their website and their control for Dot Net runs on net 3.5. only. I am looking for a product that does the same things but works with the latest versions of Dot.Net If you know of one, or a book on how to accomplish this in code (Identifying the screen size, Resolution, component size and adjusting them all automatically), please let me know.
ed
-
Many years in the past I used a product VBGold Resizer. It worked extremely well for all of my VB6 forms. You could drop the tool on the form and it would handle the rest. It really helps with productivity. Went to their website and their control for Dot Net runs on net 3.5. only. I am looking for a product that does the same things but works with the latest versions of Dot.Net If you know of one, or a book on how to accomplish this in code (Identifying the screen size, Resolution, component size and adjusting them all automatically), please let me know.
ed
Not quite what you are looking for maybe, but in this CodeProject example you can see a simple way for resizing a form depending on the font size: RoundedButton Control - Demystifying DrawArc[^]
// Scale form, AutoScaleMode.Font must be set for this to work.
this.Font = new Font(this.Font.Name, this.Font.Size + 2);I tried many complicated examples which did not work, but this simple way works for me.
-
Not quite what you are looking for maybe, but in this CodeProject example you can see a simple way for resizing a form depending on the font size: RoundedButton Control - Demystifying DrawArc[^]
// Scale form, AutoScaleMode.Font must be set for this to work.
this.Font = new Font(this.Font.Name, this.Font.Size + 2);I tried many complicated examples which did not work, but this simple way works for me.
Thank you.
ed
-
Not quite what you are looking for maybe, but in this CodeProject example you can see a simple way for resizing a form depending on the font size: RoundedButton Control - Demystifying DrawArc[^]
// Scale form, AutoScaleMode.Font must be set for this to work.
this.Font = new Font(this.Font.Name, this.Font.Size + 2);I tried many complicated examples which did not work, but this simple way works for me.
thanks for your great input. :rose: I saved your link for my use.
diligent hands rule....