#PB_Window_Maximize doesnt works.

Raspberry PI specific forum
dibor
Enthusiast
Enthusiast
Posts: 125
Joined: Wed May 20, 2020 5:19 pm
Location: The 3rd planet in the Solar System
Contact:

#PB_Window_Maximize doesnt works.

Post by dibor »

Hello.
#PB_Window_Maximize does not works on latest RP OS.
But it is works if #PB_Window_MaximizeGadget is exist.

Best Wishes.
Mac Studio M1Max, PB 6.03Arm64 and x64.
Macbook Air M2, PB 6.03Arm64 and x64.
Windows 10, PB 6.03 x64 and x86.
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: #PB_Window_Maximize doesnt works.

Post by idle »

code example please.
dibor
Enthusiast
Enthusiast
Posts: 125
Joined: Wed May 20, 2020 5:19 pm
Location: The 3rd planet in the Solar System
Contact:

Re: #PB_Window_Maximize doesnt works.

Post by dibor »

Window is NOT maximized on start:

Code: Select all

If OpenWindow(0,0,0,960,510,"Test",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_Maximize)

Repeat
A= WaitWindowEvent()
If A=#PB_Event_CloseWindow
Q=1
EndIf
Until Q=1

EndIf 
End
Window is maximized on start:

Code: Select all

If OpenWindow(0,0,0,960,510,"Test",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_Maximize)

Repeat
A= WaitWindowEvent()
If A=#PB_Event_CloseWindow
Q=1
EndIf
Until Q=1

EndIf 
End
Compiler is Beta 2 for RP

Regards.
Mac Studio M1Max, PB 6.03Arm64 and x64.
Macbook Air M2, PB 6.03Arm64 and x64.
Windows 10, PB 6.03 x64 and x86.
Post Reply