< Futurebasic < Language < Reference
Syntax
DEF SETBUTTONTEXTSTRING
Revised
February, 2002 (Release 6)
Description
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
DEF SETBUTTONDATA, BUTTON function, APPEARANCE BUTTON, BUTTONTEXTSTRING$; DEF SETBUTTONFONTSTYLE
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.