PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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: wd280mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment