Jump to content


CDK

Member Since 15 Feb 2015
Offline Last Active Mar 07 2018 04:50 PM
-----

Topics I've Started

2 small bugs (leak and vert scrollbar)

15 February 2015 - 12:18 PM

Hi!

 

I'm using NxInspector 5.9.9.

 

 

1) Profiler says about memory leak in TNxCustomInspector.RedrawBorder at    

Theme := OpenThemeData(Handle, DataName);

Theme must be closed by CloseThemeData (?).

 

 

2) I'm creating about 50-70 invisible properties at startup:

PropItem := PropertyGrid.Items.AddChild(...);
....
PropItem.Visible := False;

And switch them on depending on the context. But vertical scroll bar seems to use the last item number for scrolling, ignoring their visibility (see attached image).