Questions tagged [cancel-button]

A cancel button is a UI construct that usually takes the form of a normal button with the word "cancel" written on it. When clicked, it undoes or stops a specific action.

Use this tag for questions related to making or using cancel buttons on applications.

163 questions
0
votes
1 answer

Read input from a JOptionPane.showInputDialog box

I am almost done with this project. It's my very first one and I need to read a little better the inputs from the JOption box. For example, I want to go back to the previous page if the user clicks on "cancel" or close the program. So far, every…
user3150308
  • 1
  • 1
  • 1
0
votes
2 answers

C# form Close message box on button click

Is there a way to get the message box to close and return to the form without it emailing the data? halfway there atm just need a help with the second if/else if statement. I'm very new to all this. my code is below :) //Button private void…
Lelantos
  • 119
  • 1
  • 2
  • 10
0
votes
1 answer

Properly set "cancel button" in a MessageBox with ID_OKCANCEL; dialog within a dialog

I hope my description will make everything clearer. The idea is I have to create a sort of phonebook, that uses a List Control (as report), has a menu and can be saved (to an external file), loaded (from one) and you can add new contacts, edit and…
0
votes
1 answer

Cancel button doesn't close login popup in W8 Facebook C# SDK 6.1.2

I'm developing a Windows Store App using Facebook C# SDK 6.1.2 (https://github.com/facebook-csharp-sdk/facebook-windows8-sample). But, I have a problem: after opened login popup, if user click on Cancel Button nothing happened. I think that the…
0
votes
0 answers

Accept Button and Cancel Button in a Panel in Windows Forms .NET

I am working in Windows Forms. I have a Form which has two panels. Both panels have OK and Cancel buttons. I want them to behave as Accept and Cancel button (Similar to Form's AcceptButton and CancelButton), for their respective panel(container). So…
Brij
  • 11,731
  • 22
  • 78
  • 116
0
votes
1 answer

Javascript prompt box with only OK button

Is it possible to customize a javascript prompt box to have only OK button? In my PhoneGap app I need a box just like normal javascript alert that has only he option to click OK, but it should also have a text field for user input. And yes, I know…
user1256852
  • 53
  • 4
  • 13
-1
votes
2 answers

c# cancel big operation with CancellationTokenSource

I have wpf application that run some math operations . When Start button click i calculate some math, and return value to Gui . every operation has some loop inside. I want give the user Cancel click that stop all the calculate immediately. I saw …
-1
votes
1 answer

Why does hitting the cancel button put spaces and a carriage return into the textarea?

For some reason, when I hit the "cancel" button, the textarea receives 26 spaces before any text currently in it and a carriage return after it. This is when the cancel button is styled traditionally (HTML only) as such:
-1
votes
1 answer

Adobe ESTK Cancel button that really cancels

Is it really that hard? Is my google-fu obtuse? How the heck do I make a cancel button that CANCELS the execution of the rest of the script? My script is dumb. I'm not a good coder, I know that, but here's what I've got: I'm automating INDD CScloud.…
JawzX
  • 293
  • 1
  • 2
  • 15
-1
votes
1 answer

windows phone done and cancel buttons

Is it possible to access the built in 'done' and 'cancel' buttons to check which was touched/clicked. I am using the timeSpanPicker control and want to check if, when the control has been tapped, the user has confirmed a new time span or cancelled…
-2
votes
1 answer

Cancel button in html

How do you make a cancel button in a form that will return you to the home page? I do not know where to start for it. Tried to create it already with no good result. Keep getting a ticked box. Any ideas?
eoghacmc02
  • 11
  • 1
-2
votes
2 answers

how to navigate to another view with cancel button click on iphone photo album

I'm working with tabBarBased Application. - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker This method is called at the time of clicking the cancel button in iphone photo album..while clicking the cancel button i want to…
Varshu
  • 64
  • 10
-2
votes
2 answers

In C# Windows Forms, does setting a form's CancelButton property to a button automatically close the form on the button click event?

Or by setting the CancelButton property of the form, we just ensure that the button gets enabled on pressing Esc key on the form, but the click event needs to be handled by writing a separate event handler?
Hemantika
  • 1
  • 1
1 2 3
10
11