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
Attaches or changes the attach position of a Dockable Panel control.
Ejemplo
// Create a configuration with 2 panels at the bottom, one next to the other
PanelAttach(DOPA_Left, dopaLeft)
PanelAttach(DOPA_Right, dopaTop + dopaRight)

// Create a configuration with 2 panels at the bottom in the same area 
PanelAttach(DOPA_Details, dopaRight)
PanelAttach(DOPA_Info, dopaRight)
Sintaxis
PanelAttach(<Dockable Panel control> [, <Reference Panel control>] [, <Position>])
<Dockable Panel control>: Control name
Name of the Dockable Panel control to use.
<Reference Panel control>: Optional control name
Name of the Dockable Panel control to be used as reference. If this parameter is specified:
  • the position set with the <Position> parameter will be relative to this control.
  • if the <Position> parameter is not specified, <Dockable Panel control> will be positioned in the same tab as <Reference Panel control>.
<Position>: Optional String constant (or combination of constants)
Describes the position where the Dockable Panel control should be attached:
dopaBottomAttaches the Dockable Panel control to the bottom.
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 in pairs, where a constant gives the Left/Right position and another gives the Bottom/Top position.
If this parameter is not specified and the control is a Dockable Panel control, it is attached to its last known position.
If the position is already occupied, the Dockable Panel control is added to the area and a pane is automatically created and displayed.
Observaciones
  • The position of the Dockable Panel control can be known using PanelPosition.
  • PanelAttach causes a non-fatal error if the position is invalid.
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
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

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