Jump to content

Futurebasic/Language/Reference/def setbuttontextstring

From Wikibooks, open books for an open world

Syntax

[edit | edit source]

DEF SETBUTTONTEXTSTRING

Revised

[edit | edit source]

February, 2002 (Release 6)

Description

[edit | edit source]

This Appearance Manager call changes the text string for a control. The two required parameters are the button's reference number and the new text in the form of a Pascal string. APPEARANCE BUTTON 1,1,,,,"",¬

 (10,10)-(200,30),_kControlEditTextProc

DEF SETBUTTONTEXTSTRING( 1, "Editable" ) APPEARANCE BUTTON 2,1,,,,"",¬

 (10,50)-(200,80),_kControlStaticTextProc

DEF SETBUTTONTEXTSTRING( 2, "Static" )

See Also

[edit | edit source]

DEF SETBUTTONDATA, BUTTON function, APPEARANCE BUTTON, BUTTONTEXTSTRING$; DEF SETBUTTONFONTSTYLE