button

iPhone button with non-rectangle shape?

How can I get a non-rectangular shaped button? For example I do have a PNG image with alpha transparency. How can I set the shape of a button to this image without the transparent color. ...

wpf button location

hi everyone. i am building an application. i have a button on a window. When i click the button, i want a new window popsup. but new window must open under button. As another way, when window popsup,button must been shown on window. How can i success that? is that possible? Thanks in advance.Lilly My codes as follows, private void T...

asp.net - Button event does not fire up

Hi, I have a search button on my page that runs a query on a DB, pulls out and displays some entries in a table, and for each entry I create a button. It looks something like this: List<Friend> friends = SearchFriend(searchStr); foreach (Friend f in friends) { TableCell addCell = new TableCell(), nameCell = new TableCell(); ad...

Menu Button in web Page

I am looking for a solution to display to a menu button in a Web page, preferably using client side code (example a jQuery plugin etc). The only requirement is that it should blend well with the default buttons look and feel. An Example of a menu button i can give is that of the Labels or Actions button in GMail I have already looked in...

Select dropdownlist item after button click

I have an asp drowndownlist and I'd like to change its selection after a button click. I can't seem to find a way to do this, is there a way? (Its a reset button of sorts, and I would like the dropdownlist to return to the "default" value.) ...

Why does <button> make "GET" in Firefox/Chrome, but "POST" in Opera?

Hi there. I'm developing a website (ASP.NET Webform with C#) where I have a <button> element. Here's the code snippet: <a href="ThisPage.aspx" ID="myButtonID" runat="server"> <button>Configure new trip</button> </a> When I use Firefox or Chrome, this code does a "GET" over this ThisPage.aspx. That's what I want to do, actually. ...

Jquery Overlay with Button (ImageButton/AspButton)

Hi! I wanna use a button in asp.net. When I ckick on it, an overlay shall occur and the overlay shall filled with data. How Can I do this with Jquery? My Problem is that, when I click on the button, the whole page is send back to server. Thanks for your help! ...

Change button text without changing button size

Hello, I'm using a borderLayout to arrange my components in a JFrame and a Box(BoxLayout.X_AXIS) to put buttons next to each other. But it creates two problems: I want the buttons to have the same size, but it automatically resizes them to fit the text within them (especially annoying when I change the text inside a button at runtime)...

call another applet in an applet

I want to call (just display another applet)one applet from another applet . I just placed a button on my first applet and on its actionperformed method used the getcontextapplet() method. But second applet was not displayed. How can I display a second applet on any reaction of first... The code: import java.io.; import java.applet.; ...

WPF Putting a Button on a Label

I've got a listbox of Labels, each bound to a LabelName and LabelColor. I want to add a small button that resembles an "X" and attach it on the right side of the Label. I want it to look seamless, like the X is very non-intrusive. Any ideas how to do this? The stuff between the <Label.ContentTemplate> does NOT work. I don't even want it ...

AS3 Button that doesn't exist yet

When we work with buttons we set up our listener and the function it uses, but if we have the button animate in or show up elsewhere in a later frame, we will get an error saying the object doesn't exist. What would be the more common or correct approach, set up our functions on frame 1 then attach the listener on the frame the button c...

why is this causing a memory leak

i am trying to launch a view from a button. When I do it causes a memory link but I can see why. CamViewController *dvController = [[CamViewController alloc] initWithNibName:@"Cam_View" bundle:[NSBundle mainBundle]]; dvController.camType = 1; [self.navigationController pushViewController:dvController animated:YES]; [dvController relea...

Modify a button in Action Script 3.0

I'm working on a project in Flash using Action Script 3.0. I converted a graphic to a button so that I can use it for various buttons throughout my project, but I can't figure out how to modify only the instance of the new button on the stage without modifying the whole class. For example, if my first button has a unique instance name an...

Style a WPF Button on right mouse click

Is it possible to add a style trigger in WPF to a Button to determine whether or not the ContextMenu has opened? If so, I'd like to color the background of the corresponding button if the contextmenu is opened. Can't find a regular way to do it... ...

MFC : creating a hyperlink in a button

Hi All, Is there an easy way in MFC to add a hyperlink in a button? I've searched the net and they seem to offer complicated stuff. Thanks. ...

How to create an Input Button in ASP.NET 1.1

I'm trying to create a generic <input type="button"> button in ASP.Net using an ASP.Net control and I'm unfortunately stuck using ASP.Net 1.1 right now. I know you can use the UseSubmitBehavior="False" attribute in later versions of ASP.Net but I can't seem to find a way to do this in ASP.Net 1.1. Is there a way to do this or will I ne...

Greyed out buttons in MXML file even though it says enabled="true"

In the main Canvas of a ViewStack I have a few combobox and a two buttons. Each is coded appropriately. In one of my canvases the buttons and comboboxes are enabled. But, on the main canvas all are greyed-out and disabled. I have put enabled="true" on each of the elements. I am new to Flex and have been trying to troubleshoot this fo...

Create a button that links to a website from within an Outlook 2007 signature

Apparently, Outlook 2007 no longer supports embedded HTML code within signatures. I had no difficulty adding a DONATION button to my signature, but I'm unable to link from that button to a website. Does anybody have a suggestion to accomplish this? ...

Binding collection to tool bar buttons and getting current selected item

Here is the scenario. I'm having a List in my view model and I want to generate a toolbar - each button representing a CustomObject which will have the tooltip, icon etc. I'm defining a template to display CustomObject in a toolbar button and also define the toolbar button ItemSource to the viewmodel collection and ItemTemplate to the o...

HTML: How to make a submit button with text + image in it?

I would like to have a submit button which contains text and an image. Is this possible? I can get the exact look I want with code that looks like: <button type="button"> <img src="save.gif" alt="Save icon"/> <br/> Save </button> ... but I haven't found a way to have one of those for my forms. Is there a way to do that with an <inp...