Change MonthCalendar control size in VB.NET 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing.Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.
 
RG said:
For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing.Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.

I just had a quick look, and in the form designer I could drag the
calendar to resize it, giving me more months on display.

Do you want just one month on display at large size? I got this to
work ok just by changing the font size - hte control resized itself
to display the larger font.

Any of this help?

Gary
 
Working in VB2005, the MonthCalendar.Font.Size property is "ReadOnly" at
runtime and cannot be changed. Therefore I cannot "resize" the MonthCalendar
control at runtime by changing the font size.

I need to make the calendar display one month, but in a larger size to fill
a TableLayoutPanel.

Increasing the font size of calendar at design time makes the calendar a
larger size, but it appears this is not allowed at runtime.

Can someone please give me some help concerning this matter?

Thanks in advance for your time.
 
Back
Top