Print Page | Close Window

SOLVED: Cell Height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=13084
Printed Date: 01 July 2024 at 2:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Cell Height
Posted By: AndyWilton
Subject: SOLVED: Cell Height
Date Posted: 06 January 2009 at 10:40am

Hi All,

Can anybody think of a way to change the display height of a Calendar Cell?

Regards,

Andy



-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton



Replies:
Posted By: SuperMario
Date Posted: 06 January 2009 at 12:17pm
Look at CalendarThemeFormulaMulDivC object.


Posted By: AndyWilton
Date Posted: 09 January 2009 at 11:18am
Hi,
 
I'm struggling to actually get the object.  In Clarion, to get an object, you would use something like:-
 
?OLE{PROP:Create} = 'Codejock.CalendarGlobalSettings.12.1.1'
lvGlobalObj = ?OLE{PROP:OBJECT}
or
 
?OLE{PROP:Create} = 'Codejock.CalendarDialogs.12.1.1'
lvDialogObj = ?OLE{PROP:OBJECT}
 
but if I use:-
 
?OLE{PROP:Create} = 'Codejock.CalendarThemeFormulaMulDivC.12.1.1'
lvFormulaObj = ?OLE{PROP:OBJECT}
 
I'm not getting anything, any ideas?
 
Regards,
 
Andy


-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton


Posted By: Oleg
Date Posted: 09 January 2009 at 4:02pm
In VB it will look like
 
CalendarControl.Theme.DayView.TimeScale.HeightFormula.Constant = 23


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: AndyWilton
Date Posted: 12 January 2009 at 6:18pm
Excellent, that did the trick - many thanks!
 
Just a quick question though, I'm trying to make the cell height quite small but the minimum height seems to be limited to the font size of the hour digits.
 
I've tried reducing the font size, but although I can reduce the size of the minute digits, I can't reduce the hour digits - any ideas.
 
Thanks in advance,
 
Regards,
 
Andy


-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton


Posted By: AndyWilton
Date Posted: 15 January 2009 at 10:14am
Hi,
 
I'm still have trouble getting the cell size to go very small.  I have accomplished it once in a test app, but cannot recreate it.
 
There must be other settings that are taken into account when calculating a minimum height - can you tell me what other factors are taken into account.
 
Regards,
 
Andy


-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton


Posted By: AndyWilton
Date Posted: 15 January 2009 at 11:47am
Found It!!!!
 
I'd changed loads of different settings including Theme.BaseFont.Size but forgot to change the Theme.BaseFontBold.Size and this was acting as a minimum value.
 
Regards,
 
Andy


-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net