Hello,
When selecting in the window option "caption is a variable", the variable is not declared as a string?!
kind regards
Michel
Window parameters
Re: Window parameters
Hello michel. Did you assign any value to the Caption field in the window's properties?michel wrote:When selecting in the window option "caption is a variable", the variable is not declared as a string?!
If the Caption is a variable option is selected, the value in the Caption field will be the variable name:
Code: Select all
Window_0 = OpenWindow(#PB_Any, x, y, width, height, something, #PB_Window_SystemMenu)
Code: Select all
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "something", #PB_Window_SystemMenu)
Code: Select all
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu)

Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 

Re: Window parameters
Hello,
In my mind the option "caption is a variable" generates a variable which can be modified during the runtime. So for example switch to another language. I my case the program turn to error because the variable is not declared as a string.
Michel
In my mind the option "caption is a variable" generates a variable which can be modified during the runtime. So for example switch to another language. I my case the program turn to error because the variable is not declared as a string.
Michel
Re: Window parameters
It's up to you to define the variable where you want 
