PureBasic 6.21 is out !
Re: PureBasic 6.21 beta 9 is out !
It doesn't work, but thanks for trying! I'm going to look into it more seriously today.
- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.21 beta 9 is out !
@Fred !
All my menus images in PNG now appear in 16x16 instead of 32x32 with beta 9.
Both in pull down menus and pop-up menus.
Windows 11.

All my menus images in PNG now appear in 16x16 instead of 32x32 with beta 9.
Both in pull down menus and pop-up menus.
Windows 11.









Re: PureBasic 6.21 beta 9 is out !
Bug report: viewtopic.php?t=86886Joubarbe wrote: Thu May 08, 2025 7:28 am It doesn't work, but thanks for trying! I'm going to look into it more seriously today.
Re: PureBasic 6.21 beta 9 is out !
Poor Fred, he's never going to see the end of this update!marcoagpinto wrote: Thu May 08, 2025 7:45 am ...
All my menus images in PNG now appear in 16x16 instead of 32x32 with beta 9.
...
Re: PureBasic 6.21 beta 9 is out !
We will get there... Still better to have the report before going final !
Re: PureBasic 6.21 beta 9 is out !
I just pushed a new version for Windows, please download it to test the DrawText() fix
Re: PureBasic 6.21 beta 9 is out !
Thanks. Compiled all my major apps without issues. Drawtext 'feels' better (for my purposes) compared to the previous beta.
Re: PureBasic 6.21 beta 9 is out !
It works now, but I still cannot ALT-F4 my game. My events are the same, and it works in 6.20.
I use BindEvent(#PB_Event_CloseWindow, @CloseTerminal(), #WINDOW_MAIN), but it never goes in CloseTerminal().
I use BindEvent(#PB_Event_CloseWindow, @CloseTerminal(), #WINDOW_MAIN), but it never goes in CloseTerminal().
Re: PureBasic 6.21 beta 9 is out !
In PB 6.21, Alt+F4 does not work properly when a canvas gadget is focused. You need to use the workaround below.Joubarbe wrote: Sat May 10, 2025 11:15 am It works now, but I still cannot ALT-F4 my game. My events are the same, and it works in 6.20.
I use BindEvent(#PB_Event_CloseWindow, @CloseTerminal(), #WINDOW_MAIN), but it never goes in CloseTerminal().
Code: Select all
#WINDOW_MAIN = 0
Global Quit
Procedure CloseTerminal()
Debug #PB_Compiler_Procedure
Quit = #True
EndProcedure
Procedure Canvas()
Protected et = EventType()
Select et
Case #PB_EventType_KeyDown
modk = GetGadgetAttribute(0, #PB_Canvas_Modifiers)
k = GetGadgetAttribute(0, #PB_Canvas_Key)
If (modk & #PB_Canvas_Alt) And k = #PB_Shortcut_F4
Debug "on canvas"
PostEvent(#PB_Event_CloseWindow, #WINDOW_MAIN, 0)
EndIf
EndSelect
EndProcedure
If OpenWindow(0, 0, 0, 550, 220, "CanvasGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CanvasGadget(0, 10, 10, 450, 200, #PB_Canvas_Keyboard | #PB_Canvas_DrawFocus)
SetActiveGadget(0)
BindEvent(#PB_Event_CloseWindow, @CloseTerminal(), #WINDOW_MAIN)
BindGadgetEvent(0, @Canvas())
Repeat
Event = WaitWindowEvent(10)
Until Quit = #True
CloseWindow(#WINDOW_MAIN)
EndIf
Re: PureBasic 6.21 beta 9 is out !
Wow! My respect to all members of the PB-Team and all useres actively working on the improvement of PB.
That's absolutley amazing. It shows that a small community of very professionals is able to create a really good Software product.
In the early 2000's I used Visual Basic a lot. Last time I had to change old VB Program. I was shocked by using the VB6 IDE after an abstinence of many years. There was a memory in my brain telling me, VB6 IDE was very good. Yes it was!
But compared to the PB IDE, working with VB6 feels much slower. For me, the code overwiew is better in PB.
Especally the VB6 dropdown's (for the Functionlist) can't keep up with the new PB Procedure lister (from 6.20).
Guys, keep up that way!
That's absolutley amazing. It shows that a small community of very professionals is able to create a really good Software product.
In the early 2000's I used Visual Basic a lot. Last time I had to change old VB Program. I was shocked by using the VB6 IDE after an abstinence of many years. There was a memory in my brain telling me, VB6 IDE was very good. Yes it was!
But compared to the PB IDE, working with VB6 feels much slower. For me, the code overwiew is better in PB.
Especally the VB6 dropdown's (for the Functionlist) can't keep up with the new PB Procedure lister (from 6.20).
Guys, keep up that way!
Re: PureBasic 6.21 beta 10 is out !
Beta 10 is out ! The doc is now fully finished for 6.21, thanks a lot to Andre and Mesa who did an amazing job including all your suggestions ! We switched all the doc file to UTF-8, so if you notice something odds about char encoding in the doc, please tell. Also a few more bugs fixes
Bugfixes for this version:
Bugfixes for this version:
- Windows: [Done] Fullscreen+ALT/Tab causes Window to disappear (DirectX-11)
- Windows: [Done] PanelGadget() puts all its children inside a static text control, breaking screen readers
- Windows: [Done] 6.21 b9 CompareStructure Linker error
- Windows: [Done] PB621beta9 Some PNGs don't appear in menus
- Windows: [Done] Linker Error
- Windows: [Done] MessageRequester fails if text >65535 bytes
- Windows: [Done] OpenWindow fails if refresh rate parameter not included
- Linux: [Done] Purebasic crashes select when using fixed strings
- Doc: [Done] F1 / "Music Song n° "
- Doc: [Done] 6.03 LTS Umlauts in Documentation/German/String.txt
- Doc: [Done] Structures-OffsetOf-index
- Doc: [Done] BodyPick (Engine3D), question for fred
- Doc: [Done] MemorySize() + UTF8() + Ascii()
- Doc: [Done] PB6.20 How to do BindWebViewCallback() without memory leak?
- Doc: [Done] RunProgram("Test.html")
- Doc: [Done] RandomSeed()
- Doc: [Done] PB: Maybe all Versions - ScrollbarGadget
- Doc: [Done] Error in the example
- Doc: [Done] Unused Parameter in NewList "List as procedure parameter" Example
- Doc: [Done] SetDragCallback()
- Doc: [Done] ScreenOutput() does not work with InitEngine3D()
Re: PureBasic 6.21 beta 10 is out !
Looking at all the fixes in all the current betas, I think 6.21 Final will be a very mature release. I will test this beta later. Thank you Fred and Team!
Re: PureBasic 6.21 beta 10 is out !
Thanks Fred! This will be tested 
