Copy the codeThe code is as follows:
["tpgSize"].Parent = null;
["tpgColor"].Parent = null;
The above code removes the two TabPags (tpgSize, tpgColor)e that were originally tabcontrol(tclMain)
Copy the codeThe code is as follows:
(tpgSize);
The above code adds the original tabpage (tpgSize) back