textField Help plz


#1

ok, im having an off day …
I have this:

string $addedTime = textField addTime;

and i have this:

[color=DarkOrange]button -p formLayout0Shape -w 45 -h 32 -label “|<<+20”
-command “playbackOptions -e -min ((currentTime -q) + 20);”
buttonShape0;

the button works fine on its own, but i would like to change the command from [color=Red][color=DarkOrange]+ 20 to the value of the textField, Cant think today… any help would be nice.
chers
[/color][/color]
[/color]


#2

button [color=yellow]-p formLayout0Shape -w 45 -h 32 -label “|<<+20”[/color]
-command “playbackOptions -e -min ((currentTime -q) + (textField -q -text $addedTime));”
buttonShape0;

this shoud work :slight_smile:


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.