> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionDeleteControlContent

# DeleteControlContent

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
void DeleteControlContent(char[] panel, char[] control);
```

## Description

Deletes the content of the **CAPL Output View** in the *Panel Designer*. The panel is accessed by its individual panel name that is entered in the *Panel Designer*.

## Parameters

* **panel**: Panel name, restricted to 128 characters. `""` – references all loaded panels. If you open a panel the first time, the panel is loaded. If you close the panel, it remains loaded.
* **control**: Name of the CAPL Output View control, restricted to 128 characters. `""` – references all CAPL Output View controls on the panel.

## Return Values

—

## Example

```plaintext theme={null}
// Deletes the contents of a specific CAPL Output View control in the panel motor
DeleteControlContent("motor", "Outputview");

// Deletes the contents of all CAPL Output View controls in the panel motor
DeleteControlContent("motor", "");

// Deletes the contents of all CAPL Output View controls in all panels
DeleteControlContent("", "");
```
