PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
dopaFloatingCreates a floating Dockable Panel control.
dopaLeftAttaches the Dockable Panel control to the left.
dopaRightAttaches the Dockable Panel control to the right.
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>: Window name
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 "Global declarations" event of the 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 "Global declarations" event of the internal window.
Remarks
  • PanelCreate causes a non-fatal error if the position is invalid.
  • Parameters passed to the internal window: Parameters are retrieved in the "Global declarations" event of the internal window. Simply write the following line of code at the start of the event:
    PROCEDURE <Window name>(<Parameter1> [, <Parameter2> [, ...]])

    For more details, see Window with parameters.
Business / UI classification: UI Code
Component: wd280obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Video PanelCreate
https://youtu.be/QikBo22k-AM
https://windevdesenvolvimento.blogspot.com/2019/08/dicas-2259-windev-webdev-mobile-24.html
//
PanelCreate("Representante",dopaLeft,IW_REPRESENTANTE)
PanelCreate("Cliente",dopaRight,IW_CLIENTES)
PanelCreate("Informacoes",dopaTop,IW_INFORMACAO)
amarildo
23 Aug. 2019