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

UISearchBar cancel button issue

in my app i have a sectioned and indexed tableview. i successfully managed to implement a UISearchBar to that tableview. it filters the table view when i start to type into the search box. however i could not be able to use Xcode's Cancel button…
0
votes
2 answers

VB SaveFileDialog if cancel then

When the user presses the "Cancel" button in SaveFileDialog I want to rename a textlabel. Private Sub SaveFileDialog1_FileOk(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles SaveFileDialog1.FileOk Label6.Text = "Saved!" End…
Mathijs
  • 65
  • 3
  • 11
0
votes
2 answers

Implement cancelRequest

I am implementing cancelRequest for ongoing call. I try to send Request once the session is established. the cancel function worked the first time I implemented it but now it says transaction exists. How do I fix it? else…
gourig
  • 81
  • 1
  • 11
0
votes
5 answers

onActivityResult error when I press "cancel" button on my second Activity

I have the next activities: Activity1 //declare private static final int SAVE_DATA_FROM_ACTIVITY = 203; //........... not important code //button to open second Activity public void btn_openSecondActivity(View view) { Intent…
Aspicas
  • 4,498
  • 4
  • 30
  • 53
0
votes
1 answer

Cancelling Process in C#

I have 1 form and datagridview in it. When I click update button,new forms open with progressbar only. In that form I have 2 functions. 1 for connecting email and downloading excel file. The other for reading excel file and updating my database. It…
inanc
  • 1
  • 1
0
votes
1 answer

UISearchBar Cancel Button Language

I'm trying to change the language of the ui search bar cancel button title to Chinese. I've tried a few of the solutions mentioned for iOS 7 but can't get them to work. Any help is much appreciated.
Ibdakine
  • 504
  • 4
  • 17
0
votes
1 answer

cancel button saves empty row to db cakephp

I m learning Cakephp concepts, below is the code for my controller in cakephp, save happens successful but cancel adds empty row to database. Form->create('Customer'); echo $this->Form->input('customer_name'); ..... …
Sandeep Kumar
  • 25
  • 1
  • 8
0
votes
0 answers

How to put a "cancel registration" link in an email

I'm working on a registration system that sends a confirmation email after a user registers for an event. I'd like to include a link in that email that allows them to cancel their registration. Is there an easy/standard way to do this?
Captain Stack
  • 3,572
  • 5
  • 31
  • 56
0
votes
3 answers

Cancel AlertDialog in onPause method of Activity in Android

following is my code for AlertDialog, AlertDialog.Builder alertDialog = new AlertDialog.Builder(mContext); alertDialog.setTitle("GPS settings"); alertDialog.setMessage("GPS is not enabled. Do you want to go to settings…
Rajesh Panchal
  • 1,140
  • 3
  • 20
  • 39
0
votes
1 answer

resize uisearchdisplaycontroller width when click cancel button

I want to change width of uisearchDisplaycontroller when click cancel. i add my code for reference... mySearchBar = [[UISearchBar alloc]init]; [mySearchBar setDelegate:self]; resName_search = [[UISearchDisplayController alloc]…
0
votes
2 answers

Cancel Button on Java

So I'm trying to make a java applet and I am trying to make a cancel button, so when it is clicked, it exits out. I keep getting an error where it says cannot find symbol - class MyMouseListener2 button1.addMouseListener(new…
Alyssa
  • 27
  • 1
  • 5
0
votes
1 answer

Setting Cancel button on uiactionsheet causes last item to disappear

I am dynamically adding buttons to my uiactionsheet. I end with adding a "Cancel" button, but if I either use the method setCancelButtonIndex or manually set the index, "Cancel" does not show. If I exclude the setCancelButtonIndex call, Cancel is…
0
votes
1 answer

How do I enable cancel button with form validation?

I'm using the frmvalidator javascript found here for my code. I had to create a custom validation because I'm validating two input fields with the same id (I'm using an array). The validation is working, the problem now though is when I click the…
abigail_g
  • 37
  • 9
0
votes
1 answer

Adding a cancel button to my JOptionPane

My question is the inverse of this one: Is there a way to only have the OK button in a JOptionPane showInputDialog (and no CANCEL button)? One solution to that was (if I read correctly) to add an arbitrary JPanel, in that instance a label. My…
Lenoxus
  • 545
  • 1
  • 4
  • 19
0
votes
1 answer

save and cancle action in spring

I have a question regarding save and calcel button. I have one Editable screen where user can perform 2 action: Save/Cancel Suppose user clicked the save button which is going to update details in database. This processing takes time. So in between…
1 2 3
10
11