message dialog title

when i use code like this
[code]
messagedlg('Date Saved Successfully',mtinformation,[mbok],0);
[/code]
the title is information,how can i change the title?

Comments

  • : when i use code like this
    : [code]
    : messagedlg('Date Saved Successfully',mtinformation,[mbok],0);
    : [/code]
    : the title is information,how can i change the title?
    :
    following dialogtypes are poss :

    mtWarning A message box containing a yellow exclamation point symbol.
    mtError A message box containing a red stop sign.
    mtInformation A message box containing a blue "i".
    mtConfirmation A message box containing a green question mark.
    mtCustom A message box containing no bitmap. The caption of the message box is the name of the application's executable file.

    chris
  • : : when i use code like this
    : : [code]
    : : messagedlg('Date Saved Successfully',mtinformation,[mbok],0);
    : : [/code]
    : : the title is information,how can i change the title?
    : :
    : following dialogtypes are poss :
    :
    : mtWarning A message box containing a yellow exclamation point symbol.
    : mtError A message box containing a red stop sign.
    : mtInformation A message box containing a blue "i".
    : mtConfirmation A message box containing a green question mark.
    : mtCustom A message box containing no bitmap. The caption of the message box is the name of the application's executable file.
    :
    : chris
    :
    thanks ,i know all of these ;)
    i used to code in vb before and i could make a messagedialog
    that forxample it has the "i" icon and u can change it's title too
    (the tile is sent as a parametere and if it not sent the name of the
    project is taken as it's title)
    no can i do sth like this in delphi?

  • : : : when i use code like this
    : : : [code]
    : : : messagedlg('Date Saved Successfully',mtinformation,[mbok],0);
    : : : [/code]
    : : : the title is information,how can i change the title?
    : : :
    : : following dialogtypes are poss :
    : :
    : : mtWarning A message box containing a yellow exclamation point symbol.
    : : mtError A message box containing a red stop sign.
    : : mtInformation A message box containing a blue "i".
    : : mtConfirmation A message box containing a green question mark.
    : : mtCustom A message box containing no bitmap. The caption of the message box is the name of the application's executable file.
    : :
    : : chris
    : :
    : thanks ,i know all of these ;)
    : i used to code in vb before and i could make a messagedialog
    : that forxample it has the "i" icon and u can change it's title too
    : (the tile is sent as a parametere and if it not sent the name of the
    : project is taken as it's title)
    : no can i do sth like this in delphi?
    :
    :
    You can: use the CreateMessageDialog() function. The help files will provide more info and direction (especially the result of the function) to change the caption.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories