开发者

Is there an official interface to TOrderedListEditDlg?

开发者 https://www.devze.com 2023-02-23 23:23 出处:网络
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:

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:

Is there an official interface to TOrderedListEditDlg?

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 c开发者_StackOverflow社区onsistency and the DRY principle.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消