It is currently Sat Mar 25, 2017 6:52 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Tue Dec 06, 2016 2:22 pm 
Offline
User
User
User avatar

Joined: Wed Mar 15, 2006 1:47 pm
Posts: 43
Location: Munich
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Tue Dec 06, 2016 10:24 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 2:46 pm
Posts: 1589
Location: Pas-de-Calais, France
Great ! Thank you :)

_________________
Prehistoric games - Bobble Puzzle, Purebreaker 3 ~> http://djes.free.fr


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Wed Dec 07, 2016 4:07 am 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1383
Thank you all!!


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Wed Dec 07, 2016 6:36 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 12937
Location: France
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 ? :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Wed Dec 07, 2016 11:30 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Oct 16, 2009 10:12 am
Posts: 528
Location: BE
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.

_________________
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Wed Dec 07, 2016 2:21 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 12937
Location: France
I don't think PB can change other program toolbar color..


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Wed Dec 07, 2016 5:07 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Oct 16, 2009 10:12 am
Posts: 528
Location: BE
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]

_________________
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Sat Feb 11, 2017 9:29 pm 
Offline
New User
New User

Joined: Sat Feb 11, 2017 8:33 pm
Posts: 3
Location: Switzerland
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:
;
; ------------------------------------------------------------
;
;   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


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Sat Mar 18, 2017 4:08 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Aug 18, 2004 9:52 am
Posts: 415
Location: Penang, Malaysia
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)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Sat Mar 18, 2017 4:19 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 1175
viewtopic.php?p=501672#p501672

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Sat Mar 18, 2017 4:20 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 21, 2006 12:31 am
Posts: 1703
Location: Canada
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

_________________
ʽʽ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


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.44 LTS is available !
PostPosted: Mon Mar 20, 2017 12:19 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1000
Location: germany
Is there a chance to get a new LTS release soon that fixes the annoying Prototype.q bug?

viewtopic.php?f=4&t=68074
viewtopic.php?f=4&t=67150
viewtopic.php?f=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.

_________________
When somebody says "Expect the unexpected" slap them in the face and say" You didn’t expect that, did you?"


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye