Hi Guys,
your answers are great.You helped me a lot.
now, I have a minor problem. I have a different page control with a Tab called 'maintenance'.
the code (as you recommended) is:
TGroupBox* Group = new TGroupBox(MainForm);
Group->Parent = MainForm->maintenance;
Group->Width = 600 ;
Group->Height = nHeight;
Group->Left = 32;
Group->Top = nTop;
Everytime after this code is executed (I think the second line but I'm not sure), When I click on this Tab( only this and not other), the GUI Freezes and I have to close it brutally.
Any Ideas?
your answers are great.You helped me a lot.
now, I have a minor problem. I have a different page control with a Tab called 'maintenance'.
the code (as you recommended) is:
TGroupBox* Group = new TGroupBox(MainForm);
Group->Parent = MainForm->maintenance;
Group->Width = 600 ;
Group->Height = nHeight;
Group->Left = 32;
Group->Top = nTop;
Everytime after this code is executed (I think the second line but I'm not sure), When I click on this Tab( only this and not other), the GUI Freezes and I have to close it brutally.
Any Ideas?