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 to reset the lock code of omega suitcase?

To reset the lock code of an Omega suitcase, first ensure the suitcase is closed. Locate the reset button or lever, usually found near the lock mechanism. Press and hold this button while setting your new code by turning the dials. Release the button to save the new code, and test it to ensure it works before using the suitcase.


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.


What is the cox cable remote code for Sony Bravia tv?

To program a Cox cable remote to a Sony Bravia TV, you can try using the code "10000" or "10178." If these codes do not work, you can use the remote's code search function by holding down the "TV" button and pressing "Setup" until the TV button blinks, then enter "999" to search for the correct code. Once you find the code, make sure to save it by pressing the "Enter" button.


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 make a donate button on Ucoz?

To create a donate button on Ucoz, first log into your Ucoz control panel and navigate to the "Design" section. From there, select "HTML Code" to add custom HTML. You can generate a donation button using services like PayPal, copying the HTML code they provide and pasting it into your Ucoz site. Finally, save your changes and check your site to ensure the button appears correctly.


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 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 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 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.