PureBasic 6.21 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Joubarbe
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 6.21 beta 9 is out !

Post by Joubarbe »

It doesn't work, but thanks for trying! I'm going to look into it more seriously today.
User avatar
marcoagpinto
Addict
Addict
Posts: 1039
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.21 beta 9 is out !

Post by marcoagpinto »

@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.

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
Joubarbe
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 6.21 beta 9 is out !

Post by Joubarbe »

Joubarbe 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.
Bug report: viewtopic.php?t=86886
Joubarbe
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 6.21 beta 9 is out !

Post by Joubarbe »

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.
...
Poor Fred, he's never going to see the end of this update!
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 9 is out !

Post by Fred »

We will get there... Still better to have the report before going final !
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 9 is out !

Post by Fred »

I just pushed a new version for Windows, please download it to test the DrawText() fix
miso
Enthusiast
Enthusiast
Posts: 407
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.21 beta 9 is out !

Post by miso »

Thanks. Compiled all my major apps without issues. Drawtext 'feels' better (for my purposes) compared to the previous beta.
Joubarbe
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 6.21 beta 9 is out !

Post by Joubarbe »

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().
breeze4me
Enthusiast
Enthusiast
Posts: 633
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: PureBasic 6.21 beta 9 is out !

Post by breeze4me »

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().
In PB 6.21, Alt+F4 does not work properly when a canvas gadget is focused. You need to use the workaround below.

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
Joubarbe
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 6.21 beta 9 is out !

Post by Joubarbe »

SMaag
Enthusiast
Enthusiast
Posts: 301
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

Re: PureBasic 6.21 beta 9 is out !

Post by SMaag »

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!
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 10 is out !

Post by Fred »

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:This list was created automatically. All updated bug threads from the date of the last final version have been determined.
zikitrake
Addict
Addict
Posts: 868
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: PureBasic 6.21 beta 10 is out !

Post by zikitrake »

Very thanks to all PB Team!
PB 6.21 beta, PureVision User
miso
Enthusiast
Enthusiast
Posts: 407
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.21 beta 10 is out !

Post by miso »

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!
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.21 beta 10 is out !

Post by Quin »

Thanks Fred! This will be tested :)
Post Reply