Difference between revisions of "Class Property"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with '__NOTOC__ The object's class. Read only. <pre> cClass = ob.class </pre> ===cClass=== Object's class returned as a string. ==Example== <code lang="recital"> // // Lianja custo…') |
|||
Line 48: | Line 48: | ||
return page1_section1 | return page1_section1 | ||
</code> | </code> | ||
+ | |||
+ | [[Category:Properties]] | ||
+ | [[Category:Common Properties]] |
Latest revision as of 07:04, 26 September 2011
The object's class. Read only.
cClass = ob.class
cClass
Object's class returned as a string.
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public label1, label2, label3, label4, infobutton define class page1_section1 as section enddefine define class info_button as CommandButton proc click label1.caption = "Button name = " + this.name label2.caption = "Button class = " + this.class label3.caption = "Button parent name = " + this.parent.name label4.caption = "Button parentclass = " + this.parentclass endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("label1", "label") label1.caption = "Button name" page1_section1.addobject("label2", "label") label2.caption = "Button class" page1_section1.addobject("label3", "label") label3.caption = "Button parent" page1_section1.addobject("label4", "label") label4.caption = "Button parentclass" page1_section1.addobject("infobutton","info_button") infobutton.caption = "Click for Information" return page1_section1