ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Diagram editor functions
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
DiagramUngroup (Function)
In french: DiagrammeDégroupe
Dissociates the different shapes of a group in a Diagram Editor control.
Example
// Dissociates the selected shapes if they belong to a group
IF DiagramUngroup(DIAGEDT_MyDiagram) THEN
ToastDisplay("Group dissociated. To undo, press Ctrl+Z.")
END
Syntax
<Result> = DiagramUngroup(<Diagram> [, <Group>])
<Result>: Boolean
  • True if the elements of the group have been dissociated,
  • False otherwise. ErrorInfo returns more details about the error.
<Diagram>: Control name
Name of the Diagram Editor control to use.
<Group>: Optional diagGroup variable
Name of the diagGroup variable to be used. If this parameter is not specified, the group selected in the Diagram Editor control will be handled.
Remarks
  • If <Group> is not a variable of type diagGroup, or if the selected elements do not belong to a group, DiagramUngroup has no effect and returns False.
  • End users can undo the dissociation if the diagram is in edit mode.
Component: wd290mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/23/2023

Send a report | Local help