![]() |
SOLVED: Cell Height |
Post Reply ![]() |
Author | |
AndyWilton ![]() Groupie ![]() ![]() Joined: 03 June 2008 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Look at CalendarThemeFormulaMulDivC object.
|
|
![]() |
|
AndyWilton ![]() Groupie ![]() ![]() Joined: 03 June 2008 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
In VB it will look like
CalendarControl.Theme.DayView.TimeScale.HeightFormula.Constant = 23
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
AndyWilton ![]() Groupie ![]() ![]() Joined: 03 June 2008 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
AndyWilton ![]() Groupie ![]() ![]() Joined: 03 June 2008 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
AndyWilton ![]() Groupie ![]() ![]() Joined: 03 June 2008 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |