ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using vbCritical, vbQuestion, etc icon in custom dialogs (https://www.excelbanter.com/excel-programming/328387-using-vbcritical-vbquestion-etc-icon-custom-dialogs.html)

Raymond

Using vbCritical, vbQuestion, etc icon in custom dialogs
 
How do I use vbCritical, vbQuestion, vbExclamation, vbInformation icons in a
custom designed dialog form?

Is it possible to also use vbOKOnly, vbOKCancel, vbAbortRetryIgnore,
vbYesNoCancel, vbYesNo and vbRetryCancel in a custom designed dialog form?

Thank you

Raymond

Tom Ogilvy

Using vbCritical, vbQuestion, etc icon in custom dialogs
 
The are only applicable to a message box.

--
Regards,
Tom Ogilvy

"Raymond" wrote in message
...
How do I use vbCritical, vbQuestion, vbExclamation, vbInformation icons in

a
custom designed dialog form?

Is it possible to also use vbOKOnly, vbOKCancel, vbAbortRetryIgnore,
vbYesNoCancel, vbYesNo and vbRetryCancel in a custom designed dialog form?

Thank you

Raymond




Bill Renaud[_2_]

Using vbCritical, vbQuestion, etc icon in custom dialogs
 
<<How do I use vbCritical, vbQuestion, vbExclamation, vbInformation icons in
a custom designed dialog form?

Try placing an Image control on the form, then set the Picture property to a
small bitmap of the icon you want to use. Draw them yourself or copy them
from a screen shot somewhere (hint: MsgBox!).
--
Regards,
Bill




All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com