MessageBox('This should be on top.', 'Look', [smbOK]);
smbOK A button with the caption 慜K? smbCancel A button with the caption 慍ancel? smbYes A button with the caption 慪es? smbNo A button with the caption 慛o? smbAbort A button with the caption 慉bort? smbRetry A button with the caption 慠etry? smbIgnore A button with the caption 慖gnore
smbCancel A button with the caption 慍ancel?
smbYes A button with the caption 慪es?
smbNo A button with the caption 慛o?
smbAbort A button with the caption 慉bort?
smbRetry A button with the caption 慠etry?
smbIgnore A button with the caption 慖gnore
Application.Messagebox('标题文本','提示文本',MB_OKCancel+mb_information)
同理
Messagebox(handle,'标题文本','提示文本',MB_OKCancel+mb_information)
是这样写的。想在FORMR 的ONCLOSE事件中