PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV 24 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Creates a new Dockable Panel control in the current window.
Example
// Create a configuration with 2 panels on the left in a pane
PanelCreate("", dopaLeft, IW_PRODUCTLIST)
PanelCreate("", dopaLeft, IW_DETAILS)
// Create a Dockable Panel control
myPanelcontrol is Control
myPanelcontrol <- PanelCreate("", dopaLeft, IW_PRODUCTLIST)
// Create an empty Dockable Panel control
p is Control <- PanelCreate("p", dopaLeft)
p..Width = 200
// Adds a control in the Dockable panel control
b is Control <- ControlCreate(p..FullName+ ".b", typButton, 10, 20, 100, 24)
Syntax
<Result> = PanelCreate(<Title> , <Position> [, <Internal window> [, <Parameter 1> [... [, <Parameter N>]]]])
<Result>: Character string
Dockable Panel created.
<Title>: Character string
Title of the Dockable Panel created. If this parameter corresponds to an empty string (""), a title is automatically associated with the control created.
<Position>: Optional String constant (or combination of constants)
Describes the position of the Dockable Panel control.:
dopaBottomAttaches the Dockable Panel control to the bottom.
dopaRightAttaches the Dockable Panel control to the right.
dopaFloatingCreates a floating Dockable Panel control.
This constant is available from WINDEV 24 Update 1 only.
dopaLeftAttaches the Dockable Panel control to the left.
dopaTopAttaches the Dockable Panel control to the top.

The constants can be combined.
If the position is already occupied, the Dockable Panel control is added to the area and a pane is automatically created and displayed.
<Internal window>: Character string (with or without quotes)
Name of the internal window to use in the dockable panel. The size of the Dockable Panel control corresponds to the size of the window in the editor.
If this parameter is not specified, an empty dockable panel is created.
<Parameter 1>: Type corresponding to the parameter (optional)
First parameter that will be passed to the internal window. This parameter is passed to the process for declaring the global variables of internal window.
<Parameter N>: Type corresponding to the parameter (optional)
Nth parameter that will be passed to the internal window. This parameter is passed to the process for declaring the global variables of internal window.
Remarks
PanelCreate causes a non-fatal error is the position is invalid.
Component : wd240obj.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment