364,112 Members | 2191 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Change MonthCalendar control size in VB.NET 2003

RG
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


beaker
P: n/a
beaker
RG wrote:[color=blue]
> 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.[/color]

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

RG
P: n/a
RG
That works. THanks.
--
RG


"RG" wrote:
[color=blue]
> 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[/color]
Nov 21 '05 #3

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

Post your reply

Help answer this question



Didn't find the answer to your Visual Basic .NET question?

You can also browse similar questions: Visual Basic .NET