The following script behaves very strange indeed, especially when run on Windows:
Code: Select all
@REQUIRE "RapaGUI", { Link = True }
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show no icon.", "OK", "None")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show an information icon.", "OK")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show an information icon, too", "OK", "Information")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show a question icon.", "Yes|No", "Question")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show a warning icon.", "OK", "Warning")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show an error icon.", "OK", "Error")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show a button labeled 'Ok' and not 'OK'.", "Ok")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show two buttons.", "Ja|Nein", "Question")
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show three buttons.", "One|Two|Three")
On OS4, the buttons are correct, but the icons are missing in all cases.
Tested with HW 9.0.