Dialog Support

TDialogView provides minimal dialog support. You can use TDialogUtilities to create a a set of common dialogs based on TDialogView. There is also a color chooser dialog that you can use for dragging and dropping colors.

TDialogView manages tabbing between a specified set of text entry fields and the processing of OK and Cancel buttons. It does not support arbitrary keyboard navigation between any controls in a dialog, nor does it support.

Figure 59 shows some of the common dialogs.


Dialogs also adopt a state which gets called to process the user's final input. The state has Accept and Cancel methods. Your state subclasses can override these methods to query the rest of the information out of the dialog and perform the appropriate action. The default implementations will hide the dialog. The enter key is wired up to select the default button. The escape key is not wired up to the cancel button.

NOTE Future releases of the CommonPoint application system will provide a more general dialog framework.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker