property Grid.HasButtonsCustom(Expanded as Boolean) as Long
Specifies the index of icons for +/- signs when the HasButtons property is exCustom.

 TypeDescription 
   Expanded as Boolean A boolean expression that indicates the sign being changed.  
   Long A long expression that indicates the icon being used for +/- signs on the parent items.  
Use the HasButtonsCustom property to assign custom icons to the +/- signs on the parent items. The HasButtonsCustom property has effect only if the HasButtons property is exCustom. Use the Images, ReplaceIcon methods to add new icons to the control.

The following VB sample assigns different icons for +/- buttons:

The following C++ sample specifies different ( as in the screen shot ) +/- signs for the control:

The following VB.NET sample specifies different ( as in the screen shot ) +/- signs for the control:

The following C# sample specifies different ( as in the screen shot ) +/- signs for the control:

The following VFP sample specifies different ( as in the screen shot ) +/- signs for the control:

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.