Page 3 of 3

Re: PureBasic 5.44 LTS is available !

Posted: Tue Dec 06, 2016 2:22 pm
by macros
Thank you very much!

I didn't see the topic for it,
but I am incredible happy that the tabs now behave like they should under Linux and do no longer stick to the mouse at random times.

Re: PureBasic 5.44 LTS is available !

Posted: Tue Dec 06, 2016 10:24 pm
by djes
Great ! Thank you :)

Re: PureBasic 5.44 LTS is available !

Posted: Wed Dec 07, 2016 4:07 am
by kenmo
Thank you all!!

Re: PureBasic 5.44 LTS is available !

Posted: Wed Dec 07, 2016 6:36 am
by Fred
macros wrote:Thank you very much!

I didn't see the topic for it,
but I am incredible happy that the tabs now behave like they should under Linux and do no longer stick to the mouse at random times.
That's strange because we didn't specifically changed something about it, may be another bug fix ? :)

Re: PureBasic 5.44 LTS is available !

Posted: Wed Dec 07, 2016 11:30 am
by Joris
Just installed 5.51 version started PB and the toolbar in my own coded program (not PB) just appears with a black background color !?
I ran that just before the upgrade too and the color was ok, didn't change or do anything else then install 5.51.
(I'm on XP32 SP3)

Thanks.

Re: PureBasic 5.44 LTS is available !

Posted: Wed Dec 07, 2016 2:21 pm
by Fred
I don't think PB can change other program toolbar color..

Re: PureBasic 5.44 LTS is available !

Posted: Wed Dec 07, 2016 5:07 pm
by Joris
Fred wrote:I don't think PB can change other program toolbar color..
It is a (very big) PB-code that I build. Running it, it has a toolbar in the main window, but now ... after the PB 5.51 upgrade that toolbar becomes black colored, while nothing else is changed.

I'll switch back to the previous PB version PB 5.50.

[EDIT]Just did that and everything is back normal : toolbar has it's unchangeble grey color.[/EDIT]

Re: PureBasic 5.44 LTS is available !

Posted: Sat Feb 11, 2017 9:29 pm
by MarkOtt
I also think there is a toolbar error in PB 5.44 which wasn't in PB 5.42

A TOOLBAR with "ToolBarImageButton()" shows black icons and black background if the underlaying window has a background color set with "SetWindowColor()".

Code: Select all

;
; ------------------------------------------------------------
;
;   PureBasic - ToolBar example file
;
;    (c) Fantaisie Software
;
; ------------------------------------------------------------
;

UsePNGImageDecoder()

If OpenWindow(0, 100, 200, 195, 260, "ToolBar example", #PB_Window_SystemMenu | #PB_Window_SizeGadget)
  
  SetWindowColor(0,  $FEFAB6)    ; <-------------------
  
  If CreateToolBar(0, WindowID(0))
    ToolBarImageButton(0, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/New.png"))
    ToolBarImageButton(1, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Open.png"))
    ToolBarImageButton(2, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Save.png"))
    
    ToolBarSeparator()

    ToolBarImageButton(3, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Cut.png"))
    ToolBarToolTip(0, 3, "Cut")
    
    ToolBarImageButton(4, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Copy.png"))
    ToolBarToolTip(0, 4, "Copy")
    
    ToolBarImageButton(5, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Paste.png"))
    ToolBarToolTip(0, 5, "Paste")
    
    ToolBarSeparator()

    ToolBarImageButton(6, LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/ToolBar/Find.png"))
    ToolBarToolTip(0, 6, "Find a document")
  EndIf


  If CreateMenu(0, WindowID(0))
    MenuTitle("Project")
      MenuItem(0, "New")
      MenuItem(1, "Open")
      MenuItem(2, "Save")
  EndIf
  
  DisableToolBarButton(0, 2, 1) ; Disable the button '2'
  
  ;
  ; The event loop. A ToolBar event is like a Menu event (as tools are shortcut for menu the most
  ; of the time). This is handy, as if the ToolBar buttons and the MenuItem have the same ID, then
  ; the same operation can be done on both action without any adds..
  ;
  
  Repeat
    Event = WaitWindowEvent()

    Select Event
    
      Case #PB_Event_Menu
        MessageRequester("Information", "ToolBar or Menu ID: "+Str(EventMenu()), 0)
      
      Case #PB_Event_CloseWindow  ; If the user has pressed on the close button
        Quit = 1
        
    EndSelect

  Until Quit = 1
  
EndIf

End   ; All resources are automatically freed

Thanks. Markus


UPDATE: 11 Aug 2017

The bug is corrected in version 5.45 beta 1

Thank you very much, Fred :D

Regards. Markus

Re: PureBasic 5.44 LTS is available !

Posted: Sat Mar 18, 2017 4:08 pm
by akee
it seems that the structure DEVMODE has changed.

It is missing dmOrientation.

DevMode.DEVMODE
DevMode\dmOrientation ; 5.43_x86_LTS (ok) / 5.44_x86_LTS (missing)

Re: PureBasic 5.44 LTS is available !

Posted: Sat Mar 18, 2017 4:19 pm
by nco2k

Re: PureBasic 5.44 LTS is available !

Posted: Sat Mar 18, 2017 4:20 pm
by Thunder93
Not the place to report missing or wrong structures. Should be posting these under the bugs forum in the topic ' Requested API Structure and constants '. :wink:

dmOrientation exists but you need to supply \Printer\

DevMode.DEVMODE\Printer\dmOrientation

Re: PureBasic 5.44 LTS is available !

Posted: Mon Mar 20, 2017 12:19 pm
by Kukulkan
Is there a chance to get a new LTS release soon that fixes the annoying Prototype.q bug?

http://www.purebasic.fr/english/viewtop ... =4&t=68074
http://www.purebasic.fr/english/viewtop ... =4&t=67150
http://www.purebasic.fr/english/viewtop ... =4&t=67361

Currently, we need to stay at 5.42 LTS (some report 5.43 is also working) for all our programs. Would be great to get this fixed again.

Re: PureBasic 5.44 LTS is available !

Posted: Wed Oct 04, 2017 10:18 am
by Niffo
To try to reproduce an annoying bug, i am looking for PB 5.44 LTS x86 for Windows. Sadly, it is not in the "Museum" (https://www.purebasic.com/securedownload/Museum.php)
Can someone do something for me ? (Fred ?)

Re: PureBasic 5.44 LTS is available !

Posted: Wed Oct 04, 2017 3:54 pm
by Offin
Answered via PM.