Hi everyone, I’m a newbie to maxscript, I have something to ask about dropdownlists.
for example
rollout test "test"
(
dropdownlist test "test" items:#("A","B") height:6
button btn_test "get selection"
on test selected i do
(
print test.items[i]
)
on btn_test pressed do
(
print test.items[test.selection]
)
)
createdialog test
the question is, how does item “A” (actionMan.executeAction 0 “16” – File: New Scene, Clear All) perform if the “get selection” button is pressed?
and item “B” appears (actionMan.executeAction 0 “40010” – File: Import File) if “get selection” button is pressed?
I really appreciate any reply, thank you