Correct. If you use the command "[FONT=Courier New]DELETE GPSET[/FONT]" on your button, you don't need the command "[FONT=Courier New]GREM ALL[/FONT]". You only need to clear the group is you click the delete button.
The reason can be found if you trace the PML behind the delete button. You will find it basically does and [FONT=Courier New]COLL ALL WITH LOCK FOR CE[/FONT]. Now for a GPSET, this collection returns the elements in contained in the group that are locked, not the actually GPITEMs (the true members of the GPSET).
Correct. If you use the command "[FONT=Courier New]DELETE GPSET[/FONT]" on your button, you don't need the command "[FONT=Courier New]GREM ALL[/FONT]". You only need to clear the group is you click the delete button.
The reason can be found if you trace the PML behind the delete button. You will find it basically does and [FONT=Courier New]COLL ALL WITH LOCK FOR CE[/FONT]. Now for a GPSET, this collection returns the elements in contained in the group that are locked, not the actually GPITEMs (the true members of the GPSET).