property G2antt.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. The last 7 bits in the high significant byte of the long expression indicates the identifier of the skin being used to paint the object. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the part.  
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, at runtime.

The following VB 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 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.