This project is read-only.


This toolBar object is for developers to use in programs developed in PowerBuilder. The look and feel of the toolBar is similar to those found in Kodigo, Visual Studio, PowerToTheBuilder, etc. It supports pictures, text, separators, resizing and RIGHT/LEFT positioning.

What makes the toolBar offering unique is that it is written in PowerBuilder using the dataWindow object as its means of transport. The toolBar, for all intents and purposes, is a datawindow placed on a window/userObject. It takes advantage of features built into the dataWindow and uses only Windows API calls and calls into the PBVMxxx.dll. There are no other "external" DLLs or PBNI code.


The documentation provided is an implementation guide for programmers wishing to include this object in their PowerBuilder projects.


  • keyboard interface, via left/right arrows keys once the toolBar has focus
  • visual queue when toolBar gets/loses focus
  • toolTips
  • 16/24/32/48 pixels picture sizes
  • right-mouse click context sensitive menu to change run-time look
  • supports standard PowerBuilder supported picture types (bmp, gif, jpg, png, rle and wmf)
  • check/uncheck item
  • resizing
  • internal pictures, i.e. Open!, Save!, Comment!, etc.

The toolBar object does NOT support:

  • themes, instead the object uses system color settings for its appearance

Future toolBar enhancements planned:

  • dropDown toolBar items
  • allow the creation of the edit types supported by the dataWindow object as toolBar items
  • automatically build a toolBar from a PowerBuilder menu object (menuBar)
  • vertical toolBar
  • speed improvements

Last edited Sep 21, 2016 at 11:50 AM by cjharris02892, version 12