answersLogoWhite

0

Typically you will code 'save' and 'save as' buttons together since they work together. The 'save' button should invoke the object's serialise method passing the direction of serialisation (in or out) along with an archive object that contains the file name associated with the object. The 'save as' button simply prompts the user for a file name and, if successful, associates that file name with the object before invoking the 'save' button.

Note that the 'save' button should be disabled unless there is a file name associated with the object and the object has been modified since it was last saved. The 'save as' button should be enabled at all times.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

How do you save webpages in. pdf format?

If your are using a mac select the File menu button go to the button that says Print... and select the PDF button and click save as PDF.


Should you save in Pokemon diamond after using an action replay code?

it depends on whitch code. Dont save if you are in mystery zone by using the walk through walls code.


Why won't my answers save?

There may be a problem with WikiAnswers. Sometimes the 'Save' button does not work temporarily. Also, it may be a problem with JavaScript on your computer, as the 'Save' button works by using JavaScript.


How can I reset my garage code?

To reset your garage code, locate the reset button on the garage door opener unit. Press and hold the reset button until the indicator light blinks. Enter a new code on the keypad and press the enter button to save the new code.


How do you make a button on HTML?

You use the input tag and the button type. Value will specify what appears on the face of the button. All input tags should appear inside form tags. The following will create a simple button, that when clicked will pop up a message, using a bit of javascript. Copy and paste it or type it exactly as it is into your code and it will work. <FORM> <INPUT Type=Button value="Click Here" onClick="alert('Hello');"> </FORM>


How do you submit a new answer?

you can search answers using your keyword, then select the question then you can click answer it button, then type your answer and click save your answer will be save.


How can I reset the garage code for my automatic door opener?

To reset the garage code for your automatic door opener, locate the reset button on the opener unit. Press and hold the button until the indicator light blinks. Then, enter a new code on the keypad and press the "Enter" button to save the new code.


How can I change the code for my garage door?

To change the code for your garage door, locate the control panel on the garage door opener unit. Enter the current code and press the "Learn" button. Then, enter a new code and press the "Learn" button again to save the new code.


How can I reset the garage code?

To reset the garage code, locate the reset button on the garage door opener unit. Press and hold the button until the indicator light blinks. Then, enter a new code on the keypad and press enter to save the new code.


How do you save on Sims 3 for wii?

You go onto the pause menu(presing plus button) then you go to the 3rd picture and it will say save! click on it and pick a slot then save it!


How do you Open a text file as C plus plus source code?

All C++ source code is is a text file with the .cpp extension. So if you save your code as *****.cpp then it is automatically C++ source code.


How do you delete a save file in Pokemon soulsilver?

just simply press up on the control plus B button and then the select button all at the same time ( up + B button + select)