This groupBox object is for developers to use in programs developed in PowerBuilder. The intent is to provide a more visually pleasing groupBox your windows.

What makes the groupBox offering unique is that it is written in PowerBuilder using the dataWindow object as its means of transport. The groupBox, 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.


  • images, including internal pictures, i.e. Open!, Save!, Comment!, etc.
  • centered text
  • titleBar
  • window level object
  • dataWindow level object, allows you to create stylized groupBoxes inside your own dataWindows as well as replace an existing PowerBuilder dataWindow groupBox with a stylized groupBox

The groupBox object does NOT support:

  • themes, instead the object uses system color settings for its appearance
  • dataWindows that use units other than PowerBuilder Units

Future groupBox enhancements planned:

  • checkBox as part of the groupBox heading/title
  • more control over colors
  • change image and font sizes
  • text alignment on left/right/bottom of the groupBox
  • dataWindows that use pixels, inches and centimeters as units

Last edited Sep 22, 2016 at 1:40 PM by cjharris02892, version 12