What about when one is working with a window other than the MsgBox?

Does one use an ImageWell? Or is there something else that should be used for placement of a standard warning icon?

Regards,

Chuck

On Jan 4, 2006, at 12:17 PM, Steve Garman wrote:

On Wed, 4 Jan 2006 19:11:59 +0000 Getting Started was sent the following
email

Try something like:

  dim d As new MessageDialog
  dim b As MessageDialogButton

  d.Icon = 1 //or whatever icon you want

  d.Message = "RB"+RBVersionString
  b = d.ShowModal


I could also have used

  d.Icon = MessageDialog.GraphicNote

Sorry, I just realised Lee and I must have been talking about different
things.

The constants MessageDialog uses are:

You can use the following class constants to specify the icon:
-1 - GraphicNone
0 - GraphicNote (The application icon on Mac OS X)
1 - GraphicCaution triangle (On Mac OS X, the application icon superimposed
on the caution triangle)
2 - GraphicStop (On Mac OS X 10.3 and above, the application icon)
3 - GraphicQuestion icon (On Mac OS X 10.3 and above, it is the same as 0)

(from the LR)




--
Steve Garman
Using REALbasic 2005r4 Professional on Windows XP Pro


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to