Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead.julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
PureBasic 5.30 beta 9 released!
Re: PureBasic 5.30 beta 3 released!
Re: PureBasic 5.30 beta 3 released!
You can already do this, using the form panel - only for gadgets that support itjulesd 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.
-
BorisTheOld
- Enthusiast

- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: PureBasic 5.30 beta 3 released!
Not strictly true, since it's always an option to write one's own custom gadgets.Regenduft wrote:Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead.julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
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
~ Spike Milligan
Re: PureBasic 5.30 beta 3 released!
However one's own custom buttons will likely not be supported by the forms designer 
Re: PureBasic 5.30 beta 3 released!
That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
Best wishes to the PB community. Thank you for the memories. 
-
BorisTheOld
- Enthusiast

- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: PureBasic 5.30 beta 3 released!
ExactlyKuron wrote:That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
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
~ Spike Milligan
Re: PureBasic 5.30 beta 3 released!
Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood!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
-
Little John
- Addict

- Posts: 4807
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 5.30 beta 3 released!
No, not "assumption".Kuron wrote:That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
The question to which Regenduft and rsts referred had explicitly referred to the form designer.
-
BorisTheOld
- Enthusiast

- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: PureBasic 5.30 beta 3 released!
You're welcome!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)
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
~ Spike Milligan
Re: PureBasic 5.30 beta 3 released!
Beta 4 is out !
- Bananenfreak
- Enthusiast

- Posts: 519
- Joined: Mon Apr 15, 2013 12:22 pm
Re: PureBasic 5.30 beta 4 released!
---------------------------
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
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!
---------------------------
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
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!
IDE can only run in /PORTABLE mode
"Daddy, I'll run faster, then it is not so far..."
Re: PureBasic 5.30 beta 4 released!
in /PORTABLE mode Still Error

