Is there an official interface to TOrderedListEditDlg?

197 Views Asked by At

In an expert, I'd like to re-use the dialog that Delphi displays to edit a project's library path and for similar purposes:

enter image description here

I found a hack for using it (look for TOrderedListEditDlg on the page). As I think the guy who wrote the linked article knows what he does I don't have too much hope for a less hacky solution, but who knows... So: Do you know an official interface (most probably OTA) to TOrderedListEditDlg?

PS: I'm aware that it's probably trivial to recreate the whole dialog but I like consistency and the DRY principle.

1

There are 1 best solutions below

0
On BEST ANSWER

You're right, I couldn't find an official way, that's the only reason I used this hack.

BTW, check out the INTAEnvironmentOptionsServices and INTAAddInOptions interfaces mentioned here. You can incorporate your configuration in Delphi's Environment Options treeview. But TOrderedListDlg still doesn't seem to be exposed officially.