Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TTMSFMXNativeNSTableView header font

 Post Reply Post Reply
Author
Brent Shelton View Drop Down
New Member
New Member
Avatar

Joined: 24 Feb 2015
Posts: 30
Post Options Post Options   Quote Brent Shelton Quote  Post ReplyReply Direct Link To This Post Topic: TTMSFMXNativeNSTableView header font
    Posted: 13 May 2017 at 5:52pm
I want to be able to set the tableview's font, font size, cell height

I've tried the below but it isn't working

var
  ft : NSFont;
begin
  ft := TNSFont.Wrap(TNSFont.OCClass.fontWithName(NSStr('Copperplate'), 12));
 TNSTableHeaderCell.Wrap(TableView1.Columns[1].GetTableColumn.headerCell).setFont(ft);
Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3302
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2017 at 10:02am
Hi, 

To change the appearance of the header, you should use the OnGetHeaderAppearance event.
Back to Top
Brent Shelton View Drop Down
New Member
New Member
Avatar

Joined: 24 Feb 2015
Posts: 30
Post Options Post Options   Quote Brent Shelton Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2017 at 2:02pm
There isn't a OnGetHeaderAppearance event in mCL Tableview is there?
Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3302
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2017 at 2:16pm
Sorry, for mCL this is currently not possible. We'll investigate how this can be achieved.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down