Thread View: borland.public.delphi.language.delphi.dotnet
2 messages
2 total messages
Started by Stephen Boyd
Sun, 22 Jun 2008 16:27
PropertyEditors
Author: Stephen Boyd
Date: Sun, 22 Jun 2008 16:27
Date: Sun, 22 Jun 2008 16:27
10 lines
1395 bytes
1395 bytes
I am using Rad Studio 2007 Professional. I can't figure out how to compile a module that implements a property editor for a custom component. Using Delphi 5, I just added the ToolsApi to the search path and that seemed to be all that was required. However, that doesn't seem to work for Delphi.Net. You get all kinds of compile errors and a quick look at the DesignEditors module would seem to indicate that it is for Win32 and Linux only. What do I have to include in the project to get the property editor module to compile?
Re: PropertyEditors
Author: Stephen Boyd
Date: Sun, 22 Jun 2008 17:11
Date: Sun, 22 Jun 2008 17:11
19 lines
1863 bytes
1863 bytes
Stephen Boyd wrote: > I am using Rad Studio 2007 Professional. I can't figure out how to > compile a module that implements a property editor for a custom > component. Using Delphi 5, I just added the ToolsApi to the search path > and that seemed to be all that was required. However, that doesn't seem > to work for Delphi.Net. You get all kinds of compile errors and a quick > look at the DesignEditors module would seem to indicate that it is for > Win32 and Linux only. > > What do I have to include in the project to get the property editor > module to compile? Never mind. I finally found the answer in a German language newsgroup. Guess it's a good thing I didn't sleep through German class in high school. :) Add Borland.Studio.Vcl.Design.dll to the Requires list and add Borland.Vcl.Design.DesignIntf and Borland.Vcl.Design.DesignEditors to the uses list.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads