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 Editor de diagramas / Tipos de variables
  • Propiedades específicas de las variables de tipo diagGroup
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
diagGroup (Tipo de variable)
 
El tipo diagGroup se utiliza para definir todas las características avanzadas de un grupo de formas en un control Editor de diagramas. Puede definir y cambiar las características de este grupo utilizando diferentes propiedades de WLanguage.
Nota: Para obtener más información sobre la declaración de este tipo de variable y el uso de propiedades WLanguage, consulte Declarar una variable.
Ejemplo
//Info(DIAGEDT_MyDiagram.Size)
 
MyShape1 is diagRectangle
MyShape1.X = 100
MyShape1.Y = 100
MyShape1.Width = 50
MyShape1.Height = 50
MyShape1.Background.Color = PastelRed
 
MyShape2 is diagOval
MyShape2.X = 250
MyShape2.Y = 100
MyShape2.Width = 50
MyShape2.Height = 50
MyShape2.Background.Color = PastelRed
 
// Reference the displayed diagram
MyDiagram is Diagram <- DIAGEDT_DIAGRAM
 
MyGroup is diagGroup
MyGroup.Shape.Add(MyShape1)
MyGroup.Shape.Add(MyShape2)
 
Add(MyDiagram.Shape, MyGroup)
Propiedades

Propiedades específicas de las variables de tipo diagGroup

Note: The diagGroup type inherits from the diagShape type, all the properties of the diagShape type are available for the diagGroup. These properties appear in italics in the list below.
Las siguientes propiedades pueden utilizarse para tratar una forma de tipo diagGroup:
Nombre de la propiedadTipo utilizadoEfecto
ActionAlloweddiagActionAllowed or constant
  • diagActionAllowed variable used to define the changes the user can make to the shape.
  • constant diagActionNo: no action will be allowed on the form.
  • Constant diagActionToute (default value): all possible actions will be allowed on the shape.
AngleRealAngle of rotation of the shape (in degrees).
BackgroundConstant, integer or ColorBackground color of the shape.
The Color property is used to define the background color of the shape.
Esta propiedad puede corresponder a:
  • un color RGB (devuelto por la función RGB),
  • un color HSL (devuelto por la función HSL),
  • un color predefinido de WLanguage.
  • una variable de tipo Color. En este caso, se tiene en cuenta la opacidad especificada en la variable.
BorderdiagBorderCharacteristics of the shape border.
The available properties are:
  • Color: border color.
  • Thickness: edge thickness.
  • Type: type of border.
CommentCharacter stringNote about the shape. This note is not displayed.
ConnectionPointArray of diagConnectionPointList of connection points of the shape.
Novedad versión 2025
Extra
VariantPermite almacenar información avanzada sin afectar la ejecución de la aplicación. Puede almacenar valores de cualquier tipo (array, etc.). También es posible agregar miembros a la propiedad Extra.
Ejemplo:
MyVariable.Extra.Info1 = Value
MyVariable.Extra[Info2] = Value2
MyVariable.Extra.Date = DateSys()
FormaArray de diagShapeFormas en el grupo.
HeightRealHeight of the box that contains the shape before rotation or zoom, expressed in pixels.
NameCharacter stringShape name. This name will be used for searching, for example, if the shape is in a library.
NoteCharacter stringNote associated with the shape.
OpacityIntegerPercentage of opacity of the shape. This value ranges from invisible (0) to completely opaque (100).
ShadowBoolean
  • True if the shape has a shadow,
  • False otherwise.
TextdiagTextText (with formatting) inside the shape.
WidthRealWidth of the box that contains the shape before rotation or zoom, expressed in pixels.
XReal X-coordinate of the box that contains the shape before rotation or zoom, expressed in pixels. This X-coordinate is relative to the parent of the shape.
YReal Y-coordinate of the box that contains the shape before rotation or zoom, expressed in pixels. This Y-coordinate is relative to the parent of the shape.
Ver también
Versión mínima requerida
  • Versión 27
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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