How do you make a dialog show up right when you open scratch?
(Like in Panther, the Panther News)

Offline
Bumpppppppppppppp

Offline
trinary wrote:
Look at the code for Panther.
Where is the code in the browser?

Offline
jvvg wrote:
Just rip another mod, that's what I did.
Yeah, you did didn't you
**
Bingo has a dialog, and the way I did it was to add code in the "startup" method of ScratchFrameMorph to make a DialogBoxMorph show.
It's actually called startup, and it does all sorts of things like resetting categories and opening projects if needed. So just add a line somewhere in the code that looks a bit like this:
DialogBoxMorph inform: 'hey guys!' title: 'news'.
Offline