If you have a detail view on the TTMSFMXTableView you can see a back button in the Header.
I want to be able to use the look of this back button elsewhere in my program.
Is it a TMS button? Can I somehow use a style on a TButton? Other solution?
Regards,
Peter Evans
Hi,
Yes, the button is actually a TTMSFMXBarButton which has the back button layout and can be configured using the following code in the OnApplyStyleLookupEvent:
procedure TForm1.TMSFMXBarButton1ApplyStyleLookup(Sender: TObject);
begin
TMSFMXBarButton1.AllowCustomize := True;
TMSFMXBarButton1.Layout := slPointer;
TMSFMXBarButton1.Kind := bkBack;
end;
Thank you for that advice. I have now been able top make some of those buttons.
This should lead to a consistent User Interface.