Navigation: Ultimate Suite for PowerBuilder Help > Single Page Application Windows > Caption-less >

Usage

Send comments on this topic.

 

The Caption-less SPA window contains nothing but a blank slate (no windows caption or windows icon). Control buttons are added depending on the properties that are set within the window (e.g. MinBox, MaxBox etc).

To use this window, inherit from w_pbus_spa_captionless. 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.