MapForceCommand
Properties:
Description:
A command object can be one of the following: an executable command, a command container (for example, a menu, submenu, or toolbar), or a menu separator. To determine what kind of information is stored in the current Command object, query its ID, IsSeparator, and SubCommands properties, as follows.
The Command object is... | When... |
---|---|
An executable command | •ID is greater than zero •IsSeparator is false •SubCommands is empty |
A command container | •ID is zero •IsSeparator is false •SubCommands contains a collection of Command objects. |
Separator | •ID is zero •IsSeparator is true |