How does one make an alert pop up that allows users to select items from a list, confirm their choice with an OK button, or cancel with a Cancel button.
I'm currently doing it with input() and adding "Cancel" to the end of the list, but I'd rather have a nice little button.
I'd rather not use arguments in a verb because that doesn't allow for me to set prompts/titles on the popup box.
ID:169322
![]() Jul 5 2005, 3:33 am
|
|
![]() Jul 5 2005, 3:39 am
|
|
F1 alert(). You can enter names for up to three buttons.
|
Add null to the types of input it takes.
client/verb/test() |
Wah? What do you mean? Do you mean like:
mob/verb/test() ? |
How would you do it with an input box with Ok and Cancel for a msg to the world, but instead of having to choose Okay or Cancel theres a text input box. Just the buttons are there.
|
Something like this?
mob/verb/WSay() Arguments already have cancel buttons, but they don't allow you to define titles and messages on the box. |
I am just wondering but. I am used to use:
(var/msg as text) But is that null you putted there really needed? If so why? O-matic |
O-matic wrote:
I am just wondering but. I am used to use: (var/msg as text) But is that null you putted there really needed? If so why? It wasn't needed, I was wrong, but I ninja edited it to fix it :P The problem I have with using args is you're not allowed to define what it says in the input box... at least, as far as I know, you're not. |