?
Solved

TGetPropEditProc in Delphi 6

Posted on 2001-08-14
3
Medium Priority
?
707 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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