Public domain softwares
for PureBasic
French flag Deutch flag
PB Browser tool 

This open-source application, developed in PureBasic and intended for PureBasic developers, allows navigation within ".pb" and ".pbi" files. If you want to adapt it to your needs, the source code is available here.

In its compiled form, PB Browser is a tool that can be installed in the PureBasic editor in order to work collaboratively with it. 

Starting from the address of a main file, PBBrowser lists all "Include" files and all the procedures, structures, macros, enumerations, labels, constants, etc. defined in the main file and related files. It is then possible to jump from one procedure to another with a simple click while discovering which procedure(s) call another, for example, or where in the program a variable is assigned a value.

PB Browser is the ideal tool for navigating through a PureBasic set of procedures, exploring, modifying, or cleaning your programs. Among other functions, it helps identify which parts of your project are truly useful or can be removed.

NOTE: Most browsers report a fake virus threat when downloading the Application. The files offered by this site are guaranteed to be tested and free of viruses. You must ignore the warning to download the app.
If you have the slightest doubt, you can download the sources and compile them on your PC (no fake warning in that case).

Alternative link for the full project on GitHub

Code snippets

The links below give you access to public domain code snippets that may be helpful to some developers. Essentially, they represent interfaces between PureBasic and certain Windows API functions.

SetGadgetColorEx.zip   This library collection implements the SetGadgetColorEx() function, allowing colors to be assigned to all gadgets, including those not supported by PureBasic's standard SetGadgetColor() function. It also includes SetMenuItemEx (for coloring menus and assigning them specific fonts) and SetGadgetItemEx, for customizing ListViewGadget and ComboBoxGadget. The ZIP file also contains ApplyColorThemes.pbi, for managing a collection of color themes, as well as demonstration code.
SetGadgetColorEx
SetMenuItemEx
SetGadgetItemEx

IDataObject_Library.zip   This library implements a fully functional IDataObject. The Zip also includes a small code demonstrating its use.

TOM_Functions.zip   The Windows Text Object Model (TOM) allows you to manage the styles into a Rich Edit Control (EditorGadget for PureBasic). This library offers a very simple to use text interface to access most TOM functions and manage, for example, paragraph margins or text color inside an EditorGadget.
Editor gadget in color

Drag and drop.zip   Implementation of IDropSource and IDroptarget.

ZapmanFontRequester.zip   This library implements an alternative FontRequester to those already available in the Windows version of PureBasic. It is more flexible than the original one and can be adapted to your needs.
A new Font Requester

Alert.zip   The Alert() function is an alternative to PureBasic's 'MessageRequester()'. It only works on OS Windows. This message window has "Search" and "Save" buttons. It adapts better than MessageRequester to different message sizes, especially if you use it to display long texts. It also supports messages in RTF format. By modifying a single input parameter, you get a window with the buttons "Yes", "No" and "Cancel" and you choose the default button (or "OK" and "Cancel", always with the choice of default button). Examples usages can be found at the end of the included file.
A new Color Requester

ZapmanColorRequester.zip   This CrossPlatform library implements an alternative ColorRequester to those already available in the Windows, macOS, and Linux versions of PureBasic. Its intuitive and user-friendly interface makes color selection easy for both novice users and colorimetry experts.
A new Color Requester

ColumnSortedListIconGadget.zip   This library provides functionality to add sorting capabilities to a ListIconGadget, including sorting based on ascending or descending order, and displaying arrows for sorting in the header.
The library can also be used to remove accents from text for proper sorting.
ListIcon sorting

© 2024 Zapman Softwares - luc.deborde@gmail.com.

The codes above are freely usable and shareable under the GNL license. These programs and code snippets are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.