FlashGUI Functions

  Objects Object functions Other functions  

Objects / table

table

table(objnum,coord,option)

creates a table

Parameters

objnumobject number
coordcolumn, row, width, height
comma or @am delimited.
If grid is used then column and row
are not specified and width is optional.
optionoptions comma or @am delimited

Options

checkwith checkboxes on the left
disabledisabled
font [name size style color]font specification (see font)
hideinvisible
hotkey keyname keyname ...assign hotkeys (see hotkey)
icons nameability to add icons from the specified file
listwithout columns and grid, scrolled horizontally
mselectmultiple rows selection
nogridwithout gridlines
noheaderwithout column headers
noseldo not remember selection
notabdo not stop by TAB
offdisabled
seltextonlyselect text only
sizing CODE [base.objnum]sizing specification (See sizing)

Events

OnSetFocusThe object has got focus

Data:
dt<1> - unfocused object window number
dt<2> - unfocused object number
OnEnter'Enter' key has been pressed

Data:
dt<1> - row number (array for mselect)
dt<2> - no data
dt<3> - the first cell data (array for mselect)
OnSelChangeOther row has been selected

Data:
dt<1> - selected row number
dt<2> - no data
dt<3> - the first cell data
NOTE: if mselect option is used OnSelChange
comes only for the first selected row
OnClickLeft button has been clicked

Data:
dt<1> - row number
dt<2> - column number
dt<3> - the first cell data
dt<4> - the pointed cell data
OnDblClickLeft button has been double clicked

Data:
same as OnClick
OnRClickRight button has been clicked

Data:
same as OnClick, dt<5> - mouse coordinates
OnColumnClickLeft button has been clicked on column header

Data:
dt<1> - column number
OnCheckA row has been checked or unchecked

Data:
dt<1> - row number
dt<2> - 1 (checked) or 0 (unchecked)
OnDropDragged lines have been dropped

Data:
dt<1> - drag-from object number (table or treebox)
dt<2> - drop-to position
dt<3,linepos,text> - dragged lines data
OnKeydownOnBeginUp key has been pressed on the fist row

Data:
dt<1> - key pressed (VK_UP or VK_PREV)
OnKeydownOnEndDown key has been pressed on the last row

Data:
dt<1> - key pressed (VK_DOWN or VK_NEXT)

Hot keys

VK_INSERT'Insert' key has been pressed
VK_DELETE'Delete' key has been pressed

Functions

checkrowchecks a table row
delcoldeletes a column from a table
delobjdeletes object
delrowdeletes a row form a table
doexecutes an additional action
getcellreturns text from a cell of a table
getchecksreturns table checks
getdtreturns additional data
getrowreturns row data (all cells)
getrowsreturns the number of rows of a table
getselectreturns selected row or tab number
insrowinserts a row into a table
inscolinserts a column into a table
modifymodifies object's properties
replcellreplaces one or more contiguous cells
replrowreplaces row text and icon
setfocussets focus to an object
selrowselects a table row
setdroplinks a drag-from object to drop-to objects

Using FlashGUI

tableTable
 

Page 4-22 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010