C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Calendar looks really strange...

rated by 0 users
This post has 12 Replies | 2 Followers

Top 500 Contributor
Posts 15
camainc2 Posted: Mon, Jun 23 2008 2:05 PM

The dropdown calendar on my c1DateEdit control looks strange. It is very narrow, and the margins are very close. I haven't set any formatting at all - just dropped it on a form. It does not look like the calendars in the help file.

How do I fix this? I would post a screen shot but I don't see any way to do that.

Top 10 Contributor
Posts 1,090
C1_JohnAd replied on Tue, Jun 24 2008 12:11 AM
Hello,
 
You can provide the screenshot as an attachment. In case you are unable to do so,
you may send in your query directly to our ComponentOne Technical Support team
 
You may also use our online web submission form on our website using the given web link.
This will require a login account on our website.
 
 
I would request you to mention the exact build number of the control along with details
of development environment.
 
Regards,
 
Allen Smith
<camainc2> wrote in message news:206310@10.0.1.98...

The dropdown calendar on my c1DateEdit control looks strange. It is very narrow, and the margins are very close. I haven't set any formatting at all - just dropped it on a form. It does not look like the calendars in the help file.

How do I fix this? I would post a screen shot but I don't see any way to do that.



http://helpcentral.componentone.com/cs/forums/p/75658/206310.aspx#206310

Top 500 Contributor
Posts 14
RobertL replied on Tue, Jun 24 2008 8:10 AM

Hi,

 I got the same issue with the latest c1DateEdit (V. 2.0.20082.33212). I found this is a designer issue: there are stored only very few properties for the calendar in the Designer-generated code (DayNameLength, DayNamesFont, Font, TitleFont, VisualStyleBaseStyle)

Hope for a quick fix - thanks!

 Regards

Robert


 

Top 500 Contributor
Posts 14
RobertL replied on Tue, Jun 24 2008 8:32 AM

Just found a simple workaround: Open the Calendar Property of the C1DateEdit control in the designer and set the VisualStyle property of the Calendar (not the C1DateEdit!) - then obviously the designer code is updated and the appearance is ok.

Setting the VisualStyle property is necessary twice sometimes I found; the first time some colors of the Calendar are set; the second time the properties are set according to the selected style (e.g. Office2007Blue).

hth,

Regards

Robert

 

Top 500 Contributor
Posts 15

I tried the work-around mentioned above, but it did not work for me. I have attached a screenshot of how the calendar looks when I drop the control onto a form and do not set any properties.

The version is 2.0.20073.33104.

I sure hope there is a quick fix for this!

Top 25 Contributor
Posts 477
Hi,

the layout problems on your screenshot are fixed in the 2008.2 build (but this
still has problems).

Best regards

Wolfgang Knauf
Not Ranked
Posts 4
Hi, I downloaded the latest version of "Studio for .Net" yesterday (C1Input DLL version 2.0.20091.33227) and it is still too narrow. How can I widen the calendar so that it looks like the C1dateEdit control that we are replacing? The attachment shows (on the left ) our existing control and (on the right) the new one. My goal is for the one on the right to look like the one on the left. Is this possible? Thanks, Dave.
Top 25 Contributor
Posts 477
Hi,

I think my last post was a bit confusing: with "fixed layout problems" I meant
the missing left/right button icons, not the width of the control.

You might try to change the width yourself:
this.c1DateEdit.Calendar.Width = ...;

I didn't try this myself, but hopefully it works.

Wolfgang
Not Ranked
Posts 4
Wolfgang, Thanks for taking an interest. In the attachment you can see what happened when I altered the DropDownOpened event. In it I doubled the calendar width: c1DateEdit2.Calendar.Width = c1DateEdit2.Calendar.Width * 2; but all it does is push the date to the right. Does anyone from C1 care to offer some advice? Thanks, Dave.
Top 25 Contributor
Posts 477
Hi Dave,

create a sample and report this to C1 support. This forum is rarely watched, and
the C1 guys will not do more than telling you the same as me ;-).

Best regards

Wolfgang
Top 100 Contributor
Posts 54
saint168 replied on Mon, May 11 2009 4:20 PM
We also have the same problem. We are using C1Input version 2.0.20091.33227. BTW, I submitted a support request to C1.
Not Ranked
Posts 3

Using v 2.0.20091.33227.  This control is REALLY messed up. 

Found a partial workaround to its ugliness:

The WORST of the problem is that the drop-down calendar subcontrol is extremely narrowed ... In the current version, the default DayNameLength is 2; in prior editions, it appears to have been 3.  I reset the DayNameLength to 3 and the control looks better.  NOT good, but better than before.

Setting the width does not work ... as far as I can see, the Calendar.Width is NOT available to set.

Is there any way to set the background of the "Today" box so that it is more visible?

Another problem:  if you set the VisualStyle to one of the three Office2007-based syles, it looks better than the "System" style -- but there is a significant gap between the 6th and 7th day colums (between Friday and Saturday for me).  If you set the VisualStyle to one of the Office2007 styles, compile, then set the VisualStyle to "Custom" (but do nothing else!) that gap goes away.

Yet another problem: When I tried to set properties such as the TitleForeColor and TitleBackColor on a "custom" style based on the Office2007 styles, my changes were ignored.

Not Ranked
Posts 4
artie11 replied on Fri, Aug 21 2009 11:18 AM

Has anyone figured out a solution to this yet?

I just installed the latest Input build (2.0.20092.33232) and it still appears strange.

Page 1 of 1 (13 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.