Hi Mohammad,
Post by MohammadHow can I create a MessageDlg in IntraWeb?
Another quote from the IntraWeb courseware manual:
"The TIWApplication.ShowMessage method displays a message to the user ...
procedure ShowMessage(AMsg: String;
const AType: TIWShowMessageType;
ATemplate: String);
The AMsg String is the message to be displayed to the enduser in the
browser.
The message can be displayed in different ways, however, which is
controlled by the AType argument of type TIWShowMessageType, which can
be one of the following values:
- smNewWindow displays the message in a new pop-up window.
- smSameWindow displays AMsg in the same window and replaces the current
page with AMsg. Clicking OK returns to the previous window with the
previous page again.
- smSameWindowFrame works the same as smSameWindow, but in this case
AMsg is displayed in a scrollable frame on the page.
- smAlert displays a popup modal dialog to the user.
The ATemplate String allows us to specify a template to use as well. For
the format of the template see the IntraWeb Manual. If no template is
specified, IntraWeb will attempt to use the IWShowMessage.html template.
Templates are ignored when AType = smAlert or AType = smNewWindow."
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Delphi Win32 & .NET books on Lulu.com: http://stores.lulu.com/drbob42
Personal courseware + e-mail support http://www.ebob42.com/courseware
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml