Difference between revisions of "Tooltiptext Property"
From Lianjapedia
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
===cComment=== | ===cComment=== | ||
− | String storing text to be displayed on hovering. | + | String storing the text to be displayed on hovering. |
==Example== | ==Example== | ||
Line 35: | Line 35: | ||
page1_section1.addobject("textbox1", "Textbox") | page1_section1.addobject("textbox1", "Textbox") | ||
textbox1.value = "Textbox" | textbox1.value = "Textbox" | ||
− | textbox1.tooltiptext = "This is a tooltip | + | textbox1.tooltiptext = "This is a tooltip" |
return page1_section1 | return page1_section1 | ||
</code> | </code> |
Latest revision as of 09:01, 27 September 2011
Text displayed when you hover over an object. Read/write.
cTooltipText = ob.tooltiptext ob.tooltiptext = cTooltipText
cComment
String storing the text to be displayed on hovering.
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public textbox1 define class page1_section1 as section enddefine define class tooltiptext_button as CommandButton proc click messagebox(textbox1.tooltiptext,0,"Tooltip") endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("tooltiptextbutton","tooltiptext_button") tooltiptextbutton.caption = "Query Tooltiptext" page1_section1.addobject("textbox1", "Textbox") textbox1.value = "Textbox" textbox1.tooltiptext = "This is a tooltip" return page1_section1