Jump to content


Photo

Caption in SegmentedButton


  • Please log in to reply
2 replies to this topic

#1 Alfredo D'Agostino

Alfredo D'Agostino

    Member

  • uniGUI Subscriber
  • PipPip
  • 10 posts

Posted 03 July 2017 - 06:09 AM

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
 
 

 


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3480 posts

Posted 03 July 2017 - 09:42 AM

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,


  • 0

#3 Alfredo D'Agostino

Alfredo D'Agostino

    Member

  • uniGUI Subscriber
  • PipPip
  • 10 posts

Posted 04 July 2017 - 05:21 AM

It works...
Thanks Farshad
I wish you a good day

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users