Hello, I'm using a TGTab in the constructor my class which is derived from TGMainFrame, like: TGTab *tab = new TGTab(this, 1, 1); tab->AddTab("Tab"); tab->Move(100, 100); tab->Size(150, 150); AddFrame(tab); But it appears in the upper left corner (only the tab itself is visible). I tried to use TGLayoutHints to tell the Tab to have the size and position I wanna have. But either nothing changed, or the tab filled the whole window. I also tries using kFixedSize in the constructor of TGTab as 'option' like I did for a TGFrame to get the expected behaviour, but no change. How can I get the expected (have it at position 100/100 with a size of 150/150) behaviour? Regards, Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET