Alexander Klenin escreveu: > On Sun, Mar 22, 2009 at 20:37, Luiz Americo Pereira Camara > <[email protected]> wrote: > >> FYI, VTV does not define any custom property editor. >> > Ok, I was too lazy to download and install VirtualTree and so shot in the > dark. > > >> How can i know what is the property giving problem? >> > Call GetName or GetPropertyPath. >
Now i've got: Columns and TVirtualStringTree.Columns The problem is that Columns is a property of Header (TVirtualStringTree.Header.Columns). Previously Columns where streamed as a direct child of TVirtualStringTree using DefineProperties method as a workaround to Delphi bug. I removed this hack and now Columns is streamed as child of Header. Is there any method, other than DefineProperty, that can change a property hierarchy? FYI Columns.GetOwner returns the Header instance. > >> i tried to get the name through calling GetValue in Initialize method of the >> TListPropertyEditor but returned Unknown. >> > Hm, I do not see a way TListPropertyEditor.GetValue can return 'Unknown'... > Are you sure there is no inherited class? > I called both GetValue (0 items) and inherited GetValue (Unknown). Luiz _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
