Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » graphicsWindowModifyGroup

graphicsWindowModifyGroup

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

void graphicsWindowModifyGroup(char[] windowName, byte mode, char[] groupName);

Description

Modifies group enabled and expanded states.

Parameters

  • windowName: The name of the Graphics Window.
  • byte mode:
    • 1 = Enable group
    • 2 = Disable group
    • 3 = Expand group
    • 4 = Collapse group
    • 5 = Disable all groups
    • 6 = Collapse all groups
    • 7 = Expand all enabled groups
    • 8 = Collapse all disabled groups
  • groupName: The name of the common axis/group to modify (optional parameter).

Return Values

Example

// Expand a group
graphicsWindowModifyGroup("Graphics", 3, "MyGroup");

// Disable all groups
graphicsWindowModifyGroup("Graphics", 5);