Checkbox auto select
Posted: Thu Apr 24, 2025 9:00 pm
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
(sample (reformatted)
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.

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
(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)
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.
