473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Change MonthCalendar control size in VB.NET 2003

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
3 10968
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sharon | last post by:
is there any way I can make the monthcalendar control show Hebrew date's ? thank you Sharon .
1
by: Trevor | last post by:
When the year in the monthcalendar control is decremented the whole year is selected between the currently select date and the newly chosen date. However this highlighting behavior does not occur...
4
by: active | last post by:
It appears to me that if I change the Control's client size the controls size does not change to agree with the new size. Does it work like the VB6 ScaleWidth and ScaleHeight? That is after I...
4
by: Lisa Jones | last post by:
Hi Can someone tell me How do you get selected date form MonthCalendar control Thanks so muc Lisa
8
by: vbmark | last post by:
I want the MonthCalendar control to return the single day selected. I have MaxSelectionCount = 1. What I get back though is this: "SelectionRange: Start: 5/5/2005 12:00:00 AM, End: 5/5/2005...
3
by: gv | last post by:
Hi all, Using VB Express 2005 How do I get the day of the first day of the month using the MonthCalendar control. so if the MonthCalendar control is set to the systems date. thanks
2
by: Al_C | last post by:
Hi, Have an app where the user wants to pull up data for selected dates. The monthcalendar control is ideal for that, but the problem I have is that there may not be data for all dates. I'd...
0
by: CharlieC | last post by:
I seem to have an issue with the MonthCalendar control. When I click on the year, to change the year, the dates not not seem to redraw properly, especially if I go back in time. All seems Ok if I...
1
by: siri11 | last post by:
hi!!!!!! Can any one please suggest me how to change the location of a panel (i.e. X and Y positions) at run time.And also how to change the size of a panel (width and height) at run time.Please...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.