Stylesheet Property
From Lianjapedia
Object's CSS style attributes. Synonym of css. Read/write.
cStylesheet = ob.Stylesheet ob.Stylesheet = cStylesheet
cStylesheet
String of semi-colon (;) separated list of CSS style attributes.
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 define class page1_section1 as section enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("textbox1", "Textbox") textbox1.value = "With Stylesheet" textbox1.stylesheet = "color: rgb(127,0,63);background-color: rgb(255, 255, 241); selection-color:" +; "white; selection-background-color: rgb(191, 31, 127); border: 2px groove gray; border-radius:" +; "10px; padding: 2px 4px;" page1_section1.addobject("textbox2", "Textbox") textbox2.value = "Without Stylesheet" return page1_section1