View Full Version : textField Help plz


randomsheep
09 September 2007, 10:48 PM
ok, im having an off day ...
I have this:

string $addedTime = `textField addTime`;

and i have this:

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 + 20 to the value of the textField, Cant think today... any help would be nice.
chers

instruct9r
09 September 2007, 09:05 AM
button -p formLayout0Shape -w 45 -h 32 -label "|<<+20"
-command "playbackOptions -e -min ((`currentTime -q`) + (`textField -q -text $addedTime`));"
buttonShape0;


this shoud work :)

CGTalk Moderation
09 September 2007, 09:05 AM
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.


1