Subject | IB_Grid problems |
---|---|
Author | bobzirbel@yahoo.com |
Post date | 2001-09-05T06:26:54Z |
I am using D5, IB6 & IBO 3.6.
I am using the following code to access selected rows in an IB_Grid
but I am finding that some of the bookmarks returned are duplicated.
TmpStrs := TStringList.Create;
IB_Query.SelectedBookmarks( TmpStrs );
for i := 0 to TmpStrs.Count - 1 do
begin
IB_Query.BufferBookmark := TmpStrs[i];
etc...
ie if I select 5 rows I get the bookmarks
000098C90000
000098C90000
0000DEC90000
0000E5C90000
0000ECC90000
Am I doing this correctly? Sometimes it works but most times it
doesn't.
Also, I have found that if you shift-click the first row and then
scroll to an entry that wasn't in view when the first row was
selected and shift-click again, the original selection is lost
instead of being extended (as in Windows Explorer). Is this right or
is there a setting I am missing?
Any help would be appreciated.
Regards
Bob
I am using the following code to access selected rows in an IB_Grid
but I am finding that some of the bookmarks returned are duplicated.
TmpStrs := TStringList.Create;
IB_Query.SelectedBookmarks( TmpStrs );
for i := 0 to TmpStrs.Count - 1 do
begin
IB_Query.BufferBookmark := TmpStrs[i];
etc...
ie if I select 5 rows I get the bookmarks
000098C90000
000098C90000
0000DEC90000
0000E5C90000
0000ECC90000
Am I doing this correctly? Sometimes it works but most times it
doesn't.
Also, I have found that if you shift-click the first row and then
scroll to an entry that wasn't in view when the first row was
selected and shift-click again, the original selection is lost
instead of being extended (as in Windows Explorer). Is this right or
is there a setting I am missing?
Any help would be appreciated.
Regards
Bob