On this page you will find all my REALbasic modules and classes. All code ©2002-9 Ben Blake. Please Contact Me if you have any suggestions or find any bugs.
Shareware
This class requires you to pay a license fee via PayPal. To use this code in your application you need to purchase a license from Ben's Software. The license includes the full source code and you get priority on feature requests. However, you do not need to purchase a license for freeware applications, you only need to acknowledge me in your application's About Box.
Bens ListBox Extras 1.3 (released 25th March 2009)
Download (128K Zip file)
Bens ListBox Extras is a REALbasic ListBox subclass allows you to easily print the contents of the ListBox, includes better cell formatting and a quick way to add and store hierarchical data. A license is $US30 which is payable via PayPal.
Features:This class requires REALbasic 2006r3 or higher.
- Easily print the contents of a ListBox including custom headers and footers on each page
- Different font and font sizes for the cells and headers
- Provides a quick, standard way to add and store hierarchical data (1 row deep)
- Allows suppressing mouse clicks in the ListBox Header and optionally allow the columns to be resized
- Gets the Header Height
- Add pictures to any cell and any position in that cell
- Custom cell background colors
- iTunes like odd/even row coloring
- adds in a workaround for REALbasic bug wvvxhunx to allow drawing the row background color past the last column (like iTunes)
- adds Popup Menu type for cells/columns. The CellAction event includes x, y location for the menu
- adds RectControls to any cell (these can also be printed)
- can set the color of cell text
- can set the font and font size per cell
- Mac style listbox selection including options for Blue and Gray gradient highlight styles
- Resize columns to largest cell text
Changes in the last version:
- Cell Pictures can now be placed anwhere in the cell with the addtion of the Top parameter
- added displaying and printing of controls in cells (only BevelButton, Checkbox, PopupMenu and ProgressBar have been tested)
- fixed potential recursive bug with getting BB_RowHeight
- renamed HeaderHeight to BB_HeaderHeight for compatibility with 2009r1
- printing right aligned text now has the correct horizontal location
Freeware
All these modules and classes are free for your use and open source, but are not public domain. If you use any of these modules or classes in your application I would appreciate it if you mention me in your application's About Box.
StyleGrid, Grid and DataGrid Printing Modules 2.4 (released 29th January 2008)
Download (120K Zip file)
This is a set of 3 free modules that lets you easily print the grids (StyleGrid 8.3, DataGrid 5.5 and Grid 3.x) available from Einhugur Software
The modules require REALbasic 5.5 or higher. For older versions of the Grids or REALbasic then you can still download v1.7 (148K Stuffit 5 file).
Changes in the last version:
- fixed bug where rows would not move onto the next page (mainly for large row heights)
- rows which are larger than a single page are drawn and the code does not go into an endless loop
- Read Me file should open in Mac OS X 10.5
- fixed encoding bug in the Cell Text
TreeView Printing Module 1.2.2 (released 29th January 2008)
Download (24K Zip file).
This is a free module that lets you easily print the contents of the TreeView (v1.7 or higher) plugin available from Einhugur Software. This module requires REALbasic 5.5 or higher.
Changes in the last version:
- fixed bug where rows would not move onto the next page (mainly for large row heights)
- Read Me file should open in Mac OS X 10.5
- fixed encoding bug in the Cell Text
MathField 1.1 class (released 16th March 2005)
Download (44K Zip file)
MathField is a free REALBasic EditField class which allows simple math operations to be entered into the EditField and be evaluated. It supports the following operations: +, -, *, /, ^, ( ), {}, [ ] along with negative numbers and nested brackets. This module requires REALbasic 5.5 or higher.
Bens ListBox Extras 1.3 (released 25th March 2009)