AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Editor de diagramas
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
DiagramGroup (Function)
In french: DiagrammeGroupe
Creates a group from the elements selected in the Diagram Editor control.
Example
// Create a group from the selected elements
IF DiagramGroup(DIAGEDT_MyDiagram) THEN
ToastDisplay("Group created. To undo, press Ctrl+Z.")
END
Syntax
<Result> = DiagramGroup(<Diagram>)
<Result>: Boolean
  • True if the group has been created,
  • False otherwise. ErrorInfo returns more details about the error.
<Diagram>: Name of the control or Diagram variable
Diagram to be used. This parameter corresponds to:
  • the name of a Diagram Editor control.
  • the name of a variable of type Diagram.
Remarks
  • A shape of type "Group" is created and added to the diagram.
  • This shape is created from the currently selected elements.
  • If the selection contains less than 2 shapes, the function does not create the group and returns False.
  • End users can undo the creation of a group if the diagram is in edit mode.
Component: wd290mdl.dll
Versión mínima requerida
  • Versión 27
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 23/05/2023

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