Sam

Sam

  • NA
  • 166
  • 0

Keep combo box text on form closure

Dec 20 2011 5:44 AM
Hello all,

I have a combo box in which I have a list of items, each representing a variable part of a file name.
I want to start my application with data from a file name derived from the last selection in the Combo box whith which the application was closed.

Combo Boxes (as well as other controls?) do not preserve their last selection when the app is closed / opened.

Is there a way to 'remeber' the last selected text in the Combo Box?

Is there a workaround or a 'trick' ?
(I have tried several worarounds, like changing a textbox text in runtime, but all controls seem to start fresh and clean).
Thanks
sam

  

Answers (9)