Chris,
> I sort of worked something like that out looking at the D4 source
> code for the Combo Box. I came up with this bit of code below.
>
> I was doing this as part of my new Open Dialogs for a project.
> The project adds combos, checkboxs, and groups to the open dialogs.
Have you considered looking at ExtDlgs.pas - this is the source to the
TOpenPicture / TSavePicture dialogs. It is a very good example of how you
can create Delphi controls for use on a non-Delphi form / dialog. You might
be able to replace your combobox with the Delphi TCombobox component.
> In order to get a dialog recource editor I had to install
> Microsoft Visual C++ which is over 300 meg, so I have a 300 meg
> resource editor. It is such a pity Borland did not think that
> Delphi developers would like such a tool, instead of providing
> such rubbish in a product called ImageEditor which has the same
> bugs since about D2, and does not edit or create resources
> anyway, except images and does that badly as well.
I agree. Delphi ought to have a resource workshop "built in". Given the
extensible nature of Delphi, this shouldn't be too difficult for Borland to
do. BTW, the various versions of the resource workshop in Borland C++ also
have their bugs, some of which carry from version to version. What we need
is a *REAL* resource editor. Any takers?
-----------------------------------------------------
Dennis Chuah, BE (Hons) [mailto:[EMAIL PROTECTED]]
Manager, Product Development
Contec Data Systems Ltd. [http://www.contecds.com]
tel: +64-3-3580060 ext-775 fax: +64-3-3588045
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz