Statusbartext Property

From Lianjapedia
Jump to: navigation, search

Text displayed in the statusbar when you hover over an object or the object has focus. Read/write.

cStatusbarText = ob.statusbartext
ob.statusbartext = cStatusbarText

cComment

String storing the text to be displayed.

Example

//
// Lianja custom section for page "page1" section "section1"
//
namespace custom1
public textbox1
define class page1_section1 as section
enddefine
 
define class statusbartext_button as CommandButton
	proc click
		messagebox(textbox1.statusbartext,0,"Statusbar Text")
	endproc
enddefine
 
proc page1_section1 
	page1_section1 = createobject("page1_section1")
 
	page1_section1.addobject("statusbartextbutton","statusbartext_button")
	statusbartextbutton.caption = "Query statusbartext"	
 
	page1_section1.addobject("textbox1", "Textbox")
	textbox1.value = "Textbox"
	textbox1.statusbartext = "This is the statusbar text"
return page1_section1