Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Different font sizes with TabControl & DatePicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Different font sizes with TabControl & DatePicker

 Post Reply Post Reply
Author
Message
daniel_r View Drop Down
Groupie
Groupie


Joined: 06 October 2009
Location: Germany
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote daniel_r Quote  Post ReplyReply Direct Link To This Post Topic: Different font sizes with TabControl & DatePicker
    Posted: 16 December 2009 at 4:41am
I want to increase the font size of my controls to help the visually impaired, but some controls have problems with that.


The TabControl does not increase the height of its buttons, i.e. the text is capped at the top and the bottom. If I increase the margins the buttons are higher, but still the font is capped on all but the selected tab.


When I increase the font of the DatePicker which btw. can only be done using the metrics event, the cells don't resize themselves and there's no way to manually increase the size of the cells.


How can I circumvent these problems?
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: 16 December 2009 at 5:40am
Hi,
 
Just tried
    TabControl.PaintManager.Font.Size = 20
    TabControl.SelectedItem = 2

in our SuteControls sample - work perfect for TabControl.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daniel_r View Drop Down
Groupie
Groupie


Joined: 06 October 2009
Location: Germany
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote daniel_r Quote  Post ReplyReply Direct Link To This Post Posted: 18 December 2009 at 4:50am
Thank you very much! I just tried TabControl.Font.Size, which didn't work.

What about the DatePicker control?
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: 21 December 2009 at 2:44am
Hi,
 
Yes, seems DatePicker doesn't have method to change it :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daniel_r View Drop Down
Groupie
Groupie


Joined: 06 October 2009
Location: Germany
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote daniel_r Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2009 at 2:58am
Does that mean, it currently does not have it or will this feature never be available?
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.