|
« tabbox textbox »
Objects / table
table
table(objnum,coord,option)
creates a table
Parameters
| objnum | object number |
| coord | column, row, width, height comma or @am delimited. If grid is used then column and row are not specified and width is optional. |
| option | options comma or @am delimited |
Options
| check | with checkboxes on the left |
| disable | disabled |
| font [name size style color] | font specification (see font) |
| hide | invisible |
| hotkey keyname keyname ... | assign hotkeys (see hotkey) |
| icons name | ability to add icons from the specified file |
| list | without columns and grid, scrolled horizontally |
| mselect | multiple rows selection |
| nogrid | without gridlines |
| noheader | without column headers |
| nosel | do not remember selection |
| notab | do not stop by TAB |
| off | disabled |
| seltextonly | select text only |
| sizing CODE [base.objnum] | sizing specification (See sizing) |
Events
| OnSetFocus | The 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) |
| OnSelChange | Other 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 |
| OnClick | Left 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 |
| OnDblClick | Left button has been double clicked
Data: same as OnClick |
| OnRClick | Right button has been clicked
Data: same as OnClick, dt<5> - mouse coordinates |
| OnColumnClick | Left button has been clicked on column header
Data: dt<1> - column number |
| OnCheck | A row has been checked or unchecked
Data: dt<1> - row number dt<2> - 1 (checked) or 0 (unchecked) |
| OnDrop | Dragged 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 |
| OnKeydownOnBegin | Up key has been pressed on the fist row
Data: dt<1> - key pressed (VK_UP or VK_PREV) |
| OnKeydownOnEnd | Down 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
| checkrow | checks a table row |
| delcol | deletes a column from a table |
| delobj | deletes object |
| delrow | deletes a row form a table |
| do | executes an additional action |
| getcell | returns text from a cell of a table |
| getchecks | returns table checks |
| getdt | returns additional data |
| getrow | returns row data (all cells) |
| getrows | returns the number of rows of a table |
| getselect | returns selected row or tab number |
| insrow | inserts a row into a table |
| inscol | inserts a column into a table |
| modify | modifies object's properties |
| replcell | replaces one or more contiguous cells |
| replrow | replaces row text and icon |
| setfocus | sets focus to an object |
| selrow | selects a table row |
| setdrop | links a drag-from object to drop-to objects |
Using FlashGUI
« tabbox textbox »
|