Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

a nil value

$
0
0
i am trying to check the properties of a checkbox

as im read in the helpfile the return of a DlgCheckBox.GetProperties will be tb.Checked

if im use an if statement, then i receive an nil value error.

Code:

rcheck = DlgCheckBox.GetProperties("CheckBox1");
if rcheck.Checked then
do something
end

im also tried with "if rcheck == rcheck.Checked then" but they give the same result

What i am missing?

Regards
Rolf

Viewing all articles
Browse latest Browse all 2105

Trending Articles