It is currently Sun Dec 08, 2019 10:54 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15 ... 17  Next
Author Message
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 9:08 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13646
Location: France
Justin wrote:
Now the popup appears way below

Image


Could you try to download it again ? May be you got an intermediate version with an incomplete fix.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 9:57 am 
Offline
User
User

Joined: Sun Nov 26, 2017 3:13 pm
Posts: 17
As far as I could test, compiling with DPIaware works very well.
Of the used controls I have to scale the following manually:

CanvasGadget - size
StatusBar - field width
ListIconGadget - column width

Peter


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 12:34 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 2:49 pm
Posts: 634
@Fred, it works fine now thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 2:29 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Oct 06, 2006 4:41 am
Posts: 687
Location: Canada
@ Justin :
I just happened to read the post you deleted a few seconds ago.
You had questions about some new functions, DesktopScaleX() being one I remember.

The discussion here (https://www.purebasic.fr/english/viewtopic.php?f=13&t=71468) may be of interest to you.

_________________
"That's not a bug..." said the programmer. "...It's a feature! "
"Oh! I see..." replied the blind man.


Last edited by Blue on Thu Sep 27, 2018 12:42 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 3:08 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jul 03, 2003 6:53 pm
Posts: 1283
Location: England
Win 10 x64

If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 3:16 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jul 03, 2003 6:53 pm
Posts: 1283
Location: England
As 2 of my 3 requests will have been fulfilled when this release is finalised it looks like I'm going to need to hit the donate button :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 7:12 pm 
Offline
User
User

Joined: Sun Feb 12, 2017 2:31 pm
Posts: 38
I have a problem with a PB 5.70b2 ScrollAreaGadget on Linux (Mint 19): when a Width or Height is greater than a ScrollAreaWidth or ScrollAreaHeight (respectively), the gadget background color is black.
Someone could check it, please?
Best regards


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 7:30 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 1032
Location: Amphibios 9
Cezary wrote:
Someone could check it, please?

An example code would have been helpful...

However: i can't confirm (Linux Mint 18.3 Cinnamon 64-bit / PB 5.70 LTS Beta 2 (x64)):

Code:
OpenWindow(0, 0, 0, 800, 600, "ScrollAreaGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ScrollAreaGadget(0, 10, 10, WindowWidth(0)-20, WindowHeight(0)-20, 100, 100, 30, #PB_ScrollArea_Flat)
CloseGadgetList()

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow

_________________
Can't decide if i need a hug, an XXL coffee, 6 shots of vodka or 2 weeks of sleep.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Wed Sep 26, 2018 7:41 pm 
Offline
User
User

Joined: Sun Feb 12, 2017 2:31 pm
Posts: 38
Here it is:

Code:
If OpenWindow(0, 100, 200, 500, 300, "Test")
 
  ScrollAreaGadget(0, 100, 100, 100, 100, 90, 98, 1, #PB_ScrollArea_Raised)
  CloseGadgetList()
  ScrollAreaGadget(1, 300, 100, 100, 100, 90, 110, 1, #PB_ScrollArea_Raised)
  CloseGadgetList()

  Repeat
    Event = WaitWindowEvent()
   
  Until Event = #PB_Event_CloseWindow

EndIf

End


Gadget on the left side is ok (gray), on the right side is black.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 12:30 am 
Offline
Enthusiast
Enthusiast

Joined: Sun Sep 05, 2004 6:27 am
Posts: 762
Location: England
Thank you for the DPI fixes. The IDE is a lot better in beta 2, but there are still a lot of scaling issues. For instance, the toolbar icons are too small, the scroll buttons on the tab control are too small (both issues visible below):
Image

The form editor looks as follows:
Image

The menu icons look too small also and there are some other minor issues. Overall though, it is much improved so thanks for the hard work!

_________________
Mat


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 6:44 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat May 05, 2007 5:31 pm
Posts: 630
Location: Linz, Austria
Thanks for the update, Fred! Also, the auto-complete box seems to work like intended now ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 9:54 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jul 03, 2003 6:53 pm
Posts: 1283
Location: England
Fred wrote:
For UseMySQLDatabase(), the OpenDatabase() command must be used like that:
Code:
db = OpenDatabase(#PB_Any, "host=localhost port=3306 dbname=yourdb", User$, Pass$)

Could this be made to work on Linux by having libmariadb.so in the same folder as the executable? I'm thinking of a CGI on a Linux server where you don't have control over what the web host has installed, you can be pretty sure MySQL will be there but not libmariadb.so.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 10:34 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Feb 04, 2013 5:28 pm
Posts: 333
MrMat wrote:
but there are still a lot of scaling issues. For instance, the toolbar icons are too small


Indeed but you and everyone else should post all this in the bug forum, here this can be rightfully ignored or innocently missed.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 10:38 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jul 03, 2003 6:53 pm
Posts: 1283
Location: England
the.weavster wrote:
If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.
I was wrong, it's not crashing it's just minimizing, I can alt-tab back to it.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic 5.70 LTS beta 2 is out !
PostPosted: Thu Sep 27, 2018 12:25 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 26, 2009 3:51 pm
Posts: 216
Location: Westernmost tip of Norway
the.weavster wrote:
the.weavster wrote:
If I Compile/Run a program then click the title bar of that program's main window and while keeping my mouse button down wiggle it from side to side the IDE crashes.
I was wrong, it's not crashing it's just minimizing, I can alt-tab back to it.

Sounds like built-in Win10 with mouse gestures maybe?

_________________
The best preparation for tomorrow is doing your best today.


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

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