Added controls always default to Tab1 parent
Posted: Thu Jul 03, 2014 3:53 pm
When a control is added to any Tab other than Tab1, the parent Tab property of the control always has a Tab 1 value
To see it
1) Create a new form
2) Put a panel on it
3) Create a new Tab2
4) Select Tab2 to be the active one
5) Put a button on Tab2
6) Select Button Parent property in Layout window and a dialog appears
7) The control Tab parent showed in the dialog is always Tab1 instead of Tab 2
The same to Tab x
If then the Tab control value is changed to Tab1 in the dialog, the button is reallocated to the upper left corner of the panel.
Can it keep the position instead of going to a (0,0) position after changing the new parent Tab value?
To see it
1) Create a new form
2) Put a panel on it
3) Create a new Tab2
4) Select Tab2 to be the active one
5) Put a button on Tab2
6) Select Button Parent property in Layout window and a dialog appears
7) The control Tab parent showed in the dialog is always Tab1 instead of Tab 2
If then the Tab control value is changed to Tab1 in the dialog, the button is reallocated to the upper left corner of the panel.
Can it keep the position instead of going to a (0,0) position after changing the new parent Tab value?