Difference between revisions of "Tag Property"

From Lianjapedia
Jump to: navigation, search
(Created page with '{{Common Property}} Category:Properties Category:Common Properties')
 
 
Line 1: Line 1:
{{Common Property}}
+
__NOTOC__
 +
Tag associated with an object.  Read/write.
 +
 
 +
<pre>
 +
cTag = ob.tag
 +
ob.tag = cTag
 +
</pre>
 +
 
 +
===cCTag===
 +
String storing additional information about the object.
 +
 
 +
==Example==
 +
<code lang="recital">
 +
//
 +
// 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
 +
</code>
  
 
[[Category:Properties]]
 
[[Category:Properties]]
 
[[Category:Common Properties]]
 
[[Category:Common Properties]]

Latest revision as of 08:14, 27 September 2011

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