Navigation: Ultimate Suite for PowerBuilder Help > Single Page Application Windows > Basic >


Send comments on this topic.


The basic SPA window contains a custom windows caption and status bar. The custom caption can display toolbar items for expanded functionality.

To use this window, inherit from w_pbus_spa_basic . This window doesn't support the PB menu but you can specify one so you can still use menu shortcuts.

To position and size your own controls on the window, use the PB WorkSpaceX(), WorkSpaceY(), WorkSpaceWidth(), and WorkSpaceHeight() functions to make sure that everything stays within the workable client area.

Note: The PowerBuilder Menu object is currently not supported in this release. A menu alternative may be added in the future.

Known Issue: If your window's WindowState property is initially set to Maximized! and the window doesn't maximize when opened, you'll need to add the following to the top of your windows Open event:

THIS.WindowState = Maximized!

Copyright © 2021 Werysoft Inc.