The CanvasGadget() can be used for custom controls? I tried the example and it just looked like a painting area to me, for the user to draw on with the mouse.netmaestro wrote:the CanvasGadget() opens a whole new world of possibilities! For someone like me who likes to design and build controls of my own creation for specialized purposes, this is a toolkit tailor-made for me.
PureBasic 4.60 Beta 1 released! (for real)
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: PureBasic 4.60 Beta 1 released! (for real)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: PureBasic 4.60 Beta 1 released! (for real)
That is just one way to use it, you can make custom controls just as well. The idea is that it's a gadget that has a range of input events for mouse and keyboard control as well as drawing. For an example, look at the IDE: the file tabs are made using this gadget.MachineCode wrote:The CanvasGadget() can be used for custom controls? I tried the example and it just looked like a painting area to me, for the user to draw on with the mouse.netmaestro wrote:the CanvasGadget() opens a whole new world of possibilities! For someone like me who likes to design and build controls of my own creation for specialized purposes, this is a toolkit tailor-made for me.
Re: PureBasic 4.60 Beta 1 released! (for real)
....Or the impressive new Color Picker!eesau wrote:For an example, look at the IDE: the file tabs are made using this gadget.
I think the example code is a little misleading as it doesn't illustrate in what serious matter it could be used for. Maybe you should add a note to the help topic, pointing out that the IDE tabs & Color Picker tool use it as well?!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: PureBasic 4.60 Beta 1 released! (for real)
I think it's the name that is a bit misleading, as CanvasGadget() (to me at least) seems to implicate that it's merely for drawing. I suppose further examples in the help file could illustrate the versatility better.c4s wrote:....Or the impressive new Color Picker!eesau wrote:For an example, look at the IDE: the file tabs are made using this gadget.
I think the example code is a little misleading as it doesn't illustrate in what serious matter it could be used for. Maybe you should add a note to the help topic, pointing out that the IDE tabs & Color Picker tool use it as well?!
Re: PureBasic 4.60 Beta 1 released! (for real)
x2USCode wrote:Please update the SQLite library to use the latest release, looks like the library is still at 3.6.23.1. There's been 7 releases since then and is now at 3.7.5. Thanks!
As a business applications developer and this is mostly a 3D release there's not much here for me. Does that mean the next release will have more enhancements for folks that develop applications and not games? =)
For example, I'd love to see authentication added to the Mail library. Right now without authentication the Mail library is useless if your ISP requires it. Isn't that most of us???
I believe adding a simple AUTH LOGIN user/password authentication (required by my ISP) command, followed by the user and password in Base64, is all it would take?
ZIP library support would be handy as well. Oh, and ... ...
but thanks for the release
I don't use the 3d stuff, but still sounds good!
Re: PureBasic 4.60 Beta 1 released! (for real)
Thanks PB team... You guys really make us satisfied customer...
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureBasic 4.60 Beta 1 released! (for real)
+1 The source for these would be a nice start.I think the example code is a little misleading as it doesn't illustrate in what serious matter it could be used for. Maybe you should add a note to the help topic, pointing out that the IDE tabs & Color Picker tool use it as well?!

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- greyhoundcode
- Enthusiast
- Posts: 112
- Joined: Sun Dec 30, 2007 7:24 pm
Re: PureBasic 4.60 Beta 1 released! (for real)
Suppose it is a matter of opinion, but for me this is a descriptive name that I like.eesau wrote:I think it's the name that is a bit misleading, as CanvasGadget() (to me at least) seems to implicate that it's merely for drawing
+1DoubleDutch wrote:+1 The source for these would be a nice start.

- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 4.60 Beta 1 released! (for real)
The IDE source isn't open anymore so this being released isn't likely but I think the inclusion in the docs of a more advanced use of this gadget would certainly be a good thing. The current sample just doesn't do it justice.The source for these would be a nice start.
BERESHEIT
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureBasic 4.60 Beta 1 released! (for real)
Not the IDE itself, just the code for the controls.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: PureBasic 4.60 Beta 1 released! (for real)
Did anyone already find out how to use this new feature? I cannot find any reference to a parameter or something like that.The IDE got some additions as well, like the ability to build projects directly from the command-line, [...]
Re: PureBasic 4.60 Beta 1 released! (for real)
After I was released from hospital, this is a nice "welcome back" surprise. Canvas gadges is something, I desperatly wanted. Vielen Dank!
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- PureBasic Expert
- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: PureBasic 4.60 Beta 1 released! (for real)
MOTHER !"#&$%&$%
I get away a few days and a new release!
Someone is gonna get fired at Fantasie Software, for not contacting me!
AWESOME update!
Thanks all... including the M.I.A TMyke and all others who helped to vamp the 3d library
If i was a girl i would be having multiple orgasms right now =D
I get away a few days and a new release!
Someone is gonna get fired at Fantasie Software, for not contacting me!
AWESOME update!
Thanks all... including the M.I.A TMyke and all others who helped to vamp the 3d library

If i was a girl i would be having multiple orgasms right now =D
Re: PureBasic 4.60 Beta 1 released! (for real)
I'm getting, too. Just in Beta 3...Polo wrote:
I get this error from time to time in the IDE. Didnt manage to reproduce it on purpose so I can't help on debugging.
Best regards,
Frank
Frank
Re: PureBasic 4.60 Beta 1 released! (for real)
Thanks for the continuous upgrades and support of this great language.
Logman
Logman