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

Action sheet doesn't having cancel button on iPad

I am using xamarin.forms, in my code, I have action sheet it is not having a cancel button in iPad. In iPhone, I can see the cancel button but not in iPad var action = await DisplayActionSheet(null, "Cancel", null, "string 2","string2"); What wrong…
shamnad
  • 328
  • 5
  • 21
2
votes
2 answers

How to get Double Buttons to "fire" in Bootstrap

I have a Bootstrap form with Double Buttons (2) as shown below. The submit button fires and returns processing to the page (i.e., ['PHP_SELF']) However, the cancel button does nothing How can I get both buttons to fire and return processing to the…
H. Ferrence
  • 7,906
  • 31
  • 98
  • 161
2
votes
0 answers

c# printing how to handle cancel button?

Basically the application already can handle printing using printPageeventArgs and printed successfully. However the problem now is I'm not sure how to handle if user decided to cancel printing. Kindly refer to the below image: Now instead of user…
SuicideSheep
  • 5,260
  • 19
  • 64
  • 117
2
votes
1 answer

p:commandButton doesn't call action on validation error

So i have this cancel button: The widget which the cancel button is on () has a date field. Everytime i open the dialog,…
eight
  • 339
  • 1
  • 5
  • 16
2
votes
2 answers

MVVM get Validation of ContentPresenter and CancelEdits

I have built a simple TestClass for you: following Classes: public abstract class Person : INotifyPropertyChanged public class Adult : Person public class Child : Person Person: FirstName + LastName Adult: Company Child: School I store this…
MisterPresident
  • 563
  • 7
  • 20
2
votes
2 answers

How do I close my prompt when the user presses the ESC button?

public int dialog() { Form prompt = new Form(); // creates form //dimensions prompt.Width = 300; prompt.Height = 125; prompt.Text = "Adding Rows"; // title Label amountLabel = new Label() { Left = 75, Top = 0, Text =…
puretppc
  • 3,232
  • 8
  • 38
  • 65
2
votes
3 answers

$find().click not working

I've got multiple cancel controls for my modalpopup, but only btnCancel is working, the $find().click isn't working, I'm receiving "Error: Unable to get value of the property 'click': object is null or undefined" Any help would be greatly…
user1801525
  • 125
  • 2
  • 5
  • 16
2
votes
2 answers

wxLua - How do I implement a Cancel button?

I have a wxLua Gui app that has a "Run" button. Depending on selected options, Run can take a long time, so I would like to implement a "Cancel" button/feature. But it looks like everything in wxLua is working on one Gui thread, and once you hit…
Stomp
  • 890
  • 1
  • 6
  • 19
2
votes
3 answers

How to cancel alarm in android?

I'm working on an app where I create events and set alarm for the events. I need to know how to cancel alarm. I'm having trouble with it. Anyone can help me please, thanks. UPDATE Posted the code, see the code below. AlarmClass.java Button…
Preeyah
  • 363
  • 3
  • 16
  • 42
2
votes
2 answers

Stateful Winform and Cancel Buttons

With the prevelence of the "OK" and "Cancel" buttons at the bottom of forms/dialogs, it is odd to me that I can't seem to find a "standard" way to save control state. For instance, I have a checked list box of filters. When the user clicks the OK…
Steve H.
  • 3,283
  • 4
  • 24
  • 32
1
vote
1 answer

When using a SearchBarDisplay, how to change name of the cancel button

When setting a SearchBarDisplay, using IB or programmatically it gets a Cancel button right to the search window. The text on the button says "Cancel". How do I change text to another language. I know how to change text for a Done button at the…
Lars -
  • 501
  • 1
  • 10
  • 27
1
vote
0 answers

additional button on uisearchbar

I would like to add another button next to the cancel button on the uisearchbar. This button appears just like the cancel button only when the user clicks on the searchbar. What method would be best for doing this? Thanks
user542584
  • 2,651
  • 2
  • 25
  • 29
1
vote
1 answer

Delphi Code for Cancelling or Continuing the lock attempt and Display an Alert When User Locks Computer

This is a toughie (I am obviously new to Stack Overflow)! Delphi code for displaying an alert (reminder) to sign out when a user locks their PC. I believe this would need: Detect locking their Windows 7 or 10 computer / workstation. Display a…
ScottMan
  • 11
  • 2
1
vote
0 answers

Picker Title show top position while click cancel in popup using xamarin forms

We are using visual material picker control in our app. If I select anything from the picker popup title shows the top and selected value below. If I click cancel from the picker popup title also shows top. It should be in the default state. How to…
1
vote
1 answer

Inputs do not reset after clicking cancel button and reopening the view

I have a form with some text fields, toggles and pickers. Everything works just fine except for When I input something on text fields and click cancel button and reopen the form, inputs are still there. Just can't figure out why. Now, the app I'm…
Ali
  • 11
  • 2