It is currently Mon Nov 12, 2018 7:39 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 202 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14
Author Message
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Mon Oct 22, 2018 11:33 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Jan 25, 2005 7:01 pm
Posts: 457
Location: Canada
SparrowhawkMMU wrote:
+1 It's a status code, not necessarily an error code. It would be odd to check for Error Code = 200 OK!


Mmmh... Microsoft thinks it's perfectly fine : ERROR_SUCCESS is one of their staple error messages.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Mon Oct 22, 2018 12:40 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3274
Location: Berlin, Germany
Poshu wrote:
SparrowhawkMMU wrote:
+1 It's a status code, not necessarily an error code. It would be odd to check for Error Code = 200 OK!


Mmmh... Microsoft thinks it's perfectly fine : ERROR_SUCCESS is one of their staple error messages.

For many years, Microsoft also thought that it would be fine that Windows users had to click at a button named "Start" in order to end a session. :D

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Mon Oct 22, 2018 12:55 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1593
Nah, the "Start" button has always meant "start an action", and one such action is to shut down the PC. Sorry. :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Mon Oct 22, 2018 3:32 pm 
Offline
Addict
Addict

Joined: Thu Aug 30, 2007 11:54 pm
Posts: 832
Location: right here
Yes, starting to begin to shutdown the computer is appropriate for Windows because with all the updates it might take a while. :twisted:


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out ! Bug trackbar gadget
PostPosted: Fri Nov 09, 2018 5:03 pm 
Offline
User
User

Joined: Sun Apr 01, 2018 11:26 am
Posts: 87
Found a bug in qt mode:
Code:
OpenWindow(0, 0, 0, 320, 200, "TrackBarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TrackBarGadget(0, 10,  40, 250, 20, 0, 0)

SetGadgetAttribute(0, #PB_TrackBar_Minimum, 5)   
Debug "TrackBar_Min = " + GetGadgetAttribute(0, #PB_TrackBar_Minimum) 
Debug "TrackBar_Max = " + GetGadgetAttribute(0, #PB_TrackBar_Maximum) 
Debug "--------------"
SetGadgetAttribute(0, #PB_TrackBar_Maximum, 10) 
Debug "TrackBar_Min = " + GetGadgetAttribute(0, #PB_TrackBar_Minimum) 
Debug "TrackBar_Max = " + GetGadgetAttribute(0, #PB_TrackBar_Maximum) 
Debug "--------------"
SetGadgetAttribute(0, #PB_TrackBar_Minimum, 1) 
Debug "TrackBar_Min = " + GetGadgetAttribute(0, #PB_TrackBar_Minimum) 
Debug "TrackBar_Max = " + GetGadgetAttribute(0, #PB_TrackBar_Maximum) 
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
 

After setting #PB_TrackBar_Maximum, #PB_TrackBar_Minimum gets the value of #PB_TrackBar_Maximum and vice versa!. Hopefully this can be fixed very soon.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out ! Bug trackbar gadget
PostPosted: Fri Nov 09, 2018 8:09 pm 
Offline
Addict
Addict

Joined: Thu Aug 30, 2007 11:54 pm
Posts: 832
Location: right here
Martin Verlaan wrote:
Found a bug in qt mode:
I copied that to a bug forum:
https://www.purebasic.fr/english/viewtopic.php?f=23&t=71700


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Mon Nov 12, 2018 12:00 pm 
Offline
User
User

Joined: Sun Apr 01, 2018 11:26 am
Posts: 87
I don't know if this is a bug or normal QT behaviour, but with SetGadgetText() the cursor is located at the end position in a string gadget.

Also navigation from gadget to next gadget with TAB key goes in a wrong order.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 202 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 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