Alfredo D'Agostino Posted July 3, 2017 Share Posted July 3, 2017 Good morning Farshad I have encountered a problem with the SegmentedButton. I have two SegmentedButtons on a form, the first allows me to edit the Caption, the second the editing of the caption has no effect. On the first caption they are modified after creating the form. On the second, the caption is changed after selecting a customer from another form. Clear spells were clear Greetings Alfredo D'Agostino Link to comment Share on other sites More sharing options...
Sherzod Posted July 3, 2017 Share Posted July 3, 2017 Hi, Can you try this approach for now ?!: procedure TMainmForm.UnimButton6Click(Sender: TObject); begin // for example for the second item, itemIndx - zero based UnimSegmentedButton1.JSInterface.JSCall('getAt(1).setText', ['NewText']); end; Best regards, Link to comment Share on other sites More sharing options...
Alfredo D'Agostino Posted July 4, 2017 Author Share Posted July 4, 2017 It works... Thanks Farshad I wish you a good day Link to comment Share on other sites More sharing options...
Recommended Posts