Difference between revisions of "Fontbold Property"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 10: | Line 10: | ||
Boolean to signify whether the font is bold or not: | Boolean to signify whether the font is bold or not: | ||
− | {|class="wikitable" width=100% | + | {|class="wikitable" width="100%" |
!True||False | !True||False | ||
|- | |- |
Latest revision as of 10:48, 30 January 2013
Whether the object's font is bold. Read/write.
bFontBold = ob.fontbold ob.fontbold = bFontBold
bFontBold
Boolean to signify whether the font is bold or not:
True | False |
---|---|
True | False |
.T. | .F. |
1 | 0 |
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public textbox1, textbox2 define class page1_section1 as section enddefine define class font_button as CommandButton proc click textbox1.fontbold = not textbox1.fontbold textbox2.fontbold = not textbox2.fontbold endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("fontbutton","font_button") fontbutton.caption = "Toggle Bold" page1_section1.addobject("textbox1", "Textbox") textbox1.value = "Textbox 1" textbox1.fontbold = True page1_section1.addobject("textbox2", "Textbox") textbox2.value = "Textbox 2" return page1_section1