CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BCB1] Forms
Adding to what Robert said...
If you use the form many times, you can clear any edit boxes youv'e filled
in during the "Last Show( )", using the dialogs OnShow event;
example : Edit1->Text = "";
or any other component can be reset and strings cleared in this event.
On the other hand, if you're using new and delete operators, don't use the
default BitBtns OK/Cancel, but create your own (bkCustom)(Caption &OK) and
set the event to write your data (or whatever you used the dialog for),
then call Close( ).
Rick Malik
rmfci@pacbell.net
Visit the C++ Bulder Hobby Pages
http://home.pacbell.net/rmfci/bcbhp.htm
W Komornicki's Home Page |
Main Index |
Thread Index