If you use a data model, you can reassign the model to a new instance of the 
model class.

From: [email protected] [mailto:[email protected]] On Behalf 
Of Jonathan Arnold
Sent: Monday, December 22, 2008 1:25 PM
To: [email protected]
Subject: [flexcoders] Reset a form


I have a fairly complicated modeless form. Once the user clicks "Add", it should
send information based upon the current settings and then reset all the controls
to a known state. Is there any easy way to do this besides just hard coding all
the settings in a ResetForm function?

--
Jonathan Arnold http://www.buddydog.org

"Klingon multitasking systems do not support "time-sharing". When a
Klingon program wants to run, it challenges the scheduler in hand-to-hand
combat and owns the machine."

Reply via email to