Subject | RE: [IBO] Horizontal scrolling to columnX |
---|---|
Author | Dmitry Beloshistov |
Post date | 2011-04-05T08:43:08Z |
Hi!
Try this:
type
TCustomHackGrid=class(TCustomGrid)
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
TCustomHackGrid(IB_Grid1).LeftCol:=You_Column_index;
end;
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of blackadder15
Sent: Tuesday, April 05, 2011 9:34 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Horizontal scrolling to columnX
If I have many columns in my dataset, Week1,Week2.... (too many columns to fit in the grid) and I want to be able to go to Week35 at the click of a button instead of using the mouse to scroll - then does anyone know how I would achive this.
Terry
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6015 (20110404) __________
The message was checked by ESET NOD32 Antivirus.
http://www.esetnod32.ru/.ml
[Non-text portions of this message have been removed]
Try this:
type
TCustomHackGrid=class(TCustomGrid)
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
TCustomHackGrid(IB_Grid1).LeftCol:=You_Column_index;
end;
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of blackadder15
Sent: Tuesday, April 05, 2011 9:34 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Horizontal scrolling to columnX
If I have many columns in my dataset, Week1,Week2.... (too many columns to fit in the grid) and I want to be able to go to Week35 at the click of a button instead of using the mouse to scroll - then does anyone know how I would achive this.
Terry
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6015 (20110404) __________
The message was checked by ESET NOD32 Antivirus.
http://www.esetnod32.ru/.ml
[Non-text portions of this message have been removed]