EControl Form Designer Pro
TzCustomFormDesigner.DeleteSelection Method

Deletes the selected component or components

procedure DeleteSelection(ADoAll: Boolean = False);

Call DeleteSelection to remove the selected components in the designer and free their memory. 

Use OnCanDelete event handler to define which components can not be deleted.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!