Delphi Basics : MessageDlg command
0 is the help context, if you have any. Normally just leave it at 0.
Thread: MessageDlg, wut does this mean? |
Hi,
I have something like this :
if MessageDlg ('Wrong Password! Try Again?', MtWarning, [MbYes,MbNo],0)=mrNo
then close;
What does the 0 (bolded) after MbNo mean?
Thanks
PS. I have done some tests, and by putting the number 1 or 2 or 1000 in place of the 0 has no effect.
Delphi Basics : MessageDlg command
0 is the help context, if you have any. Normally just leave it at 0.
CodeCall Blog | CodeCall Wiki
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
"The HelpContext value is used in conjunction with the Help button. It's use is beyond the scope of Delphi Basic"
So, its not really important right? Thnks
PS. Can you just tell me what it does? For future reference, thanks
If you're using a help document that you want to be able to link to (pressing F1 from the dialog), it'll tell you where in the document to open.
CodeCall Blog | CodeCall Wiki
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
Oh right, thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)