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
3
votes
1 answer

Conditional Cancel Button on my account orders list in Woocommerce

This is in reference to Add Cancel button on My account Orders list using Woo Cancel for Customers Plugin answer: I also tried adding the function into functions.php and also get the too few arguments error: I did the same function provided by…
calwex718
  • 87
  • 2
  • 11
3
votes
1 answer

JavaFX - Cancel Task doesn't work

In a JavaFX application, I have a method which takes a long time on large input. I'm opening a dialog when it is loading and I'd like the user to be able to cancel/close out the dialog and the task will quit. I created a task and added its…
AbdelKh
  • 499
  • 7
  • 19
3
votes
1 answer

How can I have no error when press Cancel Button on openFileDialog?

Before ask, I have done a lot of searches on the internet but have not found an answer to my problem. I have one Form with a button and two Classes. When I press the button on the Form, a Dialog opens to select a file.txt from the disk. If I press…
Massimo D. N.
  • 316
  • 1
  • 6
  • 17
3
votes
1 answer

Cancel button disappears after dismissing UISearchBar keyboard

I have the following lines in my code: func searchBarTextDidBeginEditing(searchBar: UISearchBar) { searchBar.showsCancelButton = true } func searchBarSearchButtonClicked(searchBar: UISearchBar) { searchBar.resignFirstResponder() } When I…
Mohammed
  • 1,432
  • 4
  • 18
  • 34
3
votes
2 answers

Catel Cancel button in DataWindow

Then I modify "ProductName" and press "Cancel" button property is reset to passed parameter. But if i modify ProgramIds (add, or delete) and press "Cancel" button collection no set to passed. Why? I have in…
streamdown
  • 390
  • 4
  • 17
3
votes
2 answers

How to enable close button on custom dialog in WiX installer

Creating a custom dialog with WiX Toolset 3.8., I struggled to enable the close button of the dialog, and while I found some hints on the web, there was no clean answer anywhere. Adding this question for the sake of the next person to have the same…
Mike Fuchs
  • 12,081
  • 6
  • 58
  • 71
3
votes
0 answers

iOS 8 ABPeoplePickerNavigationController subview - replace cancel button

I need to show the address book in my app. Is it possible to replace or hide the cancel button? Cancel makes no sense in my view (not modal). picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate =…
3
votes
2 answers

Accept Button doesn't work

I have a problem with the accept-button inside a Windows Form. The Form contains two buttons (OK and Cancel). Inside the Form I set the properties of the cancel and accept - Button to the specific buttons. In addition to that I also created a…
user3887184
  • 43
  • 1
  • 5
3
votes
1 answer

bootstrapper application rollback

I am trying to create a Wix burn bootstrapper that installs my msi. The bootstrapper exe is working fine but the only issue is that whenever I try to cancel the installation in midway the custom actions which are added in msi is not get stopping.…
Saravanan
  • 51
  • 4
2
votes
4 answers

How to add Cancel button between two other buttons (stacked) in UIAlertView (iOS)

I am trying to create a UIAlertView with three buttons (which will be stacked). I would like the Cancel button to be in the middle, between the two other buttons. I have tried setting the cancelButtonIndex to 1, but if there are two other buttons,…
SAHM
  • 4,078
  • 7
  • 41
  • 77
2
votes
1 answer

Rails - Conditional :disable_with on submit button for form

I have two buttons for my form - a Save changes button and a Cancel button. The Save changes button has the a disable_with: 'Saving...' attribute. Because both buttons are submit buttons, the :disable_with activates even when the Cancel button is…
Nick
  • 9,493
  • 8
  • 43
  • 66
2
votes
5 answers

Windows Form Cancel Button Not Working

I have a Visual Studio, Visual Basic form that includes an OK button and a Cancel button. What I want to do is have the OK button save the options that the user chooses and of course the Cancel button discarding them and returning them to their…
Paul Williams
  • 1,554
  • 7
  • 40
  • 75
2
votes
1 answer

How to terminate a currently long running XGBoost CV process in R shiny using a Button?

I would like to implement a cross-validation model in R Shiny using the xgboost model and the xgb.cv() function. Taking into account that this process/function will take a couple of hours to be completed, I would like to add a "Cancel" button which…
MariosCh1
  • 23
  • 3
2
votes
1 answer

UISearchController Cancel Button Not Clickable

There are a lot of questions/answers to this but unfortunately none of them work. I have a subclass of UICollectionViewController, which I want its collectionView items to be searchable. I therefore use a UISearchController but handle the filtered…
ajrlewis
  • 2,968
  • 3
  • 33
  • 67
2
votes
1 answer

How would I make a cancel button work like the "X" button?

In my XAML file, I have a window and I am trying to make it so the behavior is the same whether the user clicks the "X" button, or if he clicks the "Cancel" button. My abridged code is below: public partial class Dialog : Window { . . …
Jeffrey Greenham
  • 1,382
  • 5
  • 16
  • 33
1 2
3
10 11