Hi How can i change the TUITableView Header and Footer section background colour?
When i tried this
l_sect := TableView.Sections.add; l_sect.Header.BackgroundColor := TAlphaColors.Blue;
TableView.refreshNeeded;
When i run the application, the section header background colour still remain as grey
Please advise
thanks chris
Hi Chris
You must be set section kind to custom:
DPFUITableView1.Sections[0].Header.Kind := TDPFTableHeaderFooterKind.kCustom;
Regards
hi babak
How can i create the rounded corners like in your example of TableView3? I can't do it at run time. Please advise
usually do it by having the main view with rounded corners, and laying other views inside.
hi Gordon. Seems like i have to look into the UITableView3 example.
Thanks chris
Use grouped table:
SET DPFUITableView1.Options.ViewStyle = tvsGrouped
Log in to post a comment.
Hi
How can i change the TUITableView Header and Footer section background colour?
When i tried this
l_sect := TableView.Sections.add;
l_sect.Header.BackgroundColor := TAlphaColors.Blue;
TableView.refreshNeeded;
When i run the application, the section header background colour still remain as grey
Please advise
thanks
chris
Hi Chris
You must be set section kind to custom:
Regards
hi babak
How can i create the rounded corners like in your example of TableView3? I can't do it at run time.
Please advise
thanks
chris
usually do it by having the main view with rounded corners, and laying other views inside.
hi Gordon.
Seems like i have to look into the UITableView3 example.
Thanks
chris
Hi Chris
Use grouped table:
SET DPFUITableView1.Options.ViewStyle = tvsGrouped
Regards