delphi编译好的程序,在运行程序中,由于客户提出不显示某个字段,我想的想法 
  1 不通过进入delphi ,只在这个窗体上增加一个设计器,点击设计器后,就象可以进入窗体设计界面,可以修改字段属性,不让显示,或调整字段位置, 
  2 同时满足不能改代码,或看不到代码,即只能看到字段的部分属性。

解决方案 »

  1.   

    TdxRTTIInspector is designed to display the individual properties of any control placed onto a form at runtime.Unit
    dxOI TdxRTTIInspector = class(TCustomdxRTTIInspector)Description
    You often have to modify property values of your application controls at runtime.  You can do this in code but your end-users will not be able to control them as their needs dictate.  The ExpressRTTIInspector control gives you the ability to allow your end-users to modify all the necessary properties of any control inside your application.  Use the InspectedObject property to specify the control whose properties will be displayed within the ExpressRTTIInspector.  You can modify the set of displayed properties via the OnFilterProperty event.  You also can display a subset of properties: For instance the following code forces the ExpressRTTIInspector to display only the Font properties of an edit box control:dxRTTTIInspector1.InspectedObject := Edit1.Font;该控件的说明。