customBanner.t file | source file

Custom Banner version 1.2 by Eric Eve

Version date: 13-Sep-06 Adapted for adv3Lite: 28-Dec-24

This file implements a CustomBannerWindow class that vastly eases the process of setting up banners and displaying material in them. e.g. to set up a graphics banner to display pictures, starting with pic1.jpg at startup, but not appearing at all on an interpreter that can't display JPEGs you could define:

pictureWindow: CustomBannerWindow canDisplay = (systemInfo(SysInfoJpeg)) bannerArgs = [nil, BannerAfter, statuslineBanner, BannerTypeText, BannerAlignTop, 10, BannerSizeAbsolute, BannerStyleBorder] currentContents = '<img src="pic1.jpg">' ;

Then to change the picture dislayed at a later point, call:

pictureWindow.updateContents('<img src="pic2.jpg">');

And everything else, including getting everything right on RESTART, UNDO and RESTORE should be taken care of.

Summary of Classes

`CustomBannerWindow`

Summary of Global Objects

`customBannerInit customBannerRestore customBannerRestoreRemove`

Summary of Global Functions

(none)

Global Functions

(none)

Adv3Lite Library Reference Manual
Generated on 13/06/2025 from adv3Lite version 2.2.1