Top Property
From Lianjapedia
Revision as of 10:37, 11 April 2011 by Yvonne.milne (Talk | contribs)
The top row position of the object in pixels. Read/write.
nTop = ob.top ob.top = nTop
nTop
Numeric signifying the top row position.
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 public textbox1 define class page1_section1 as section enddefine define class position_button as CommandButton proc click textbox1.left = textbox1.left + 10 textbox1.top = textbox1.top + 10 endproc enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("positionbutton","position_button") positionbutton.caption = "Reposition" page1_section1.addobject("textbox1", "Textbox") textbox1.value = "Textbox 1" return page1_section1