Search My Blog

Sunday, September 6, 2026

Structure Generator - 2026 R3 Released!

 ** Hot News **

Updated Structure Generator Utility



    Software Tool & Die Inc (STD) are pleased to announce a new free & open source utility for automatically generating PowerBuilder structure classes from any DataWindow. This comes in handy when building Web Service, .NET Assembly, User Object, etc interfaces for encapsulated data interaction. The Structure Generator utility is designed using the latest STD Foundation Class framework version 2026vR3 and specifically works with the new PowerBuilder 2025 R2 release. It works with the WorkSpace application type but cal be migrated to a Solution type in a few minutes.

    The generator starts by introspecting any PBL (PowerBuilder Library) to build a list of DataWindow objects contained within that library. The PB developer can point the utility to any MS-Windows folder that may contain a PBL. From there, the generator displays a list of DataWindow Objects (DWO) contained in the selected PBL. Any SQL or External based DWO can be used to build a set of structures for to use in constructing a data equivalent structure object source. 
 
In this release ...
  • Migrated the code from PowerBuilder 2025 GA build 3683 to PowerBuilder 2025 R2 build 6430
  • Updated the STD Integrated framework to the latest release 2026 R3 build 2026.3.0.481
  • Updated MS-Window "Notification" support for PB2025 R2 compliance
  • Improved "Marquee" support via the update to STD Framework 2026R3
  • Tested on MS-Windows 11 version 25H2 build 26200.9278
  • The PB 2025 R2 Theme HighDPI feature is now supported.
  • Can now modify the RibbonBar mode from the App's "Tools" menu
  • Can now modify the TabbedView mode from the App's "Tools" menu 
  • Can now swap between the RibbonBar / Menu mode from the App's "Tools" menu.
 
  
Structure Generator in action!

    For .Net based interfaces you need to build two structures. One that maps any DWO's primary buffer and a second structure that houses the first. The SG can build both structures by selecting the "generate parent structure" option on the lower left hand side of the "Structure Builder" screen. You can also request that the SG prefix your Structure Item names (ie:  "si_"). Once the DWO and structure options are selected, the "Generate" command button will allow the developer to select the target folder and Structure name where the SG will build then actual PB structure object source code.
 
Selecting the location and name to build the structure!

  For the "Tracing Options" DWO shown above, lets enter the structure name "sr_trace_options" when we select the "generate" command button. The SG will complete the building of the resulting structure(s) based on the DWO's definition. 
  
Resulting PowerBuilder Structure source code!

    Once your structure(s) source are built by the SG utility, all the PB developer needs to do to ready the structures for use is to use the RMB on any PBL and then select the "Import" popup menu option. This will now import both the source code & compile the P-Code of the imported structure into working object for use in your PB application(s)!
   
Importing the new Structure into a PBL
 
Viewing the new Structure in the Structure Painter!

    Now to complete the structure, you can edit the Structure Item "description(s)" as required to complete the object's documentation. Then save the edited Structure for your use or share the structure PBL with your fellow PB developers for their productivity.

    To download the free & open source SG 2026 R3 utility - click here!
    To download the free & open source STD 2026 R3 Framework - click here

Enjoy ... Chris

No comments:

Post a Comment