iGrid ActiveX control is a grid control that allows you to edit its cells using built-in editors and can emulate the Outlook messages list. The highly optimized flicker-free display code makes this grid draw faster than FlexGrid and other VB grids while it allows more sophisticated displays to be set up. It is also a good replacement for a ListView in report mode.
iGrid implements many useful features - multicolumn sorting, custom draw cells, saving and restoring its layout, own Memory Manager. The control fully supports Windows XP Visual Styles.
Each cell of the grid can be formatted separately from other cells in the grid and even from the cells of the same column. Developers can use format strings, format flags (horizontal and vertical alignment, ellipsis at the end or at the middle of the cell text, if necessary, so that the result fits in the cell rectangle, etc). Colors of iGrid elements can be adjusted. You can also turn off vertical and/or vertical or horizontal grid lines, use multiselect mode to select some cells simultaneously and row mode to select all cells in a single row, headers of columns may be flat or 3D and can be dragged or not, and so on.
The main distinctive feature of iGrid from is the ability to edit its cells using built-in in-place editing features (textboxes, comboboxes and checkboxes using a lot of formatting options for each type of cells - single-line and multi-line textboxes, automatic adjustment dropdown width of comboboxes based on the longest text width of comboitems, checkboxes with two and three states , etc). It also provides a lot of useful methods and events for fine tuning of editing process. These methods and events allow to control the flow of editing process and validate data entered by the user. Events for control of editing process include RequestEdit, BeforeCommitEdit, AfterCommitEdit and CancelEdit.
iGrid supports virtual mode. In this mode, iGrid will request new rows whenever they need to be displayed.
Keywords: grid, Visual Basic, FlexGrid, ListView, Windows XP Visual Style, Outlook, format, string, flag, virtual, validate, edit, multiselect, rowmode, header, gridline, combo, check, color, cell, row, column, header, group, scrollbar, background, drag, OLE Drag-n-drop
|
Click to enlarge
|