Creation/Dev/Script/Client/GuiTabCtrl: Difference between revisions

From Graal Bible
mNo edit summary
 
(reformat)
Line 1: Line 1:
<pre>
Inherits [[Creation/Dev/Script/Client/GuiControl|GuiControl]].
    GuiTabCtrl (GuiControl):
 
      iconheight - integer (read only)
=Variables=
      iconwidth - integer (read only)
{| border="1" cellpadding="2" width="100%"
      leveling - integer
| '''Name'''
      maxvisibletabs - integer (read only)
| '''Type'''
      selected - object (read only)
| '''Description'''
      tabwidth - integer
|-
      addrow(int, str) - returns object - the added row
| iconheight
      clearrows()
| integer (read only)
      clearselection()
|
      findtext(str) - returns integer - row index
|-
      findtextid(str) - returns integer - row id
| iconwidth
      getrowatpoint(int, int) - returns integer - row index
| integer (read only)
      getrowidatpoint(int, int) - returns integer - row id
|
      getrownumbyid(int) - returns integer
|-
      getselectedid() - returns integer - row id
| leveling
      getselectedrow() - returns integer - row index
| integer
      getselectedtext() - returns string
|
      insertrow(int, int, str) - returns object - the inserted row
|-
      isidselected(int) - returns boolean
| maxvisibletabs
      isrowselected(int) - returns boolean
| integer (read only)
      makevisible(int)
|
      makevisiblebyid(int)
|-
      removerow(int)
| selected
      removerowbyid(int)
| object (read only)
      rowcount() - returns integer
|
      seticonsize(int, int)
|-
      setselectedbyid(int)
| tabwidth
      setselectedrow(int)
| integer
</pre>
|
|}
 
=Functions=
{| border="1" cellpadding="2" width="100%"
| '''Name'''
| '''Return Type'''
| '''Description'''
|-
| addrow(int, str)
| object row
| Returns the added row
|-
| clearrows()
|
|
|-
| clearselection()
|
|
|-
| findtext(str)
| integer rowindex
|
|-
| findtextid(str)
| integer rowid
|
|-
| getrowatpoint(int, int)
| integer rowindex
|
|-
| getrowidatpoint(int, int)
| integer rowid
|
|-
| getrownumbyid(int)
| integer
|
|-
| getselectedid()
| integer rowid
|
|-
| getselectedrow()
| integer rowindex
|
|-
| getselectedtext()
| string
|
|-
| insertrow(int, int, str)
| object row
| Returns the inserted row
|-
| isidselected(int)
| boolean
|
|-
| isrowselected(int)
| boolean
|
|-
| makevisible(int)
|
|
|-
| makevisiblebyid(int)
|
|
|-
| removerow(int)
|
|
|-
| removerowbyid(int)
|
|
|-
| rowcount()
| integer
|
|-
| seticonsize(int, int)
|
|
|-
| setselectedbyid(int)
|
|
|-
| setselectedrow(int)
|
|
|}

Revision as of 16:19, 2 February 2006

Inherits GuiControl.

Variables

Name Type Description
iconheight integer (read only)
iconwidth integer (read only)
leveling integer
maxvisibletabs integer (read only)
selected object (read only)
tabwidth integer

Functions

Name Return Type Description
addrow(int, str) object row Returns the added row
clearrows()
clearselection()
findtext(str) integer rowindex
findtextid(str) integer rowid
getrowatpoint(int, int) integer rowindex
getrowidatpoint(int, int) integer rowid
getrownumbyid(int) integer
getselectedid() integer rowid
getselectedrow() integer rowindex
getselectedtext() string
insertrow(int, int, str) object row Returns the inserted row
isidselected(int) boolean
isrowselected(int) boolean
makevisible(int)
makevisiblebyid(int)
removerow(int)
removerowbyid(int)
rowcount() integer
seticonsize(int, int)
setselectedbyid(int)
setselectedrow(int)