Hello,
is there a way to set the sectionIndexColor from a TTMSFMXNativeUiTableView?
Thanks
Pieter
(Pieter)
2
Hi,
No this not possible unless you are creating a custom view with a label that will represent the header, but currently this is not supported.
Kind Regards,
Pieter
Hi,
thanks for replay.
Maybe there is a misunderstanding. I mean the color of the alphabetic-list (Options.LookUp).
Pieter
(Pieter)
4
The property is currently not exposed but to color the section indexes you can use the following code:
uses
MacApi.ObjcRuntime, MacApi.ObjectiveC, iOSApi.UIKit
....
implementation
var
p: Pointer;
begin
p := (TMSFMXNativeUITableViewMail1.TableView as ILocalObject).GetObjectID;
objc_msgSend(p, sel_getUid('setSectionIndexColor:'), TUIColor.OCClass.redColor);
Perfect! Thanks a lot, works fine.
Philip