Message 1 of 2
iLogic InputBox remember

Not applicable
06-29-2011
05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I write my code in such a way that my InputBox remembers the last setting?
Currently, I spawn my InputBox thus:
Screen_Opng_Height = InputBox("Screen Height", "Screen_Height", "30")
Parameter("Cover:1", "Screen_H") = Screen_Opng_Height
What I would like to do is substitute for the value "30" the current value of the model part parameter that uses this value, something like
Screen_Opng_Height = InputBox("Screen Height", "Screen_Height", (Parameter("Cover:1", "Screen_H")))
This way, when I have to run the rule again to tweak the model it is not being constantly reset to the default value in the InputBox statement.
Any ideas?
Thanks,
Mike