method Tab.Popup (X as Long, Y as Long, [Caption as Variant], [Options as Variant])
Floats the tab control to a popup window.

TypeDescription
X as Long A long expression that indicates the x coordinate of the floating window being created. The value is in screen coordinate. 
Y as Long A long expression that indicates the y coordinate of the floating window being created. The value is in screen coordinate.
Caption as Variant A string expression that indicates the caption of the floating window being created.
Options as Variant Not used. 

The Popup method creates a float window that hosts a TAB control. The position of the floating window is indicated by the X and Y values. The X and Y values are screen coordinates. The caption of the floating window is defined by the Caption parameter. Use the ClosePopup method to close the window created by the Popup method. Use the IsPopup property  to check whether the TAB control is hosted by a floating window created using the Popup method. Use the PopupVisible property to hide the floating window that hosts a TAB control.