• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 719
  • Last Modified:

TGetPropEditProc in Delphi 6

Hi I use an old Delphi 5 component that I wish to update to Delphi 6.
The component use TGetPropEditProc, but there isn't any type like this in Delphi 6. What can I do instead ?
  • 2
1 Solution
Mohammed NasmanSoftware DeveloperCommented:
Look at del6vcl.hlp that come with delphi 6
and search for TGetPropEditProc

I think it replaced with TGetPropProc
glx2kAuthor Commented:
huh? I have already searched the help file, but didn't find anything. What does it say about TGetPropEditProc in your help file
Mohammed NasmanSoftware DeveloperCommented:
when you search about TGetPropEditProc in the help file
it will give you help for TGetPropProc
so try to search about TGetPropProc

open the visual component libarary referance
and in the index put  TGetPropEditProc, it will give the following help about it

 VCL Reference
 TPropertyEditor        See also
 Provides the subproperties of the property to a callback procedure.
   TGetPropProc =  procedure ( const  Prop:  IProperty )  of object ;
 procedure  GetProperties(Proc: TGetPropProc);  virtual ;
 The Object Inspector calls GetProperties when the property is expanded to show subproperties. The  GetProperties method of TPropertyEditor does nothing. Property editors that return paSubProperties from the  GetAttributes method should override GetProperties to create an appropriate property editor and pass its  IProperty interface to the Proc parameter for every subproperty (or nested property) of the property.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now