asapltda Posted November 12, 2018 Share Posted November 12, 2018 I have a TUnimTabPanel, with two (2) TUnimTabSheet, I have a button on the TUnimTabSheet1, which performs a process and by code I select the TUnimTabSheet2, using UnimTabPanel1.ActivePage: = TUnimTabSheet2, it works fine. But if I go back to TUnimTabSheet1 and press the button again, the process is executed but TUnimTabSheet2 is not shown, what can I do to solve this. thanks for your help Link to comment Share on other sites More sharing options...
Sherzod Posted November 12, 2018 Share Posted November 12, 2018 Hi, Please, make a simple testcase to reproduce Link to comment Share on other sites More sharing options...
asapltda Posted November 13, 2018 Author Share Posted November 13, 2018 The problem appears when: the person selects a TUnimTabSheet by pressing the header of the TUnimTabSheet, the button on the selected sheet that uses PageControl1.ActivePage: = tbsNoCode is disabled. ---- The temporary solution is to place a Change event in TUnimTabPanel and it is not necessary to place code you must place a comment for the event to remain,, I think the problem is that TUnimTabPanel is not updated when using the tabsheet header to navigate. Mainm.dfm Mainm.pas TUnimTabPanelPry.res Link to comment Share on other sites More sharing options...
Sherzod Posted November 13, 2018 Share Posted November 13, 2018 Ok, we will check this issue It would be better if you attached a full test case Link to comment Share on other sites More sharing options...
Recommended Posts