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

TTMSFMXNativeNSTableView selection color

 Post Reply Post Reply
Author
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 Topic: TTMSFMXNativeNSTableView selection color
    Posted: 08 Mar 2017 at 8:33am
Can be turned on and off with TMSFMXNativeNSTableView1.TableView.setUsesAlternatingRowBackgroundColors(True);
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: 07 Mar 2017 at 5:17pm
Ok, what about the alternating row color?
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: 02 Mar 2017 at 9:25am
Hi, 

Only the SelectionHighlightStyle can be used to change the color of the selection. The colors itself are following the operating system default colors.

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: 01 Mar 2017 at 9:44pm
How do you set the selection color?

I've tried using 

 
TMSFMXNativeNSTableView1.Options.Appearance.BackGroundColor := TAlphaColor(claLightGray);
TMSFMXNativeNSTableView1.Options.Appearance.GridColor := TAlphaColor(claLightGray);

I've also played around with  

TMSFMXNativeNSTableView1.Options.Appearance.SelectionHighlightStyle := hsTableViewSelectionHighlightStyleRegular;
TMSFMXNativeNSTableView1.Options.Appearance.SelectionHighlightStyle := hsTableViewSelectionHighlightStyleNone
TMSFMXNativeNSTableView1.Options.Appearance.SelectionHighlightStyle := hsTableViewSelectionHighlightStyleSourceList;
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down