combine 2 lines to one

combine 2 lines to one

Anonymous
Not applicable
468 Views
7 Replies
Message 1 of 8

combine 2 lines to one

Anonymous
Not applicable
Let say I have 2 lines
txtbox.enable = true
txtbox2.enable = true
how to combine to one line
txtbox.enable = true txtbox2.enable = true
I tried to put , or : between them. neither one works
Thx

--
IV11 Pro. sp1 - uninstalled
Window XP Pro sp2
Pentium 3.2 Ghz, 3.0 GB of RAM
NVIDIA FX 3400 84.26
SpacePilot V 1.1.2
0 Likes
469 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable
TextBox3.Value = TextBox1.Value + TextBox2.Value
0 Likes
Message 3 of 8

Anonymous
Not applicable
It's not What I meant
For your examples,
txtbox1.value = "text1"
txtbox2.Value = "Text2"
how to put these 2 statements on 1 line
txtbox1.value = "text1" txtbox2.value = "text2" I tried to put ,
or ; betwwen them and got a syntax error mesg



wrote in message news:5243851@discussion.autodesk.com...
TextBox3.Value = TextBox1.Value + TextBox2.Value
0 Likes
Message 4 of 8

Anonymous
Not applicable
Would
Text3 = TextBox1.Text & TextBox2.Text
be better??
0 Likes
Message 5 of 8

Anonymous
Not applicable
Sorry Chris, misunderstood your question.
0 Likes
Message 6 of 8

Anonymous
Not applicable
Ok here is what I want to do: I have a checkbox and 3 textbox
if checkbox.value = true then
textbox1.enable = true
textbox2.enable = true
textbox3.enable = true
end if
Now I want to put 3 statements on 1 line
if checkbox.value = true then
textbox1.enable = true textbox2.enable = true textbox3.enable =
true
end if

what should I put between 3 statements. I tried comma (,) or semicolon (;)
but neither works
Thx


wrote in message news:5243914@discussion.autodesk.com...
Would
Text3 = TextBox1.Text & TextBox2.Text
be better??
0 Likes
Message 7 of 8

Anonymous
Not applicable
Try colon (:) in between the statements.

-Venkatesh Thiyagarajan.

"Chris (IV11 Pro. SP1 - uninstalled)" wrote in message
news:5243888@discussion.autodesk.com...
Ok here is what I want to do: I have a checkbox and 3 textbox
if checkbox.value = true then
textbox1.enable = true
textbox2.enable = true
textbox3.enable = true
end if
Now I want to put 3 statements on 1 line
if checkbox.value = true then
textbox1.enable = true textbox2.enable = true textbox3.enable =
true
end if

what should I put between 3 statements. I tried comma (,) or semicolon (;)
but neither works
Thx


wrote in message news:5243914@discussion.autodesk.com...
Would
Text3 = TextBox1.Text & TextBox2.Text
be better??
0 Likes
Message 8 of 8

Anonymous
Not applicable
Thanks, V. T.
It works now
Chris
"Venkatesh Thiyagarajan (Autodesk)"
wrote in message news:5243920@discussion.autodesk.com...
Try colon (:) in between the statements.

-Venkatesh Thiyagarajan.

"Chris (IV11 Pro. SP1 - uninstalled)" wrote in message
news:5243888@discussion.autodesk.com...
Ok here is what I want to do: I have a checkbox and 3 textbox
if checkbox.value = true then
textbox1.enable = true
textbox2.enable = true
textbox3.enable = true
end if
Now I want to put 3 statements on 1 line
if checkbox.value = true then
textbox1.enable = true textbox2.enable = true textbox3.enable =
true
end if

what should I put between 3 statements. I tried comma (,) or semicolon (;)
but neither works
Thx


wrote in message news:5243914@discussion.autodesk.com...
Would
Text3 = TextBox1.Text & TextBox2.Text
be better??
0 Likes