FormTreeControl.deleteAll Method [AX 2012]

Deletes all items from the form tree control.

public boolean deleteAll()

Run On

Client

Return Value

Type: boolean
true if all items were successfully deleted; otherwise, false.

The following example shows how to delete all items from a form tree control.

// The ftc variable was a previously allocated 
// FormTreeControl variable. 
boolean bDelete; 
 
bDelete = ftc.deleteAll();

Community Additions

ADD
Show: