This is a limited version of the documentation. The full help is only provided
after registering.
UltimDBGrid:
Child component of TRxDBGrid. Works with ADO, BDE and RxMemoryData.
Specific properties:
- AutoWidth: set automatically the columns width
- awNone: no auto change
- awDefault: each column is sized to its default width
- awProportional: the columns fill exactly the grid space
- awUniform: same as awProportional but each column has the same width
- awWidestValue: each column is sized according to its widest value
- awWidestValueTitle: same as awWidestValue but titles are also taken
into account
- AutoWidthOnResize: columns width is recalculated on each resizing
- CellHints: full display of truncated text when the mouse moves over it
- ConfigFileName: configuration file name
- ConfigOptions: save/restore options of the configuration file
- Controls: list of DB controls used as inplace editors
- DefaultRowHeight: default height of the grid rows
- DisplayBoolean: display a checkbox instead of True/False
- DisplayImages: display the bitmap image instead of (GRAPHIC), (BLOB)
or a glyph
- DisplayMemo: display the memo content instead of (MEMO) or a glyph
- EnterAsTab: enter key acts as tab key
- FilterList: list of preset filters
- FullSizeMemo: display the full memo content if the grid is wide enough
- MultiLines: display many lines per cell
- NoFlickering: remove the flickering effect but slow down display
- OptionsMenu: add a popup menu allowing to change the grid options
- OptionsMenuItems: items list of the options menu
- ReportTitle: title of the report to print
- RowSizingAllowed: allow row resizing
- ShowTextEllipsis: display '...' at the end of the truncated texts
- SortedFields: list of the sorted fields
- SortOnTitleClick: sort a column on a title click
- UseRowColors: rows are painted with alternated colors RowColor1 and 2
Specific methods:
- Procedure ExportToFile: exports the grid content to a HTML, SYLK or TXT file
- Procedure SaveGridConfig: save the grid configuration
- Procedure RestoreGridConfig: restore a grid configuration
- Procedure SaveGridPosition: save the grid cursor position
- Procedure RestoreGridPosition: go back to the saved position
- Function Search: search for any value through the grid
- Function SearchNext: continue searching
- Function Sort: sort the fields given as parameters
- Procedure MenuExportGrid: call the export wizard
- Procedure MenuPrintGrid: call the print function
- Procedure MenuSetFilter: call the filter wizard
Specific events:
- OnAutoWidthChange: fired when the AutoWidth value changes
- OnMenuPrintGrid: fired on a call to MenuPrintGrid
- OnMouseDown/Up/Move: fired by the mouse use
To compare this component to its ancestor TDBGrid, add to the above list properties, methods
and events of TRxDBGrid.
Creation of a custom inplace editor:
- Place the editor component onto the form (anywhere)
- Link it to the field to edit with DataSource and DataField properties
- Click the button of the grid Controls property
- Define fields with custom inplace editor and link them to their editor
UltimDBFooter:
Component to use in combination with UltimDBGrid to display calculations of fields in real time.
Specific properties:
- DBGrid: UltimDBGrid component providing the datas
- IgnoreResizing: ignore the grid column resizing
- IgnoreScrolling: ignore the grid horizontal scrolling
- Columns: list of the calculation areas
- Alignment: result alignment
- Bevel: result frame bevel
- FieldName: name of the field used for calculation
- NumPrecision: precision of the float type
- NumType: numerical type (Integer, Fixed, General, Scientific, Currency)
- Operation: operation type (Sum, Count, Average, Max, Min)
- TextBefore: text displayed before the result
- TextAfter: text displayed after the result
- WidthIfNoResize: width of the result area if column resizing is ignored
Specific events:
- OnBeforeDisplayText: fired before displaying text
- OnBeforeReadFields: fired before reading and calculating fields
- OnReadFieldValue: fired after reading a field value
DBImageEditor:
Component for editing the bitmap images of graphic fields in BDE datasets.
Specific properties:
- Buttons: list of enabled buttons of the toolbar (Import, Edit, EditWith, Export)
- PaintProgram: paint or retouch program used for editing images
- WaitBeforeUpdate: wait for confirmation after editing and before updating
Useless for most of programs. Needed by Paintbrush.
- CanRevert: allow to revert to the unmodified version of the edited image with Esc key
|