Skip to main content
All docs
V25.2
  • TdxSkinIgnoredFormList.Clear Method

    Clears the ignore list.

    Declaration

    class procedure Clear;

    Remarks

    Call the Clear class procedure to remove all form classes from the ignore list. To remove individual form classes from the ignore list, you can call Remove, RemoveClassName, and RemoveQualifiedClassName procedures.

    Code Example: Repopulate the Ignore List with Individual Form Classes

    The following code example clears the ignore list and repopulates it with two custom form classes without descendants:

    uses
      dxSkinsForm;  // Declares the TdxSkinIgnoredFormList class
    // ...
    
      TdxSkinIgnoredFormList.Clear;  // Clears the ignore list
      TdxSkinIgnoredFormList.Add(TMyFormClass1, False);  // Adds TMyFormClass1 without descendants
      TdxSkinIgnoredFormList.Add(TMyFormClass2, False);  // Adds TMyFormClass2 without descendants
    
    See Also