AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Panel acoplable
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Creates a new Dockable Panel control in the current window.
Ejemplo
// 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)
Sintaxis
<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 to 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 to be passed to the internal window. This parameter is passed to the "Global declarations" event of the internal window.
Observaciones
  • PanelCreate causes a non-fatal error if the position is invalid.
  • Parameters passed to 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.
Clasificación Lógica de negocio / UI: Código UI
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 24
Esta página también está disponible para…
Comentarios
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 08 2019

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local