property Grid.Description(Type as DescriptionTypeEnum) as String
Changes descriptions for different parts in the control.

 TypeDescription 
   Type as DescriptionTypeEnum A long expression that defines the part being changed  
   String A string value that indicates the part's description.  

Use the Description property to customize the captions for control filter bar window.  For instance, the Description(exFilterAll) = "(Include All)" changes the "(All)" item description in the filter bar window.

The following VB sample changes the description of (All) item in the drop down filter window:

Grid1.Description(exFilterBarAll) = "(Toate)"

The following C++ sample changes the description of (All) item in the drop down filter window:

m_grid.SetDescription( 0  /*exFilterBarAll*/ , "(Toate)" );

The following VB.NET sample changes the description of (All) item in the drop down filter window:

With AxGrid1
    .set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarAll, "(Toate)")
End With

The following C# sample changes the description of (All) item in the drop down filter window:

axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarAll, "(Toate)");

The following VFP sample changes the description of (All) item in the drop down filter window:

thisform.Grid1.Description(0) = "(Toate)"

 


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