company logo

EditEntry - Edit currently selected entry (F4)

The action displays the currently selected instance in a list or single line edit field. In order to show the instance, it checks first, whether a design class (ADK_Class) has been implemented for the current data type of the selected instance. When such a design class exists, it is checked, whether a window (ADK_Window) with the name Edit has been implemented or not. When such a window could be found, instance data is shown by opening the Edit window for the data type.

Otherwise, a generic window will be displayed:

The generic window displays the attribute and MEMO properties in a transposed table view (left). When the data source has been opened in write mode, attribute values might be updated. The second tab displays the references and relationships. Owning references/relationships are displayed with bold face letters.

Notes:

The generic Edit window feature is not available automatically. In order to make this feature available for your application, the StdEdit window as being defined in the VOID class has to be renamed to Edit, context classes cStdAttributes and cStdReferences have to be compiled and linked into the application. After this has been done, the generic edit window should also work for your application.