PureBasic 5.30 beta 9 released!

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Regenduft
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Mar 02, 2009 9:20 pm
Location: Germany

Re: PureBasic 5.30 beta 3 released!

Post by Regenduft »

julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead. :wink:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PureBasic 5.30 beta 3 released!

Post by Polo »

julesd wrote:I know you can change the background of the form already. But being able to do this for the gadgets as well, we can create color themes for our form and gadgets.
You can already do this, using the form panel - only for gadgets that support it :)
BorisTheOld
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Apr 24, 2012 5:08 pm
Location: Ontario, Canada

Re: PureBasic 5.30 beta 3 released!

Post by BorisTheOld »

Regenduft wrote:
julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead. :wink:
Not strictly true, since it's always an option to write one's own custom gadgets.

We've created various GUI classes, based on the Canvas Gadget, to use in place of PB's gadgets. This gives us complete control over all GUI attributes, including colour, border styles, fonts, character underlining, cursor positioning, edit rules, themes, auto sizing, etc, etc.

This is done using only PB's standard cross-platform language features.

Here's a simple example of the technique: http://www.purebasic.fr/english/viewtop ... 12&t=57143
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: PureBasic 5.30 beta 3 released!

Post by rsts »

However one's own custom buttons will likely not be supported by the forms designer :)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: PureBasic 5.30 beta 3 released!

Post by Kuron »

rsts wrote:However one's own custom buttons will likely not be supported by the forms designer :)
That is making the assumption one actually uses the designer. :mrgreen:
Best wishes to the PB community. Thank you for the memories. ♥️
BorisTheOld
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Apr 24, 2012 5:08 pm
Location: Ontario, Canada

Re: PureBasic 5.30 beta 3 released!

Post by BorisTheOld »

Kuron wrote:
rsts wrote:However one's own custom buttons will likely not be supported by the forms designer :)
That is making the assumption one actually uses the designer. :mrgreen:
Exactly :wink:

Personally, I never use designers. The generated code tends to be simplistic and places too many restrictions on my programming style.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
User avatar
Regenduft
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Mar 02, 2009 9:20 pm
Location: Germany

Re: PureBasic 5.30 beta 3 released!

Post by Regenduft »

BorisTheOld wrote:We've created various GUI classes, based on the Canvas Gadget, to use in place of PB's gadgets. This gives us complete control over all GUI attributes, including colour, border styles, fonts, character underlining, cursor positioning, edit rules, themes, auto sizing, etc, etc.

This is done using only PB's standard cross-platform language features.

Here's a simple example of the technique: http://www.purebasic.fr/english/viewtop ... 12&t=57143
Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood! :lol: (I was referring to the form designer in my original posting)
Little John
Addict
Addict
Posts: 4775
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.30 beta 3 released!

Post by Little John »

Kuron wrote:
rsts wrote:However one's own custom buttons will likely not be supported by the forms designer :)
That is making the assumption one actually uses the designer. :mrgreen:
No, not "assumption".
The question to which Regenduft and rsts referred had explicitly referred to the form designer.
BorisTheOld
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Apr 24, 2012 5:08 pm
Location: Ontario, Canada

Re: PureBasic 5.30 beta 3 released!

Post by BorisTheOld »

Regenduft wrote:Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood! :lol: (I was referring to the form designer in my original posting)
You're welcome!

I was describing our solution to gadget limitations and suggesting, if somewhat obliquely, that perhaps the Designer could allow for custom gadgets. It should be quite easy to include a generic gadget that provides for all attributes and events, and have the Designer create appropriate code stubs that can be modified by the programmer. Perhaps it could even make use of user plug-ins for drawing the custom gadgets.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.30 beta 3 released!

Post by Fred »

Beta 4 is out !
User avatar
Bananenfreak
Enthusiast
Enthusiast
Posts: 519
Joined: Mon Apr 15, 2013 12:22 pm

Re: PureBasic 5.30 beta 4 released!

Post by Bananenfreak »

Cool, I will install it :)
Image
Benares
User
User
Posts: 16
Joined: Sun Aug 18, 2013 10:53 pm

Re: PureBasic 5.30 beta 4 released!

Post by Benares »

---------------------------
Error
---------------------------
An Error has been detected in the IDE!

Error: Invalid memory access

File : C:\purebasic\svn\v5.30\Fr34k\PureBasicIDE\Macro.pb

Line : 64



IDE build on 06/17/2014 [16:08] by Fred

Branch: v5.30 Revision: 1635
---------------------------
OK
---------------------------

The PureBasic5.30b4(x86) IDE Running On the Windows 7 Ultimate x64
Benares
User
User
Posts: 16
Joined: Sun Aug 18, 2013 10:53 pm

Re: PureBasic 5.30 beta 4 released!

Post by Benares »

---------------------------
Error
---------------------------
An Error has been detected in the IDE!

Error: Invalid memory access

File : C:\purebasic\svn\v5.30\Fr34k\PureBasicIDE\SourceParser.pb

Line : 1796



IDE build on 06/17/2014 [16:08] by Fred

Branch: v5.30 Revision: 1635
---------------------------
OK
---------------------------


The PureBasic5.30b4(x86) IDE Running On the Windows 2003 Server x32



Other Operating System Can't Run The Beta4 IDE
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 5.30 beta 4 released!

Post by dige »

IDE can only run in /PORTABLE mode
"Daddy, I'll run faster, then it is not so far..."
Benares
User
User
Posts: 16
Joined: Sun Aug 18, 2013 10:53 pm

Re: PureBasic 5.30 beta 4 released!

Post by Benares »

in /PORTABLE mode Still Error
Post Reply