Text Box output as numbers
Text Box output as numbers
(OP)
I will like to know if it is possible to use the output of mathcad´s control text box as a numerical value. All I can do now is to get the output as a text with the following written in the script editor:
Outputs(0).Value = Textbox.text
I need something like:
Outputs(0).Value = Textbox.number, but this one doesn´t work.
Does anyone have any idea of how to do it?
Thanks in advance,
SG
Outputs(0).Value = Textbox.text
I need something like:
Outputs(0).Value = Textbox.number, but this one doesn´t work.
Does anyone have any idea of how to do it?
Thanks in advance,
SG
RE: Text Box output as numbers
RE: Text Box output as numbers
CODE
Rem TODO: Add your code here
End Sub
Sub TextBoxEvent_Exec(Inputs,Outputs)
Value = CDbl(TextBox.Text)
Outputs(0).Value = Value
End Sub
Sub TextBoxEvent_Stop()
Rem TODO: Add your code here
End Sub
Or do it this way.