RectControl.PanelIndex Property
Syntax
PanelIndex as Integer
Gets or sets the control's panel index for moving controls on to, or off of, a specific panel on a TabPanel or PagePanel. This property is 0-based, with 0 being the first panel.
A -1 means no panel.