Flash Player 7.
This component will allow you to construct a multi column box with multiple image support. You can add any number of displayable columns as well as hidden columns that which will allow you to keep needed associated data for quick retrieval. The ability to set the columns as editable, html displayable, and word wrapping is also included. The component allows you to manulally set the size, but also gives you the ability to have it resize itself. You can add any number of images on each row and specify if they are clickable. You can access events from image clicking, row selection, column header selection, and mouse events.
| Method |
Description |
|---|---|
| Adds a library image to a column header |
|
| Adds a library image to a row |
|
| Adds a new row |
|
| Removes all rows from the DisplayBox |
|
| Deletes a row |
|
| Will locate all rows matching the supplied criteria highlighting the row or returning the index ID's |
|
| Returns the value stored in the request field of the requested row |
|
| Returns an array of the selected or unselected rows |
|
DisplayBox.InitBox() |
Constructs the DisplayBox |
| Adds a new column above and beyond any defined in the GUI |
|
| Removes the specified image from the specified column header |
|
| Removes the specified image from the specified row |
|
| Highlights or clears the selection of all rows based upon the parameter supplied |
|
| Allows you to set a couple extra parameters specific to a column in a particular row |
|
| Takes a row out of user edit mode, will also return a boolean stating if the row data was changed |
|
| Places a row into user edit mode |
|
| Sets the text in a field for the specified row |
|
| Sets or changes the rollover text for an image, row or column header |
|
| Scrolls the requested row, ensuring it is visible to the user |
|
Listener |
Description |
|---|---|
| Invoked when a column header is clicked |
|
| Invoked when an image in a column header is clicked |
|
| Invoked when a row is double clicked |
|
| Invoked when an editable row has been edited after another row is selected |
|
| Invoked when an image in a row is clicked |
|
| Invoked when the mouse leaves a row |
|
| Invoked when the mouse is over a row |
|
| Invoked when a row is single clicked |
| Property |
Description |
|---|---|
| If set to true, the row will automatically enter user edit mode when a row is selected |
|
| Will resize the width of the box based upon the definition of the columns |
|
| Sets the background color of the box, a -1 will make the background transparent |
|
| Returns the ID of the currently selected row |
|
| Will automatically resize the height of the box to ensure the number of rows are visible, supplying a 0 will disable the automatic height resize |
|
| The background row color displayed when a row has the mouse over it |
|
| Will lock the X position of the tooltip window to this value, -1 disables this |
|
| Will lock the Y position of the tooltip window to this value, -1 disables this |
|
| If set to true, allows the user to select multiple rows at once |
|
|
The total number of rows currently loaded |
|
| The height of each row |
|
|
The background row color displayed when a row is selected |
Flash Player 7.