I just noticed something strange on the designer script, which may very well be something stupid but thought I'd share with all of you and get your thoughts on this.
I have the following code in my designer script
When I try to compile I get an error
The only way the project will compile is if I remove this part of the code in the If Statement
Is this a bug, or are not allowed to do this type of comparison in the Designer Script.
Cheers,
Walter
I have the following code in my designer script
Designer Script:
If btnAppCDTFlash.Visible = False And btnAppProvision.Visible = false Then
btnEDL.Left = pnlflshproducts.Width / 2 - (btnEDL.Width + btnFlashAPP.Width + 20dip)/2
btnFlashAPP.Left = btnEDL.Right + 10dip
Else
btnAppProvision.Left = pnlflshproducts.Width / 2 - (btnAppProvision.Width + btnEDL.Width + btnFlashAPP.Width + btnAppCDTFlash.Width + 20dip)/2
btnEDL.Left = btnAppProvision.Right + 10dip
btnFlashAPP.Left = btnEDL.Right + 10dip
btnAppCDTFlash.Left = btnFlashAPP.Right + 10dip
End If
When I try to compile I get an error
Syntax error (missing parameter).
Error File: flshProduct.bjl
The only way the project will compile is if I remove this part of the code in the If Statement
Designer script:
And btnAppProvision.Visible = false
Is this a bug, or are not allowed to do this type of comparison in the Designer Script.
Cheers,
Walter