Description
Adds a command to the McDataSource.
Return Type
A Boolean value. True when successful. Failure Returns False. Failure conditions:
Syntax
object.AddCommand (eCommand, sDisplayName, eContentType, sContent, [bContentDefaultRequest], [bUIDefaultRequest], [bUIHide], [sMacro], [sLocalizedDisplayName])
The AddCommand Method syntax has these parts:
Settings
The settings for eCommand are:
Not Initialize - invalid state.
Current mcdatnc_StoreToNode ' Save to a Database Node
Drop Special New - UI will Not show value but a value is required to enable.
Open Common Dialog prompt using DataSource's file extensions.
Open (Browse) Folder shell dialog and recursive Add File with no prompting.
Add ACTIVEObject (McDataHandler.ObjectGetActive is required)
Many uniquely named Import commands are allowed
Save As Common Dialog prompt
Will Not show in UI; but a value is required to enable.
returns the activeobject for a registered command
Selection
Sets the Object's Related Node to be the ActiveDataNode.
Open (Browse) Folder shell dialog and then recursive Add File with no prompting.
Many uniquely named Custom commands are allowed.
Many uniquely named Macro commands are allowed.
Many uniquely named Export commands are allowed.
newer than IQbase1.0
The settings for eContentType are:
McDBNode Content
COM Object Content
File Content
Clipboard / DataObject Content