[Closed] previous dropdown value
Is there a way to get the previous dropdown value when calling
’ on dropDown selected item do () ’
So i can get what the value was, before someone selected a new value?
Or do I have to keep a local value that houses that information?
Thanks
use ini setting will do it…everytime you selected the drop down just set the ini file, by that way you could call it again, make it on ini file “last” //…like
[lastSection]
selected=5
then in ur script , evertime you call it do the last, or whatever then do the last thing based on last dropt down value on ini.
confuse ?!
nothing better but it had one advantage…it stores in file so when you kill the max you will able to call it again. im not script genius, still on newbie phase…so apologize if im wrong
Yeah INI would work if you need to store it for later use(if you shut down and open max) but I guss lo was just confused as to why anyone would store a dropDown menu selection for later use other then immediate use! people usually use INI to store UI size, position and choices like checkBoxes and what not.