Silverfrost Logo About Us | Contact Us

Textual toolbar - %tt[button_text]

This format code is much the same as %bt, except that the button is not as tall. Also the width of the button is rounded up to one of a set of standard sizes. This makes it possible to produce a textual toolbar (using a sequence of %tt formats) as used, for example, in the standard Windows Help buttons "Contents", "Search", "Back", etc. When using this format you will probably want to remove the borders from the window using the no_border option of the %ww format.

For example:

      INTEGER i,winio@
      i=winio@('%ww[no_border]%ca[Textual toolbar]&')


The text on a button can be changed dynamically by calling change_button_text@.



Copyright © 1999-2019 Silverfrost Limited