Returns the name of current static or dynamic pane found in a Tab control associated with a control.
Remark: For the dynamic tab panes, this function can be used in the code of internal window to find out the name of associated tab pane.
// Click on "BTN _New" button
MyPane is Control
MyPane <- ControlPane(MySelf)
MyPane.Caption = "New document.txt"
Syntax
<Result> = ControlPane(<Control>)
<Result>: Character string
- Name of tab pane to which the control belongs (alias).
- "" (empty string) if the <Control> is not a tab pane.
<Control>: Control name
Name of control found in a static or dynamic pane of Tab control.