Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - SOLVED: Cell Height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Cell Height

 Post Reply Post Reply
Author
Message
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Cell Height
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2009 at 12:17pm
Look at CalendarThemeFormulaMulDivC object.
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.