WHy does this happen? Control Placment
Posted on 2002-03-19
I start a new project
then draw an sstab control on the form.
I then select the second Tab of the tab control. (ie current tab = 2)
then I draw 2 command buttons on the tab control.
I stick the followig code in the from resize event of Form1.
SSTab1.Width = Form1.Width
Command1.Width = SSTab1.Width / 2
Command2.Left = Command1.Width
when the programme is executed
all seems well, the two command button can we seen when you select the second tab.
select the first tab
then resize the form
the command2 button shows up on the first tab.
It seem to have 'fallin out' of the tab container.
Why does this happen?
Any hhelp greatly appericated