Hi Deryk,

 One of the reasons you are getting errors is that an 'inform dialog cannot
be shown as the first/only face. But as below shows you can re-use you
dialog as much as you like after it has a parent face.

; this works
view layout [
   button "this" [inform-error "Title Text" "This is some error text."
"Okay"]
   button "that" [inform-error "Title Text" "You pressed 'that button."
"Okay"]
]

Another thing to remember, 'Layout is for creating a 'face using VID or VID
styles.
If you look at your layout. You can see that you are not providing a style
in your layout block.
Hence the unrecognised style errors in...

> view layout [
>   inform-error "Title Text" "This is some error text." "Okay"
> ]


Cheers,

Allen K






Reply via email to