hi,
why i can't put condition "and" in designer code variant get error?
B4X:
If panel1.Visible=True And Spinner.Visible=true Then 'error!! And Spinner.Visible=true
panel2.Top=panel1.Top + panel1.Height
panel2.Height=100%y
panel2.Height=100%y
End If
1 - the (magical, useful and indispensable) autocomplete feature - type the first letters of the variable (View, in this case) name and then press Tab
2 - use always meaningful names for your variables (Views, in this case)
'this work
if a=b then
end if
'Crash '
if a=b and c=d then
end if
'crash
if (a=b) and (c=d)then
end if
'crash
if (a)=b and (c)=d then
end if
'crash
if (a and c)=b then
end if'