I know that the main goal of Purebasic is to be OS independent. But why shouldn't you be able to extend the library with your own created gadgets, and that's important, with the same look and feel (from a programmer's point of view).
I'm thinking of the following gadgets:
+ RichEditGadget()
+ TreeViewGadget()
+ GridGadget()
+ tbc. (maybe many more)
I know that there are implementations for all of them. Unfortunately, they all have a different interface.
BTW: I am inspired by Fred's interview, where he said that Purebasic will (only) develop further through suggestions from the user community.
Enable expandability of the gadget library
Enable expandability of the gadget library
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Enable expandability of the gadget library
I fully agree with this feature request, but EditorGadget() is already a rich edit gadget and we have TreeGadget 

Re: Enable expandability of the gadget library
Thanks for your support,
Yes and No. The existing gadgets could be improved (at least once on windows).
E.g. EditorGadget -> Tables
TreeView is maybe the wrong Name I should have used TreeListGadget (Combination of Tree and List...)
Yes and No. The existing gadgets could be improved (at least once on windows).
E.g. EditorGadget -> Tables
TreeView is maybe the wrong Name I should have used TreeListGadget (Combination of Tree and List...)
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Enable expandability of the gadget library
EditorGadget -> Tablet? Do you have the slightest idea how gadgets on Windows work? You should read in the Windows API documentation before demanding such things. It would be handcrafted, Fred would need ages to create that and with every change/improvement people would complain.
Since you can build your own gadgets on a canvas, I say no. The standard gadgets are standard controls and should stay like that.
Since you can build your own gadgets on a canvas, I say no. The standard gadgets are standard controls and should stay like that.
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Enable expandability of the gadget library
Yes, I know how windows work.
To be honest, I have already done this with the help of API functions such as “CreateWindowEx_()”. Unfortunately not fully integrated.
CanvasGadget -> I was expecting an answer like this. Great gadget, but INHO not the solution for everything.
And I am asking about the possibility of expanding the library, not the expansion.
Long story short, I accept your opinion.
To be honest, I have already done this with the help of API functions such as “CreateWindowEx_()”. Unfortunately not fully integrated.
CanvasGadget -> I was expecting an answer like this. Great gadget, but INHO not the solution for everything.
And I am asking about the possibility of expanding the library, not the expansion.
Long story short, I accept your opinion.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Enable expandability of the gadget library
To create your own gadgets, see SDK by Purebasic. But must be created under 'C'.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Enable expandability of the gadget library
What do you mean by "not fully integrated"? PB already offers easy access to countless API calls...the rest can be easily integrated by yourself (e.g. via prototype).
I just meant that PB mostly calls these APIs, which is great for compatibility, but bad for moderness. All these fancy gadgets and designs that cone with other languages are either heavily modified or fully custom designed, which is both legit, but a lot of work. You can find a lot of custom gadgets here in the forum. They are great pieces of a lot of work.
I just meant that PB mostly calls these APIs, which is great for compatibility, but bad for moderness. All these fancy gadgets and designs that cone with other languages are either heavily modified or fully custom designed, which is both legit, but a lot of work. You can find a lot of custom gadgets here in the forum. They are great pieces of a lot of work.
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Enable expandability of the gadget library
But isn't the CanvasGadget meant for that? Which is why it supports so many events for keyboard and mouse.mk-soft wrote: Fri May 30, 2025 5:22 pmTo create your own gadgets, see SDK by Purebasic. But must be created under 'C'.
Re: Enable expandability of the gadget library
The CanvasGadget is a good method to create your own controls for all OS.
I mean controls like the EditorGadget with the standard functions of Purebasic.
There are the necessary C header files in the SDK to create them.
I mean controls like the EditorGadget with the standard functions of Purebasic.
There are the necessary C header files in the SDK to create them.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive