Clear Method
Description
Removes all constraints from the property grid item's collection of constraints.
Syntax
Public Sub Clear()
Example
This sample illustrates how to clear all constraints from a PropertyGridItem's collection of constraints.
Dim Item As PropertyGridItem
' Finds the PropertyGridItem with Caption or Tag value of "Language"
Set Item = wndPropertyGrid.FindItem("Language")
' Removes all constraints from the PropertyGridItem
Item.Constraints.Clear
See Also
Property Grid ActiveX Control v24.0
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.