00.Forums
Increase decrease font size in C# Window Application
Started by ranjith_chev at 08-07-2007 3:18 AM. Topic has 0 replies.
  Page 1 of 1 (1 items)

ranjith_chev
ranjith_chev
Added: 3:18 AM on 8/7/2007
Hi,

   I am writing an application that will have two buttons in the toolbar used to increase and decrease the font size in a windows forms application. I face many problems here.

    1. I need to set the Autoresize property of all controls to true before i could really change the font size.
    2. Some controls do not have the AutoResize property at all.
    3. For buttons an extra property needs to be set for icrease/decrease font to work properly. AutoSizeMode = GrowAndShrink

   Is there a way by which i can resize the size of the contrls automatically as i chagne the font size in a C# windows application.

Thanks in Advance
Ranjith

theSpoke.net » English Topics » Coding » Increase decrease font size in C# Window Application
© Copyright 2005 Microsoft Corporation. All Rights Reserved.
Terms of Use | Privacy Statement | Code of Conduct | Hosted by MaximumASP for Microsoft
WHO-BAR