[5.72] Form Designer caption-as-variable issue
Posted: Sat Oct 17, 2020 9:29 am
Create a new form, uncheck the "caption is a variable?" checkbox if it is per-default checked.
Write something into your caption like "Yo!" and compile. The program runs perfectly with the "Yo!" as a string in the OpenWindow () command.
Store your file, close it and reload it.
Now the read code is interpreted as Yo! being a varibale and the checkbox of this becomes checked.
Write something into your caption like "Yo!" and compile. The program runs perfectly with the "Yo!" as a string in the OpenWindow () command.
Code: Select all
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "Yo!", #PB_Window_SystemMenu)
Now the read code is interpreted as Yo! being a varibale and the checkbox of this becomes checked.
Code: Select all
Window_0 = OpenWindow(#PB_Any, x, y, width, height, Yo!, #PB_Window_SystemMenu)
PB 5.72 Windows 10 x86...Syntax error...