Re: Command Button

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Phil Hunt escribió:
Sometimes it is not the use deciding to do something, he/she just click it by mistake. My form is basically packed with clickable buttons, labels and optionbox. I just want something less active.

Hi,

For this cases, when something is really important and you don't want mistakes, I suggest to do something like this: place a checkbox (may be with style = graphical) with caption: "advanced options" or "more options" or something like this.
Only when the checkbox is pressed, show the command button.
The command button could be there but disabled, or could be beyond the bottom end of the form, so lengthen the form when the checkbox is pressed to show the button, or something like this.

In a window of a program a had a situation where I wanted to protect the user from doing something wrong. It was about the option of restoring a backup.
It's important because if the user restores a backup just by mistake, he can't go back, and he loses all the last changes made in the program after the backup.

I designed the backup screen like this: there is a button to press to make a backup copy, there is also a label with some text, and I don't remember what else, but at the bottom there is also another button with caption: "restore a backup".
When the user presses the restore button, the form lengthen and shows more controls.
Several checkbox (noraml style) appear with options:
1) It's a new computer.
2) The hard disk was replaced.
3) I moved to use the program in another computer.
4) I want to discard from the database the lastest changes made after I made the backup.

I don't remember now what were the options are exactly, but suppose something like that.

The checkboxes behave more like options buttons, because if you select something the opther options are unselected, but with the difference that you are able to unset all.

There is another button at the bottom, that it's only enabled when a checkbox (any of them) is checked.

Clicking that button then it goes to the restore backup function.

My idea was to make the user to think why he is doing it.

It has the drawback that sometimes the users call me to ask me what option they should choose.

But because in the program, in all the other fucntion everything can be undone, and this is almost the only thing that can't be undone, and it's important because they can lose many data, I did this.

It's juts an example, I wanted to tell you how I managed a situation where I didn't want to allow mistakes.

If it isn't so much important, a simple confirmation message could be enough.
.



Relevant Pages

  • Re: Command Button
    ... Only when the checkbox is pressed, ... It's important because if the user restores a backup just by mistake, ... When the user presses the restore button, the form lengthen and shows more ...
    (microsoft.public.vb.general.discussion)
  • restore?
    ... and then use backup from there (previously i was making the mistake that ... sp1) and then restore from backup. ... Prev by Date: ...
    (microsoft.public.windows.server.sbs)
  • Re: Retriving lost documents in word
    ... Restore it from your last backup. ... clicked on the save button to save it to it's original location for some ... file over by mistake ...
    (microsoft.public.word.docmanagement)
  • Re: How to force delete Mailbox store
    ... any how i have managed to restore using the backup. ... now store is ... the mistake i have done was last restore set option was not checked ...
    (microsoft.public.exchange.admin)
  • Backup and Restore Files
    ... What is the best way to backup and restore a runtime database file? ... pszDisplayName As String ...
    (microsoft.public.access.gettingstarted)