Frederick Posted October 26, 2019 Share Posted October 26, 2019 When I issue a TUniPageControl.SelectNextPage(True) call, the next TUniTabSheet is not changed to. How do I get the control to respond to this method? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1511) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2019 Share Posted October 27, 2019 4 hours ago, Frederick said: When I issue a TUniPageControl.SelectNextPage(True) call, the next TUniTabSheet is not changed to. How do I get the control to respond to this method? I will open a ticket in the support portal. You can try to use this approach for now: procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniPageControl1 do begin SelectNextPage(True); JSInterface.JSCall('tabPanel.setActiveTab', [ActivePage.JSControl]); end; end; Quote Link to comment Share on other sites More sharing options...
Frederick Posted October 27, 2019 Author Share Posted October 27, 2019 Ok, thanks. I will use the workaround for now. 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.