33 |
|
uses |
34 |
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DBGrids, DB, |
35 |
|
IBSQLParser, Grids, IBLookupComboEditBox, LMessages, StdCtrls, ExtCtrls, |
36 |
< |
IBCustomDataSet; |
36 |
> |
IBCustomDataSet, LCLVersion; |
37 |
|
|
38 |
|
type |
39 |
|
{ |
196 |
|
procedure DoGridResize; |
197 |
|
procedure DoEditorHide; override; |
198 |
|
procedure DoEditorShow; override; |
199 |
+ |
{$IF (LCL_FULLVERSION < 2030000)} |
200 |
|
procedure DrawCellText(aCol,aRow: Integer; aRect: TRect; aState: TGridDrawState; aText: String); override; |
201 |
+ |
{$ELSE} |
202 |
+ |
procedure DrawCellText(aCol,aRow: Integer; aRect: TRect; aState: TGridDrawState; const aText: String); override; |
203 |
+ |
{$IFEND} |
204 |
|
Function EditingAllowed(ACol : Integer = -1) : Boolean; override; |
205 |
|
procedure EditorHide; override; |
206 |
|
procedure IndicatorClicked(Button: TMouseButton; Shift:TShiftState); virtual; |
456 |
|
inherited DoEditorShow; |
457 |
|
end; |
458 |
|
|
459 |
+ |
{$IF LCL_FULLVERSION < 2030000} |
460 |
|
procedure TDBDynamicGrid.DrawCellText(aCol, aRow: Integer; aRect: TRect; |
461 |
|
aState: TGridDrawState; aText: String); |
462 |
+ |
{$ELSE} |
463 |
+ |
procedure TDBDynamicGrid.DrawCellText(aCol,aRow: Integer; aRect: TRect; aState: TGridDrawState; const aText: String); override; |
464 |
+ |
{$IFEND} |
465 |
|
var Style: TTextStyle; |
466 |
|
OldStyle: TTextStyle; |
467 |
|
begin |