button

Intercepting touch events on activity and button on Android

I have an Android activity with an ImageButton. I would like to execute some logic when the button is clicked and show a different image for the pressed state, but also receive the touch event on the activity. By default only the button receives the touch event. If I set the clickable attribute of the button to false then only the activ...

onCommand on button not firing inside gridView??

This is really driving me crazy. I've got a button inside a gridview to remove that item from the gridview (its datasource is a list). I've got the list being saved to session anytime a change is being made to it, and on page_load check if that session variable is empty, if not, then set that list to bind to the gridview. Code Behind: ...

WPF Custom ListBox as Buttons Click not firing

I am attempting to have a ListBox of TextBoxes with click events. I have read that one way to achieve this was to have a list of Buttons and call ButtonBase.Click="" on the ListBox. This was not working. Any advice as to how I would hook up a click event to the listbox items? I was also trying to change the style if the button was ...

Change UISearchBar/Keyboard Search Button Title

In the UISearchBar control, is the a way to change the Search key title for the keyboard to Done? ...

C# - Image as a clickable button

I want to make some custom controls, with images as buttons. I don't want images ON buttons - I want to totally replace the button with an image read from a file. Is it possible? ...

change button appearance on click

I wahnt to change button appearance when it was clicked. <?xml version="1.0" encoding="utf-8"?> <s:Button xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()"> <fx:Script> <![CDATA[ ...

How to remove border around bottoms?

I have a JPanel with the GridLayout. In every cell of the grid I have a button. I see that every button is surrounded by a gray border. I would like to remove these borders. Does anybody know how it can be done? ...

Android - Simulate Back Button

Hi, When i press a button in my app, I need to return to the last activity. Any ideas??? thx a lot!!!! ...

How to add Facebook 'Like' button on each article on a Joomla website?

Hi, I want to add Facebook's new 'Like' button on the articles on my Joomla website. When I tried, I could add the button for my website, but not for individual articles. How can I achieve the integration with an individual article. The end result should look something like Mashable.com where 'Like' button appears on each article. Thank...

jquery radio button when checked need an alert

Hello In my application i need a radio group, in which whenever a button is checked, an alert occur so that i can post its value to ajax post in jquery. Can you help me please how i can do it in jquery? ...

Android button in arbitrary position over RelativeLayout

I'm trying to build an android application that features a graphical display drawn within a RelativeLayout. I want to place "+" and "-" buttons next to several of the parameters, which are drawn at various points on the canvas. The positions are free-form don't seem to conform to any of the standard XML layouts. I know how to create t...

background image for input type="button"

i've been trying to change the background image of the input button through css, but it doesn't work. search.html: <body> <form name="myform" class="wrapper"> <input type="text" name="q" onkeyup="showUser()" /> <input type="button" name="button" value="Search" onclick="showUser()" class="button"/> <p> <div id="txtHint"></div>...

going to new site when button click c#

how can i do that when my button clicked i will open a new internet window e.g walla.com? ...

How to animate button text? (loading type of animation) - jquery?

I got something that I want to do and want to see what you guys think and how can it be implemented. I got a form in a page and the form will submit to itself to perform some process (run functions) in a class. Upon clicking the submit button, I want to animate the button text to “SUBMIT .” -> “SUBMIT ..” -> “SUBMIT …” -> “SUBMIT ….” -...

how would one block the selecting of text or change the cursor to the pointer over certain text

i have a button in html that has a background image and text overtop of it, how can i disable the selecting of that text so it looks more "seamless"? echo '<td width="130" height="30"'. "onClick='document.location = ".'"'.$value.'";'."'><center>".$key."</center></td></a>"; ...

as 3 button error

Hello! I'm very new to ActionScript 3.0 and Flash in general. I'm trying to update a website that someone else did with Flash, and am having issues with it. I need a button to link to an outside website, but I keep getting the error "access of undefined property" on my button. I am using cs3 by the way This is my code, any help would be...

WPF Button Styling with OuterGlowBitmapEffect

I have managed to style a button such that there is a the background I wanted (Normal). However, I want to create an OuterGlowBitmapEffect on the content. Also, when I modify the style, it reverts to the default for MouseOver, Pressed, and HasFocus. Here is the image of what I want, how could you do this using WPF Styles http://tinypic...

Does Qt Builder have a built-in tool for editing a toolbar?

Does Qt have a set of standard icons? (Like for Back,Forward, etc.) How would I add these to a button or toolbar in Qt Creator/Designer? ...

Java Appending a character to a textarea

I'm looking to appends a character to a textarea in. I have a simple GUI designed to look like like a mobile phone and I want to be able to click on one of the buttons and update the textarea with that character. If I click another button, I want to be able to append that character to the first. How do I do this? Obviously right now it i...

Trouble creating a button matrix in Interface Builder

Hi, I am trying to create a matrix of buttons in Interface Builder 3.2.1 but can not find anyway to do it. I read the question and answer posted here: http://stackoverflow.com/questions/1771835/how-to-create-a-nsmatrix-of-nsimagecell-in-interface-builder-in-10-6 But following Layout > Embed Objects In, as suggested, I see only View and...