PureBasic 5.44 LTS is available !
Re: PureBasic 5.44 LTS is available !
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.
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 !
Great ! Thank you
Re: PureBasic 5.44 LTS is available !
Thank you all!!
Re: PureBasic 5.44 LTS is available !
That's strange because we didn't specifically changed something about it, may be another bug fix ?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.
Re: PureBasic 5.44 LTS is available !
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.
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.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Re: PureBasic 5.44 LTS is available !
I don't think PB can change other program toolbar color..
Re: PureBasic 5.44 LTS is available !
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.Fred wrote:I don't think PB can change other program toolbar color..
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]
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Re: PureBasic 5.44 LTS is available !
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()".
Thanks. Markus
UPDATE: 11 Aug 2017
The bug is corrected in version 5.45 beta 1
Thank you very much, Fred
Regards. Markus
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
UPDATE: 11 Aug 2017
The bug is corrected in version 5.45 beta 1
Thank you very much, Fred
Regards. Markus
Last edited by MarkOtt on Fri Aug 11, 2017 9:36 pm, edited 1 time in total.
Re: PureBasic 5.44 LTS is available !
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)
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 !
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Re: PureBasic 5.44 LTS is available !
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 '.
dmOrientation exists but you need to supply \Printer\
DevMode.DEVMODE\Printer\dmOrientation
dmOrientation exists but you need to supply \Printer\
DevMode.DEVMODE\Printer\dmOrientation
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: PureBasic 5.44 LTS is available !
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.
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 !
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 ?)
Can someone do something for me ? (Fred ?)
Niffo
Re: PureBasic 5.44 LTS is available !
Answered via PM.