TTMSFMXSlider

How can I change the States text to be other than on/off?

Thanks,

Ken

The text can be changed with the following code:


procedure TForm1.TMSFMXSlider1ApplyStyleLookup(Sender: TObject);
begin
  (TMSFMXSlider1.GetOnElement.FindStyleResource('ontextelement') as TText).Text := 'hello';
  (TMSFMXSlider1.GetOffElement.FindStyleResource('offtextelement') as TText).Text := 'world';
end;

Kind Regards, 
Pieter

Thanks, I wouldn't have guessed that one :)

Ken