I’ve got an older app that I’m cleaning up. I want to bring it all up to date. I’m getting this warning in the Project Analysis. It’s the first one in a long list. I can’t find anything about it in the docs or on this forum. If anything recent posts here suggest it’s being done this way. Here’s the warning and the line of code. It’s just the standard code copied out of the docs.
How do I update my code to use IconTypes.Caution? I’d be happy to read about it myself. Just can’t find anything.
App.FileAbout, line 3
GraphicCaution is deprecated. You should use IconTypes.Caution instead
d.Icon = MessageDialog.GraphicCaution // display warning icon