Bug or what in, version 6.3

label1.style.display=“inline-block”
if labela.Width=15 And label.style.display=“none” then

end if

the (if) statement makes label1 display equals to “none”

version:6.3.1.3

Is the variable named label1, labela, or label?

Label1 is an element from toolbox

some body has an answer ?

There is no answer since you failed to address the last question which was asked.

I answered, Label1 is an element from toolbox (div), by mistake I wrote labela it is label, so the code is like:
if label.Width=15 And label.style.display=“none” then

end if

the IF statement should test is label display style is “none”
but it change it from “inline-block” to “none”

here is small test project
testprj.nsx (18.2 KB)