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:

      WINAPP
      INTEGER i,winio@
      i=winio@('%ww[no_border]%ca[Textual toolbar]&')
      i=winio@('%mn[Exit]&','EXIT')
      i=winio@('%tt[Compile]%tt[Link]%tt[Run]&')
      i=winio@('%bx&',0.0D0)
      i=winio@('%bg[grey]&')
      i=winio@('%pv%fr',400,100)
      END

 

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

 

 

Copyright © 1999-2017 Silverfrost Limited