Type | Description | |||
Boolean | A boolean expression that indicates whether the control displays the item's identifier. |
Use the Debug property to display item identifiers. The property is hidden, and that's possible that your browser will not show it. Use the ID property to identify an item. The ID of the item property is displayed between [] brackets. Use the Caption property to specify the caption of the item.
The following VB sample displays the identifiers for all items:
ExMenu1.Debug = True
The following C++ sample displays the identifiers for all items:
static BYTE parms[] = VTS_BOOL; m_menu.InvokeHelper(0xE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, TRUE );
The following VB.NET sample displays the identifiers for all items:
With AxExMenu1 .Debug = True End With
The following C# sample displays the identifiers for all items:
axExMenu1.Debug = true;
The following VFP sample displays the identifiers for all items:
With thisform.ExMenu1 .Debug = .t. EndWith