By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,543 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,543 IT Pros & Developers. It's quick & easy.

Change MonthCalendar control size in VB.NET 2003

P: n/a
RG
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
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
RG wrote:
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
Nov 21 '05 #2

P: n/a
RG
That works. THanks.
--
RG
"RG" wrote:
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

Nov 21 '05 #3

P: n/a
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.

"beaker" wrote:
RG wrote:
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
Sep 8 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.