Checkbox auto select

Post bugs related to the IDE here
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Checkbox auto select

Post by Marc56us »

Hi,

In recent version of PB IDE, when create New Form
In window form constants
There is a new field Custom Flags
This field is not reset when switch Code/Design and have change any checkbox
So all constants are preserved between two switches.

Test
  • Create new form
  • Check 3 first box
  • Switch Code/Design
  • Uncheck them
  • See Custom flag: #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget (still here)
  • and etc: All checked box will keep checked because this fiels is not reset
After several toggles, you end up with an increasingly long line, with repetitions even with a single box ticked.
(sample (reformatted)

Code: Select all

    OpenWindow(#Window_0, x, y, width, height, "", #PB_Window_SystemMenu | 
                                                   #PB_Window_MinimizeGadget | 
                                                   #PB_Window_MaximizeGadget | 
                                                   #PB_Window_SystemMenu | 
                                                   #PB_Window_MinimizeGadget |
                                                   #PB_Window_MaximizeGadget)
Maybe this is also something with this problem ?

In the meantime, to uncheck these options, I uncheck them and delete the contents of the Custom Flags line
̶(̶I̶'̶m̶ ̶n̶o̶t̶ ̶a̶b̶l̶e̶ ̶t̶o̶ ̶c̶o̶m̶p̶i̶l̶e̶ ̶t̶h̶e̶ ̶I̶D̶E̶ ̶s̶o̶ ̶c̶a̶n̶'̶t̶ ̶m̶o̶d̶i̶f̶y̶.̶)̶ ̶ I've now successfull compile the IDE, but haven't found the right place to modify this option
I looked at an older version (5.46) and it didn't have this option, so not this problem.

:wink: