Solved

TGetPropEditProc in Delphi 6

Posted on 2001-08-14
3
668 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:mnasman
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:
mnasman 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

20 Experts available now in Live!

Get 1:1 Help Now