Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBGridEH cannot select over multiple pages with shift

Status
Not open for further replies.

mwlyoung

Programmer
Jan 9, 2003
7
0
0
ZA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top