neo4a Posted July 30, 2019 Share Posted July 30, 2019 It is not possible to reflect carousel page to an specific TUnimSegmentedButton by setting .pressed property at runtime, e.g.: procedure TMainmForm.CarouselChange(Sender: TObject); begin AdjustButtons; end; procedure TMainmForm.AdjustButtons; begin segButtons.Items[0].Pressed := Carousel.ActivePage = pageStart; segButtons.Items[1].Pressed := Carousel.ActivePage = pageBlinds; segButtons.Items[2].Pressed := Carousel.ActivePage = pageOpens; end; Do I have to put some js script somewhere? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 30, 2019 Share Posted July 30, 2019 9 minutes ago, neo4a said: It is not possible to reflect carousel page to an specific TUnimSegmentedButton by setting .pressed property at runtime, e.g.: http://forums.unigui.com/index.php?/topic/12506-unimsegmentedbutton-set-button-pressed-programmatically/&do=findComment&comment=66556 Quote Link to comment Share on other sites More sharing options...
neo4a Posted July 30, 2019 Author Share Posted July 30, 2019 Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.