smartDBforms.NET API Reference

BaseSmartDBControl.SendCustomCommandToTemplate Method 

Sends the specified custom command to the current template. After SendCustomCommandToTemplate returns you can extract the out parameters from customCommand. The command causes the TemplateHolder of the current template to fire CustomCommand.

[Visual Basic]
Public Function SendCustomCommandToTemplate( _
   ByVal CustomCommand As CustomCommand _
) As Boolean
[C#]
public bool SendCustomCommandToTemplate(
   CustomCommand customCommand
);

Parameters

CustomCommand
The command object to be passed to handlers.

Return Value

true if the command was sent; false if currently there is no template

See Also

BaseSmartDBControl Class | Adillis.SmartDBForms Namespace