Difference between revisions of "Tabindex Property"

From Lianjapedia
Jump to: navigation, search
(Created page with '{{Common Property}} Category:Properties Category:Common Properties')
 
 
Line 1: Line 1:
{{Common Property}}
+
__NOTOC__
 +
The tab index order of the object.  Read/write.
 +
 
 +
<pre>
 +
nTabindex = ob.tabindex
 +
ob.tabindex = nTabindex
 +
</pre>
 +
 
 +
===nFontSize===
 +
Numeric signifying the object's tab index order.
 +
 
 +
==Example==
 +
<code lang="recital">
 +
//
 +
// 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.text = "Tabindex = 3"
 +
textbox1.tabindex = 3
 +
 +
page1_section1.addobject("textbox2", "Textbox")
 +
textbox2.text = "Tabindex = 2"
 +
textbox2.tabindex = 1
 +
 +
page1_section1.addobject("textbox3", "Textbox")
 +
textbox3.text = "Tabindex = 1"
 +
textbox3.tabindex = 1
 +
return page1_section1
 +
</code>
  
 
[[Category:Properties]]
 
[[Category:Properties]]
 
[[Category:Common Properties]]
 
[[Category:Common Properties]]

Latest revision as of 07:47, 27 September 2011

The tab index order of the object. Read/write.

nTabindex = ob.tabindex
ob.tabindex = nTabindex

nFontSize

Numeric signifying the object's tab index order.

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.text = "Tabindex = 3"
	textbox1.tabindex = 3
 
	page1_section1.addobject("textbox2", "Textbox")
	textbox2.text = "Tabindex = 2"
	textbox2.tabindex = 1
 
	page1_section1.addobject("textbox3", "Textbox")
	textbox3.text = "Tabindex = 1"
	textbox3.tabindex = 1
return page1_section1