Resolve the Caption Variable bug in Forms Designer

Post bugs related to the IDE here
User avatar
HwyStar
Enthusiast
Enthusiast
Posts: 101
Joined: Mon Apr 05, 2010 7:13 pm
Location: Reno, Nevada

Resolve the Caption Variable bug in Forms Designer

Post by HwyStar »

Suggestion:

1) Remove the "Caption is a Variable" checkbox in the form designer.

2) Read in the entire string; minus the quotes, into the Caption field and remove all error checking in that field.

Code: Select all

Procedure OpenWindow_0(x = 0, y = 0, width = 600, height = 400)
  Window_0 = OpenWindow(#PB_Any, x, y, width, height, "Hello World", #PB_Window_SystemMenu)
EndProcedure

The Caption field in the properties tab will have: Hello world in it - without the quotes.
3) Make it the programmers responsibility to use the: SetWindowTitle(0, "Hello World!!!") some where else in their code outside of the pbf file.

These are my thoughts and anyone that is using the Forms Designer utilizing variables please help me understand how I can use the properties tab to use strings.