CollectionPropertyEditor raise AV in runtime
Original Reporter info from Mantis: s_tarassov
-
Reporter name: Serguei Tarassov
Original Reporter info from Mantis: s_tarassov
- Reporter name: Serguei Tarassov
Description:
There are 2 controls on form:
- TStringGrid
- TTIPropertyEditor (linked to TStringGrid to show its properties)
In design-time I can add column to StringGrid.
At runtime AV is raised
In unit PropEdits, method TPropertyEditorHook.SetSelection
Line 5721 NewLookupRoot:=LookupRoot;
Steps to reproduce:
Compile attached example, run it, select "Columns" property to show editor and click to button "...", now select any column in collection editor.
Mantis conversion info:
- Mantis ID: 28175
- OS: Windows/Ubuntu
- OS Build: 32 and 64 bits
- Version: 1.4
- Fixed in revision: r49233 (#255bf578)
- Monitored by: » s_tarassov (Serguei Tarassov)