Solved

TGetPropEditProc in Delphi 6

Posted on 2001-08-14
3
672 Views
Last Modified: 2007-11-27
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 ?
0
Comment
Question by:glx2k
  • 2
3 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6383816
Look at del6vcl.hlp that come with delphi 6
and search for TGetPropEditProc

I think it replaced with TGetPropProc
0
 

Author Comment

by:glx2k
ID: 6384003
huh? I have already searched the help file, but didn't find anything. What does it say about TGetPropEditProc in your help file
0
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 100 total points
ID: 6385491
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.GetProperties
 
 TPropertyEditor        See also
 
 Provides the subproperties of the property to a callback procedure.
 
 type
 
   TGetPropProc =  procedure ( const  Prop:  IProperty )  of object ;
 
 procedure  GetProperties(Proc: TGetPropProc);  virtual ;
 
 
 Description
 
 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.
 
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now