Hi
Thanks for your help!!!!
TN
Search found 4 matches
- Sun Jul 19, 2015 9:28 pm
- Forum: Coding Questions
- Topic: Checking 10 check-boxes State with loop
- Replies: 9
- Views: 1870
- Sun Jul 19, 2015 8:31 pm
- Forum: Coding Questions
- Topic: Checking 10 check-boxes State with loop
- Replies: 9
- Views: 1870
Re: Checking 10 check-boxes State with loop
Hi
This is the program.
I copied the suggested lines in my code and i got the same error!!!!
Thanks
TN
;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event ...
This is the program.
I copied the suggested lines in my code and i got the same error!!!!
Thanks
TN
;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event ...
- Sun Jul 19, 2015 7:57 pm
- Forum: Coding Questions
- Topic: Checking 10 check-boxes State with loop
- Replies: 9
- Views: 1870
Re: Checking 10 check-boxes State with loop
Hi
This is the exact code .
Case Button_0 ;Go
k=1
For i=0 To 9
j= GetGadgetState(Checkbox_i)
If j=1
k=k+1
EndIf
Next i
MessageRequester("Information",Str(k), 0)
this is the error message at j= GetGadgetState(Checkbox_i)
[20:51:32] [ERROR] copy-2.pb (Line: 103)
[20:51:32] [ERROR] The ...
This is the exact code .
Case Button_0 ;Go
k=1
For i=0 To 9
j= GetGadgetState(Checkbox_i)
If j=1
k=k+1
EndIf
Next i
MessageRequester("Information",Str(k), 0)
this is the error message at j= GetGadgetState(Checkbox_i)
[20:51:32] [ERROR] copy-2.pb (Line: 103)
[20:51:32] [ERROR] The ...
- Sun Jul 19, 2015 6:43 pm
- Forum: Coding Questions
- Topic: Checking 10 check-boxes State with loop
- Replies: 9
- Views: 1870
Checking 10 check-boxes State with loop
Hi
I am a starter here and my first program I have a problem.
How can i check check-boxes state with a loop?
I am thinking like this.
k=1
For i=0 to 9
j= GetGadgetState(Checkbox_i)
if j=1
k=k+1
end if
next i
Thanks
TN
I am a starter here and my first program I have a problem.
How can i check check-boxes state with a loop?
I am thinking like this.
k=1
For i=0 to 9
j= GetGadgetState(Checkbox_i)
if j=1
k=k+1
end if
next i
Thanks
TN