Goodmorning all,
I want to save all tile in a DCL dialog when it unload (store in a list), and when it reload, Dialog can restore all value of controls from last value, how can i do it??
When the first dialog load, it will show "default"
Now i goto change it to "new"
And i need in the next time load, it show "new", not "default" any more
I find a link below, but i don't know what/ and how i can use
http://www.cadtutor.net/forum/showthread.php?54791-DCL-Image-slide-by-list-box-amp-edit-box-help!&
You may want to look at localising variable by LM
http://lee-mac.com/localising.html
and prompting with a default option by LM
http://lee-mac.com/promptwithdefault.html
Thank you,OK, i understand assign value to one control now, but i want do it with all of control in dialog (have many other control ) or i have to do with each of them ?
I started learn DCL yesterday, so ....
You might want to write the dialog input to a file then retrieve it when the dialog opens.
This will give you more options later as you write bigger more complicated projects.
Once you get comfortable with it you can have programs that allows the user to save different settings and then load those settings.