New Forms Get Duplicated #PB_Window_SystemMenu Flag
Posted: Sat Jul 05, 2025 2:15 pm
When creating a new form the window will have '#PB_Window_SystemMenu' set as a duplicate flag in the new 'Custom Flag' property. On switching to the code view the flag is specified twice in the OpenWindow instruction.
This 'Custom flag' is also erroneously added on reopening an existing form design duplicating it there too.
This 'Custom flag' is also erroneously added on reopening an existing form design duplicating it there too.
Code: Select all
Procedure OpenWindow_1(x = 0, y = 0, width = 600, height = 400)
; ↓ ↓
Window_1 = OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)
EndProcedure