Silverfrost Logo About Us | Contact Us
 

%tt - Textual Toolbar

Purpose

To insert a textual toolbar.

Syntax

winio@('%tt[button_text]')
winio@('%~tt[button_text]', grey_ctrl)
integer grey_ctrl     (input)

Modifiers

Tilde (~) - adds a grey control.

Grave accent (`) - specifies that this is the default button.

Question mark (?) - the help string is placed in square brackets after [button_text].

Caret (^) - the call-back function is called when the user clicks on the button.

Description

%tt is similar to %bt but provides a button that is not as deep and whose width is rounded to one of a set of standard sizes.

button_text is a standard character string (can be replaced by @).

%tt is typically used with %ww[no_border] and/or %bx.

To change the text dynamically use %lc and change_button_text@.

Example

winio@('%?^tt[Cancel][Help text...]',cb_func)

See also

%bt - Button, %ib - Image Button, %tb - Bitmap Button, %bx - Grey Bar

 

 

 

Copyright © 1999-2017 Silverfrost Limited