This question is related to How do I ask the user for a file name?
The issue of 'Standard dialogs'.
How do I call a Yes / No / Cancel dialog and how to I call an alert in Pharo 4.0?
You can use
UIManager default question: 'foo' title: 'bar'.
which answers true
for Yes, false
for No, and nil
for Cancel.
Similarly, an alert can be shown like this:
UIManager default alert: 'Hello World'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With