Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2485 - TeeGrid 1.11 FMX - always crashes on an empty grid with only column headers row defined, and no data attached.
Summary: TeeGrid 1.11 FMX - always crashes on an empty grid with only column headers r...
Status: RESOLVED FIXED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC All
: Normal critical
Target Milestone: ---
Assignee: david berneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 23:08 EST by Vsevolod V Gromov
Modified: 2022-11-03 06:28 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod V Gromov 2021-11-21 23:08:54 EST
Whenever an empty (data-less) grid control is being hovered over, it would try to FindRow (Tee.Grid.Rows.pas, line 1353)
This subroutine, is throwing AV at line 1378, because there is no Data assigned.
Work-around:
Adding the following at the routine start would fix that, also eliminating the reulst := -1; at the end of this sub.
Result := -1;
if not Assigned(Data) then
  exit;
Comment 1 marc meumann 2022-11-03 06:28:52 EDT
Thank you for the input Vsevolod. Modification included.