Does anyone out there know how to use the DBGridEH control?
The problem I'm having is that the grid can shift select on one page, but as soon as you scroll down to the next page with shift held in and want to make another selection then, then your selection from the previous page is not selected anymore. Does anyone have a solution for this?
Here's the sample code from my form:
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGridEh, DB, dxmdaset, ADODB;
type
TfrmMain = class(TForm)
dbgMain: TDBGridEh;
datMain: TDataSource;
adoTable: TADOTable;
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmMain: TfrmMain;
implementation
{$R *.dfm}
end.
The problem I'm having is that the grid can shift select on one page, but as soon as you scroll down to the next page with shift held in and want to make another selection then, then your selection from the previous page is not selected anymore. Does anyone have a solution for this?
Here's the sample code from my form:
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGridEh, DB, dxmdaset, ADODB;
type
TfrmMain = class(TForm)
dbgMain: TDBGridEh;
datMain: TDataSource;
adoTable: TADOTable;
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmMain: TfrmMain;
implementation
{$R *.dfm}
end.