Message 1 of 2
How to grab command input data from DropDown list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Forgive me, I am still trying to figure out how to use and read the object reference manual. I can't figure out how to grab the data from a dropdown list.
Here is my command input:
qty = inputs.addDropDownCommandInput('qty','Quantity',1) list_items1 = qty.listItems list_items1.add('2',True,' ') list_items1.add('4',False,' ')
Then in the execute handler, do i grab the selected item with this code?...
qty = inputs.itemById('qty').selectedItem
I want to return the selected item value. I want to use the integer 2 or 4 in my program input. How to?
Regards,