PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
AttachPointEnd (Property)
 
..AttachPointEnd is used to find out and modify the position of the end attach point in a Wire control.
Ejemplo
StartAttachPointID is int
EndAttachPointID is int

Link_wire is Control

Link_wire <- ControlCreate("Link", typWire)


Link_wire..StartControl = IMG_Start
Link_wire..EndControl = IMG_End

StartAttachPointID = AttachPointAdd(IMG_Start, 100, 25))
EndAttachPointID = AttachPointAdd(IMG_End, 0, 75))

Link_wire..AttachPointStart = StartAttachPointID
Link_wire..AttachPointEnd = EndAttachPointID
Sintaxis

Finding out the position of the end attach point in a Wire control Ocultar los detalles

<Result> = <Control Name>..AttachPointEnd
<Result>: Integer or Integer constant
  • Identifier of the attach point if the attach point was customized. This identifier corresponds to the value returned by AttachPointAdd.
  • Constant corresponding to the position of the attach point (if this position was not customized).
    ptAutomatic
    (Default value)
    WINDEV automatically selects the best attach point.
    ptBottomCenterThe attach point is found in the middle of the bottom border of the control.
    ptTopCenterThe attach point is found in the middle of the top border of the control.
    ptMiddleRightThe attach point is found in the middle of the right border of the control.
    ptMiddleLeftThe attach point is found in the middle of the left border of the control.
<Control Name>: Character string (with or without quotes)
Name of the Wire control to use.

Modifying the position of the end attach point in a Wire control Ocultar los detalles

<Control Name>..AttachPointEnd = <New Value>
<Control Name>: Character string (with or without quotes)
Name of the Wire control to use.
<New Value>: Integer or Integer constant
This value can correspond to:
  • the identifier of the attach point returned by AttachPointAdd.
  • one of the following constants:
    ptAutomatic
    (Default value)
    WINDEV automatically selects the best attach point.
    ptBottomCenterThe attach point is found in the middle of the bottom border of the control.
    ptTopCenterThe attach point is found in the middle of the top border of the control.
    ptMiddleRightThe attach point is found in the middle of the right border of the control.
    ptMiddleLeftThe attach point is found in the middle of the left border of the control.
Observaciones
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario