Hello,
I am using v3.4.3.15 and I am experiencing issues with the ProfGrid component in the following way.
When the ProfGrid data is refreshed I call ProfGrid1.EnableControls; at the end of the update procedure. If the mouse cursor hovers over another object (while the update is taking place) which then displays its Hint "window" and the Hint overlaps the ProfGrid, I get an exception at the following line immediately as I move the cursor over the ProfGrid space:
function TProfGridCell.GetGrid: TProfGrid;
begin
Result := TProfGridDualCollection(Collection).FOwner;
end;
ProfGrid1.MouseMove doesn't even have a chace to execute because this event is before it. I have also determined that Collection is not Assigned when the exception occurs. The exception does not occur if I turn off all hints. I mentioned ProfGrid1.EnableControls above, and I call ProfGridDisableControls when I begin the update, because I want to know when EnableControls is finished executing. Is there a way to find this out? I mention these procedures because I am suspicious that they might be the culprit. The error does not occur if these calls are not made during the ProfGrid updates.
I guess I ultimately would like to know if there is a ProfGrid state that can be tested in order for me to know if ShowHint can be True.
Any ideas are greatly appreciated.
Thank you.