Questions tagged [button]

Buttons are simple elements in graphical user interfaces that take mouse clicks or finger taps (on touch devices) as input.

In computing, a button (sometimes known as a command button or push button) is a user interface element that provides the user a simple way to trigger an event, like executing a query on a search engine or to interact with dialog boxes to confirm an action.

When asking questions specific to a particular framework or language, it's best to use the appropriate tag instead (if it's available). For example, the HTML <button> element should be tagged with , iOS buttons should be tagged with , and Java Swing buttons should be tagged with .

40417 questions
6
votes
5 answers

Exit application on "Back" button on WP7

I know that in WP7 it is not possible to exit application programatically. So haw can I handle the following need? My MainPage is empty, and has has the only purpose to make a test: if user never filled a preference page, redirects to…
Emilio
  • 61
  • 1
  • 2
6
votes
1 answer

How do I add items inside a static box while using Sizers?

I'm using wx.Python and have a group of objects that I want 'wrapped' within a static box similar to this: However that tutorial uses position sizes, and I'm using sizers instead. I'm having a hard time getting the items inside: but rather…
James Mertz
  • 8,459
  • 11
  • 60
  • 87
6
votes
4 answers

Android: Move Button Text to bottom

Currently I'm creating a button with Image and Text. My problem is I want to move the text to teh buttom of the button.
6
votes
3 answers

C# Stop Button From Gaining Focus on Click

I have several buttons that when clicked I don't want them to get focus nor do I want the space bar to 'press' them again. I want the same functionality as the buttons in windows calculator. Googled and searched stack everything seems to be about…
StudentJ
  • 63
  • 1
  • 1
  • 3
6
votes
9 answers

Change submit button to a loading image with jquery

On a lot of sites lately, I've seen buttons being replaced with loading/thinking images after they are pressed, to prevent double clicks and make sure the user knows something is going on before the page flickers off. In this case, nothing…
key2starz
  • 747
  • 4
  • 11
  • 23
6
votes
3 answers

Select multiple options in checkboxes in Streamlit

I am new to Streamlit. I want to make a multiple-choice user input (checkboxes). But I want to select a maximum of 3 options out of 4 options. I have tried with the dropdown feature of multiselect. import streamlit as st option =…
raf
  • 225
  • 1
  • 3
  • 13
6
votes
1 answer

how to disable RectButton from react-native-gesture-handler

title is pretty much the question. On react-native buttons ie touchableOpacity you have the disabled prop but it doesn't appear to work on RectButton doesn't work
Adam Katz
  • 6,999
  • 11
  • 42
  • 74
6
votes
4 answers

Facebook Like button flips backs to 'unliked' state after clicking

I have added a Facebook Like button on my Tumblr blog (in the template): both the iFrame code and the Open Graph tags. The button shows up normally below each blog article. When I click the button, it changes its status to 'liked', but flips back to…
birdman
  • 61
  • 1
  • 3
6
votes
2 answers

Material UI - Custom IconButton with variant props like the real Button

This is my first post so sorry if i forget anything ... For my work i have to use Material UI and i need an IconButton with some contained style like the real Button! I managed to do it with a full copy paste of the Mui Component :…
Xiyitifu
  • 61
  • 1
  • 4
6
votes
1 answer

Donation button/link in a free app

Good day all, I've recently developed an app that will be submitted soon to the App Store. I want to submit this app for free and was wondering if I could implement a button with the PayPal donation logo where it basically says "Donate for…
Andres
  • 101
  • 1
  • 9
6
votes
5 answers

Disabling a Button in IE6, IE7, IE8?

I am trying to disable a button - using jQuery 1.4.4 the following code in IE jQuery('#id').attr("disabled", true); With the HTML of Works in FF, Chrome etc and…
Tom
  • 71
  • 1
  • 1
  • 4
6
votes
1 answer

Paypal Add to Cart button - how to generate with Java?

I'm using the Paypal NVP API, along with the BMCreateButton API, to generate encrypted buttons with my Java code. I've got the simplest form of a button figured out. So as an example, for a T-Shirt that costs 8.00, the code to generate the button is…
katura
  • 2,177
  • 14
  • 39
  • 48
6
votes
2 answers

iOS Add Button to Widget Extension

I am currently designing a widget for my app and basically, the widget should consist of three buttons. So far, I didn't find any tutorial on how to add buttons to an iOS Widget Extension. I see that e.g. Google Maps uses buttons in their…
ulrike_hansel
  • 115
  • 1
  • 6
6
votes
1 answer

How to set android button shadow instead of setting text shadow

I'm trying to set a shadow for my button, but instead of getting shadow for the whole button I'm getting it for button's text only. I've tried both: using xml styles