Servoy Developer version R2 1.1 build 257
I have four buttons in a nav bar and the nav bar is set as the controller for 3 forms.
When the user clicks on button 1 the method takes him/her to a detail form and attempts to set button 4 to be invisible.
If the user clicks on either of buttons 2 or 3 then the methods attempt to set button 4 as visible.
Here is the method to set button 4 to be invisible :
forms.account.controller.show()
buttondefault();
elements.buttondetail.bgcolor = ‘#ffff66’
elements.buttondetail.fgcolor = ‘#ff0033’
elements.buttonNewRecord.visible = ‘false’
This method errors during execution with the following :
‘Cannot convert false to boolean’
It is obviously erroring on line 5 and is some kind of syntax error but I have tried it with and without the ‘false’ argument and have consulted the Help files which show the ‘false/true’ arguments in use as above !
What am I doing wrong ?