Scripting

 From:  Michael Gibson
7238.57 In reply to 7238.56 
Hi Brian, well it kind of depends on how you want to structure the script - a dropdown (which will display in listbox mode if you use the size attribute like that), is good if you're trying to make things interactive with something updating when the dropdown is changed.

If you want something more simple like you just want the user to decide between 2 different possible modes of operation for the rest of the command, and you're not wanting to make it a choice they can flip back and forth and see something change immediately in response to that, it might be easiest to just make 2 <moi:PushButton> elements and then when the user clicks on one of those buttons that's what controls the mode you use after that. Does that sound like something that would fit? An example would be the Edit > History command, it shows 2 buttons like that.

Let me know if I have misunderstood what you're trying to do or if you need more information.

- Michael