Tag Property

From Lianjapedia
Jump to: navigation, search

Tag associated with an object. Read/write.

cTag = ob.tag
ob.tag = cTag

cCTag

String storing additional information about the object.

Example

//
// Lianja custom section for page "page1" section "section1"
//
namespace custom1
public textbox1
define class page1_section1 as section
enddefine
 
 
define class tag_button as CommandButton
	proc click
		messagebox(textbox1.tag,0,"Tag")
	endproc
enddefine
 
proc page1_section1 
	page1_section1 = createobject("page1_section1")
 
	page1_section1.addobject("tagbutton","tag_button")
	tagbutton.caption = "Query Tag"	
 
	page1_section1.addobject("textbox1", "Textbox")
	textbox1.value = "Textbox"
	textbox1.tag = "This is a tag, which stores extra information about the object."
 
return page1_section1