Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 12464, Fix for DBGrid not handling popup nested dataset properly

by Dan Miser Email: Anonymous


Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 4.0  to 4.0 17 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Fri, 14 May 1999 00:00:00 GMT
Originally uploaded on Fri, 14 May 1999 00:00:00 GMT
Description
DBGRIDS.PAS
// Solves problem with re-docking nested popup window
procedure TCustomDbGrid.ShowPopupEditor
...
if (SubGrid.DataSource <> nil) and
(SubGrid.DataSource.DataSet = (Column.Field as TDatasetField).NestedDataset) and (SubGrid.CanFocus) then (**) (* Dan Miser (98-10-27): Add CanFocus *)
begin
SubGrid.Parent.Show;
SubGrid.SetFocus;
Exit;
end;
...

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03