method CalcCombo.Execute (Command as String)
Executes a command.

 TypeDescription 
   Command as String A string expression that indicates the newly control's caption or the operation being executed.  
Use the Execute method to execute commands in the control. The Execute method adds operations and operators to the control's stack. The Execute method does not clear the control's stack. The Caption property erases the control's operators and operation stack and replaces the control's caption. The Change event notifies your application when the control's caption is changed.

The following sample multiplies two numbers:

With CalcCombo1
    .Execute "12.123"
    .Execute "*"
    .Execute "-123"
    .Execute "="
End With
 


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.