Page 9 of 14
Re: PureBasic 5.30 beta 3 released!
Posted: Mon Jun 16, 2014 1:28 am
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.

Re: PureBasic 5.30 beta 3 released!
Posted: Mon Jun 16, 2014 4:23 pm
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

Re: PureBasic 5.30 beta 3 released!
Posted: Mon Jun 16, 2014 5:34 pm
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.

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
Re: PureBasic 5.30 beta 3 released!
Posted: Mon Jun 16, 2014 10:01 pm
by rsts
However one's own custom buttons will likely not be supported by the forms designer

Re: PureBasic 5.30 beta 3 released!
Posted: Mon Jun 16, 2014 10:23 pm
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.

Re: PureBasic 5.30 beta 3 released!
Posted: Tue Jun 17, 2014 12:44 am
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.

Exactly
Personally, I never use designers. The generated code tends to be simplistic and places too many restrictions on my programming style.
Re: PureBasic 5.30 beta 3 released!
Posted: Tue Jun 17, 2014 3:15 am
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!

(I was referring to the form designer in my original posting)
Re: PureBasic 5.30 beta 3 released!
Posted: Tue Jun 17, 2014 4:36 am
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.

No, not "assumption".
The question to which Regenduft and rsts referred had explicitly referred to the form designer.
Re: PureBasic 5.30 beta 3 released!
Posted: Tue Jun 17, 2014 9:42 am
by BorisTheOld
Regenduft wrote:Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood!

(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.
Re: PureBasic 5.30 beta 3 released!
Posted: Tue Jun 17, 2014 4:41 pm
by Fred
Beta 4 is out !
Re: PureBasic 5.30 beta 4 released!
Posted: Tue Jun 17, 2014 6:47 pm
by Bananenfreak
Cool, I will install it

Re: PureBasic 5.30 beta 4 released!
Posted: Wed Jun 18, 2014 4:15 am
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
Re: PureBasic 5.30 beta 4 released!
Posted: Wed Jun 18, 2014 4:24 am
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
Re: PureBasic 5.30 beta 4 released!
Posted: Wed Jun 18, 2014 7:23 am
by dige
IDE can only run in /PORTABLE mode
Re: PureBasic 5.30 beta 4 released!
Posted: Wed Jun 18, 2014 7:35 am
by Benares
in /PORTABLE mode Still Error