vcl-dxskinsform-dot-tdxskinignoredformlist-dot-remove-x28-system-dot-tclass-system-dot-boolean-x29.md
Removes one or more form classes from the ignore list.
class procedure Remove(AClass: TClass; AIncludeDescendants: Boolean = True);
| Name | Type | Description |
|---|---|---|
| AClass | TClass |
The reference to the target form class.
| | AIncludeDescendants | Boolean |
Optional. Specifies if the procedure removes all descendants of the target form class from the ignore list.
Pass False as this parameter to remove only the target form class (AClass) from the ignore list.
|
Call the Remove class procedure to remove one or more form classes from the ignore list. You can call the Clear class procedure to remove all form classes from the ignore list.
The following code example removes two custom form classes from the ignore list:
uses
dxSkinsForm; // Declares the TdxSkinIgnoredFormList class
// ...
TdxSkinIgnoredFormList.Remove(TMyFormClass1, False); // Removes TMyFormClass1 without descendants
TdxSkinIgnoredFormList.Remove(TMyFormClass2, False); // Removes TMyFormClass2 without descendants
#include "dxSkinsForm.hpp" // Declares the TdxSkinIgnoredFormList class
// ...
TdxSkinIgnoredFormList::Remove(__classid(TMyFormClass1), false); // Removes TMyFormClass1 without descendants
TdxSkinIgnoredFormList::Remove(__classid(TMyFormClass2), false); // Removes TMyFormClass2 without descendants
RemoveClassNameRemoves the specified form class name from the ignore list.RemoveQualifiedClassNameRemoves the specified qualified form class name from the ignore list. See Also
TdxSkinIgnoredFormList.Add Procedure