Jump to content

Caption in SegmentedButton


Recommended Posts

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

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

×
×
  • Create New...