ToolBar.IsDimmed Method (Typed) | |
Determine whether a button is dimmed.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD IsDimmed(
nID,
symIDType,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual IsDimmed(
Usual nID = default,
Usual symIDType = default,
Usual symTB = default
)
Request Example
View SourceParameters
- nID (Optional)
- Type: Usual
The ID of the button whose state you want to determine. This is either the button ID or the menu item ID, depending on the value of <symLookup>. - symIDType (Optional)
- Type: Usual
Symbol indicating the type of data <nButtonID> represents. Valid values are #ButtonID and #MenuItemID. Defaults to #ButtonID. - symTB (Optional)
- Type: Usual
Symbolic name representing the toolbar to be used. Defaults to the main toolbar.
Return Value
Type:
Usual
TRUE if the button is dimmed; otherwise, FALSE.
Examples 1
2oTB:IsDimmed(1)
3
4
5oTB:IsDimmed(1, #ButtonID)
6
7
8oTB:IsDimmed(IDM_StandardShellMenu_File_Open_ID, #MenuItemID)
See Also