1.自己取的,给Table取的名字。
2。应该是在Table.applyUpdates时。

解决方案 »

  1.   

    你根本就没有好好去看这个sample。你好好去看一下就明白我的意思了。  我的第一个问题是在编辑时的窗体上根本就找不到CustomerCDSOrderTable,他是同customerCds一起create的。但我不知这是怎么一回事。 第二个问题。不要随便说应该,去看看就知了。
      

  2.   

    1)你双击CustomerCDS,就会看到是怎么回事了。
    2)TAction的OnUpdate的触发是在Occurs when the application is idle or when the action list updates.
    When the application is idle, the OnUpdate event occurs for every action that is linked to a visible control or menu item that is showing. This provides an opportunity for applications to execute centralized code for enabling and disabling, checking and unchecking, and so on. For example, the following code illustrates the OnUpdate event handler for an action that is 揷hecked?when the toolbar is visible. This example requires a TActionList (with one TAction) and a TToolBar on a form.
    你是不是不看Help的。
      

  3.   

    其实我已经搞定了。我不是不看help只是原来没有用过actionlist。不知到其中的奥秘。只不过还是要谢谢你的热心,分就给你了。