|
TPJVCLMsgDlg
TPJVCLMsgDlg class description
TPJVCLMsgDlgProject: Message Dialog Components. Unit: PJMessageDialog. TPJVCLMsgDlg provides a customisable message dialog box that is based on that provided by the Delphi CreateMessageDialog function. The component provides a similar (but extended) interface to the TPJWinMsgDlg component but uses a different method to display the dialog box. This component is recommended when a finer degree of control to that provided by TPJWinMsgDlg is required. The text displayed in the dialog box is determined by the Text property. Various button groupings can be displayed using the ButtonGroup and/or Buttons properties. Setting a non-zero HelpContext causes a help button to be displayed. The Kind property allows a choice of various standard dialog boxes and icons to be displayed. A user defined icon extracted from a named resource, specified by IconResource can also be displayed. The window title can be customised using the Title property, otherwise a default title is used that is related to the kind of icon being displayed. The MakeSound property determines whether an appropriate system sound is generated when the dialog is displayed. It is possible to set how the dialog box is to be aligned to screen or form using the Align property in combination with the OffsetLeft and OffsetTop properties. The dialog box can be invoked with the Execute method or an instance of the dialog can be created using the CreateDialog method. In the latter case the user has responsibility for showing and hiding the dialog and destroying the instance. Methods
Properties
Events
| ||||||||||||||||||||||||||||||||||||||||||||||