BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

Property List (Grid) Control

It implements the functionality of a list control that displays a hierarchical list of editable properties.

Each property can represent various data types and it may contain sub-items. It's possible to enable a resizable description area at the bottom of the property list control to display a description for selected properties. You can drag the vertical splitter (or use keyboard) to adjust the width of columns.

Optionally, a developer can add command link(s) to the property grid "Commands" area.

The following data types are supported by control:

  • String
  • Numeric (with the spin button support)
  • Real
  • List of options (combo box)
  • Boolean (TRUE/FALSE list, check box or switch)
  • Color
  • File/directory
  • Font
  • Date/Time
  • Brush
  • Line style
  • Text format
  • Bitwise (flags)


In addition, developer can support own data type by deriving a new class from CBCGPProp and by overriding a relevant methods such as FormatProperty or OnEdit

The control appearance can be fully customized: by default, the control can be displayed in classic or Visual Studio mode. Also developers can apply their own set of colors to the control. 

Sample code:
CBCGPPropList m_wndPropList;
CBCGPProp* pGroup1 = new CBCGPProp (_T("Group"));
pGroup1->AddSubItem (new CBCGPProp (_T("Item 1"), (_variant_t) false, _T("Description")));
pGroup1->AddSubItem (new CBCGPProp (_T("Item 2"), (_variant_t) 250l, _T("Description")));
m_wndPropList.AddProperty (pGroup1);
Prev  Next