自定义对象检查器组件? [英] Custom Object Inspector Components?
问题描述
我正在处理的项目中有多个表单,每个表单包含各自不同的属性和值编辑,例如TEdits,TTrackBars和TSpinEdits等。这些表单的工作方式与InputBox对话框在其显示位置的工作方式类似表格中,您输入一个值,如果ModalResult为mrOk,则可以相应地处理结果。
我现在意识到这不是最实用的解决方案,尤其是几种表格,甚至更多。我认为这里最好的GUI设计选项将类似于Main窗体上可信赖的Delphi Object Inspector,它也更易于维护。
我不做什么虽然我们需要的是一个显示组件类属性的对象检查器,但是我想用我自己的字段和类型填充对象检查器。
到目前为止,唯一我发现接近的组件是在此处找到的Berg NextInspector:
I have several forms in a project I am working on, each form contains their own different properties and value edits such as TEdits, TTrackBars and TSpinEdits etc. These forms work in a similar way to how a InputBox Dialog works where it displays the form, you enter a value and if the ModalResult is mrOk you handle the result accordingly.
I am now realising that this is not the most practical solution especially with several forms, and even more to add. I think the best GUI design option here would be something similar to the trusty Delphi Object Inspector on the Main form, it would also be easier to maintain.
What I don't need though is an Object Inspector that displays properties from a component class, but instead I want to populate the Object Inspector with my own fields and types.
So far the only component I have found that comes close is the Berg NextInspector found here: http://www.bergsoft.net/component/next-inspector/overview.htm which allows filling the Object Inspector with your own data:
I would like to see the alternatives before considering purchasing the above so I can weigh up my other options and compare the pros and cons between different component libraries.
So far I have not found anything that works like this one, most just seem to mimic the Delphi Object Inspector which is not what I want.
Is there any other Object Inspector components similar to the Berg Next Inspector to allow custom fields and types?
You can do with Virtual Treeview
这篇关于自定义对象检查器组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!