Why does the text not change in the text box if the checkbox is not checked? If this is not a check, the text box should be "no-no", but when Command1 is clicked, it does not change. Any solutions? Maybe something is a very easy thing but I have not got success with it. : \
My code:
Private subcommand 1_Click () if check 1. Competent = true if textpace is Text = "" then lesson 1. Text = "-o" & amp; TextPool.Text & amp; ":" & Amp; Textport Text & amp; "-U" & amp; TextUser.Text & amp; "-Yes Yes" & amp; "-T" & amp; Combo 1 List index ales text 1 Text = "-o" & amp; TextPool.Text & amp; ":" & Amp; Textport Text & amp; "-U" & amp; TextUser.Text & amp; "-P" & amp; TextPass.Text & amp; "-Yes Yes" & amp; "-T" & amp; Combo 1 List index and if otherwise textpass. Text = "" then lesson 1. Text = "-o" & amp; TextPool.Text & amp; ":" & Amp; Textport Text & amp; "-U" & amp; TextUser.Text & amp; "No-No" & amp; "-T" & amp; Combo 1 List index ales text 1 Text = "-o" & amp; TextPool.Text & amp; ":" & Amp; Textport Text & amp; "-U" & amp; TextUser.Text & amp; "-P" & amp; TextPass.Text & amp; "No-No" & amp; "-T" & amp; Combo 1 List index and end end end end Help is appreciated! Or to fix my code.
Because you can check or uncheck check 1 Is that it is enabled, so your status if Check1.Enabled = true then is always correct, let's see what you really want to do If check1 is checked , with condition if Check1.Value = 1 then
No comments:
Post a Comment