button

Android - register button click and take action based on radio selection

I'm trying to teach myself how to write android apps and I'm having trouble registering a button click and taking actions based on which radio button is selected at the time. This is a simple tip calculator: import android.app.Activity; import android.os.Bundle; import android.widget.Button; import android.widget.EditText; import androi...

Getting button presses on Windows Mobile 6

Hello everyone! I am making an application for a windows mobile smartphone, and I would like to know, using C# and the Windows Mobile 6 SDK, how can I make a window that can get input events even after minimized? Is it possible? I'm sure it is. Please let me know, Thanks ...

get input Text from JTextField (string to char) to show up in JButton

(new rewritten code).. I just know that "b" will always the last box that i created.So i can't use b as the equals in actionPerformed. How to include all the buttons? Anyone can help me with this? import java.awt.; import javax.swing.; import java.awt.event.*; public class Lat1 extends JFrame implements ActionListener { ...

How to make button look like a link?

I need to make a button look like a link using CSS. The changes are done but when i click on it, it shows as if its pushed as in a button. Any idea how to remove that so that the button works as a link even when clicked? ...

YUI Autocomplete/button skin to look like a standard dropdown.

Does anyone have a example of how I would go about making a YUI Autocomplete combined with a YUI button component look like a standard dropdown. The combobox example on the YUI developer site is a start, but I can't seem to get the button sized to the input box or eliminate the space between the input box and the button. http://develop...

How to create oval button in WPF application?

Exactly as the subject, How to create oval button in WPF application? ...

How to approach problem of creating graphic buttons with dynamic text for web page

I want to be able to create links looking like buttons with dynamic text and graphic bakground, these buttons also have to change their apperance on mouse over/mouse down and when subpage which button corresponding to is currently opened ame as mouse down) I want to avoid using - java script/jquery - server-side generated images - f...

Asp.Net 3.5 Button OnClientClick Argument

I'm trying to call the MyJavascriptFunction(arg1) from an asp button and it's doesn't work... <asp:Button ID="btnMyButton" runat="server" OnClientClick='<%# Eval("Id", "MyJavascriptFunction({0})") %>' /> The html generated contains no OnClick event at all. ...

Forcing Default button on a gridview

I'm using gridview with templates to show and edit some information from a sql database. When I edit and change the data in that row and then click enter it automatically presses the highest on page button which uses submit to server set to true which means it'll try to delete instead of update. I've have tried setting a panel round th...

HTML input="file" button to text

I want to replace input="file" button to only text like that http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm but i don't want to use whole library. How can i do this ? ...

jQuery hide/show doesn't seem to work - am I doing something wrong

I am trying to show an element (which is a table, but I am using it as a div) when a submit button is clicked. It doesn't seem to work. And I don't think that's because of bad CSS Karma acquired by using tables for layout. Code is as follows: $(document).ready(function() { $("#object-created-panel").hide(); $("#create-o...

Button Style with Different Icons

Hi, i have 5 buttons on my navigation grid. Each button has a different icon. In the button's style, which element do i use to place the image into when im on my main screen? any suggestions would be helpful. Thanks.. ...

<input type="button" /> and <button >,what's the difference?

I've not known that there exist such a tag as until today,a little shocked! ...

Weird padding change for custom-height input[type=button] in IE6/FF3

I stumbled upon the weirdest behavior in IE6/FF3 when setting custom height (even if it's the same as default) on a button. The following code should demonstrate that while the two buttons are of same height, their padding is different for some implicit reason and cannot be controlled in any fathomable way: <!DOCTYPE html PUBLIC "...

as3 - controlling flicker when scaling up a button or movieclip

This is a situation I run into a lot but never seem to find a good solution. I have movieclips that I scale up slightly on rollover, but if you hover over the edge of the movieclip it just sits there and flickers, continuously receiving mouseOver and mouseOut events. How do you deal with this? Again, it's usually a problem when tweening ...

Wpf ImageButtons?

Hello! I created a WPF application that has many buttons. Now the customer wants to change all the buttons to icons. For example: All the OK buttons should have the same icon, all the cancel btns and so on. I want to put in all the buttons Style="{StaticResource ButtonStyle_OK}", Style="{StaticResource ButtonStyle_OK}" etc. Now my qu...

What is the name of the control that combines the function of a button and a combobox?

What is the name of the control that combines the function of a button and a combobox? Visual Studio's open file dialog has this control for the "Open" button. You can select "Open" or "Open With". But once you select an action, the corresponding action is taken. Lastly, is this control available as a standard control in .NET or in Q...

Guidelines for choosing button over a link in web forms

It seems like buttons and links are interchangeable these days. From a user-experience perspective, are there guidelines for choosing between the two? Does it even matter? As a rule of thumb, I'd say that pure navigation should always be expressed with a link and an action should be expressed with a button. But there are so many example...

FLash: Error when trying to use setChildIndex and TweenLite to create a button rollOver effect

Hi again everyone :) So today I'm trying to basically create a simple glow effect on button rollOver. I may be over complicating things, but the way I'm going about this is by having 2 movieClips(default state and over state). First I add the default state to the stage, next I add the rollOver state to the stage, but at a depth of 0 a...

help in php button

i have a this button <input type="button" name="continue" id="continue" value="Continue"> in php we use if($_POST['continue']) to edit the action of the submit button but only if its type is "submit". what if its type is "button"? how can i edit the action of that button? ...