button

.NET CF Windows Forms - 3 state push button

Hello How to create a 3 state push button that behaves like check box but looks like normal button? Regards ...

ASP .NET Event Wire-Up for <input type="button"> tag (not asp:button or server link)

Here is what I want to do. Use this HTML line and have the ASP .NET server-side deal with the onclick event. I don't want to use nor do I want to use an anchor tag which would both allow me to capture the server-side successfully. I want to use this: <input type="button" id="submit" name="submit" value="See Your Results" onclick=""...

Different between android style Widget.Button and Widget.Button.Inset

Hi, I'm trying to use one of the existing Widget.Button styles but I see two different styles that look the same, but I'm sure there's a reason why they are made distinct. Can anyone explain the difference between the Widget.Button style versus the Widget.Button.Inset style, or at least an application where I would use one style over t...

jquery ui button custom icons

It is easy to add one of the icons available as part of the UI Icon Set: $("#myButton").button({icons: {primary: "ui-icon-locked"}}); But what if I want to add one of my own icons that is not part of the framework icon set? I thought it would be as easy as giving it your own CSS class with a background image, but that doesn't work. An...

Android Button over Bitmap

I am a beginner android developer and I am trying to have a button display on top of the bitmaps I am outputting. Here is what I have: my activity sets this: setContentView(new FrameView(this)); FrameView is a class that extends View: public FrameView(Context context) { super(context); setFocusable(false); Inside FrameView I ...

What is the best practice for opening a context-menu-like menu from a short button click?

I have a button that says "Sort" and when a user normal/short presses the button, I want a menu to appear with the various sort options. Looking around online there doesn't seem to be a straight forward answer to which route is considered best practice. I'm looking to have a menu that looks similar to this: http://farm3.static.flickr.c...

iPad toolbar icons: bar button images not centered?

Have a look at the following screenshot fragment from an iPad app I am working on: The "chat bubble" icon on the left is from the famous Glyphish icon set. Note how it has correct vertical positioning (in the middle), but is much darker than the greyscale used for the InfoDark button. The code to make this icon is as follows: UIImage...

Cocoa Touch - Hypothetical Lag Comparisons

Hey all, I'm developing a rhythm game for the iPhone at the moment, just wondered if anyone had any thoughts on the best pieces to use for reaction time. I have all the coding worked out, and I've narrowed it down to about 2 ways: 1: Using instances of UIButton that bypass the UIControlEvent or whatever, in order to use touchesBegan an...

Forms in C# .NET

I have 2 textbox's & one button on Form1 and one textbox1 on Form2 when I Click on button of Form1 I want to save with file name which contains in textbox1 of Form2 with information of textboxes in Form1 ...

Android widget: Change the text of a button

Hi, how can i change the text of a button programming a widget? Tnks, Valerio ...

iPhone Keyboard Next Button

How do I use the next button (the done button) in the bottom left of the keyboard on the iPhone? ...

How to remove default mouse-over effect on WPF buttons?

Hi All, My problem is that in WPF, whenever I try and change the colour of a button's background using triggers or animations, the default mouseover effect (of being grey with that orange glow) seems to take priority. After extensive searches I'm clueless as to how to remove this effect. Any help? Thanks, Neil ...

To make control(focus) flow from a Button to top of a list view in Android.

Hi, My activity has a set of buttons on the left half of the screen and a ListView on the right. Initially the focus is on the first button. When I browse the buttons by pressing DOWN arrow key and then press the RIGHT arrow key, the focus does not go to the topmost list item. Instead, the list item correspondingly on the right gets fo...

Adding next and previous buttons to static pages in wordpress?

I'm trying to add next and previous buttons to the static pages on my wordpress site. I've been able to find some content on how to add these buttons to your blog post but haven't been able to find anything like this regarding static pages. I'd like to add next and previous buttons to appear on the child pages within all the parent pag...

In a button's control template, how can I set the color of contained text?

Using Silverlight 4 & WPF 4, I'm trying to create a button style that alters the text color of any contained text when the button is mouseover'd. Since I'm trying to make this compatible with both Silverlight & WPF, I'm using the visual state manager: <Style TargetType="{x:Type Button}"> <Setter Property="Template"> <Setter.Value> ...

jQuery disabled button with checkbox issue

Hi guys, I have the following code which enables a button when the checkbox is checked. http://jsfiddle.net/ERfWz/1/ The following is a snippet from the code I have in my HTML page. It's much the same however for some reason it's not working. I think I may have been looking at it for too long. <script type='text/javascript'> $(func...

Can't get programmatically made UIButton to work - iPhone

Here is the code I'm using: -(void)viewDidLoad { NSString *checkerPath = [[NSBundle mainBundle] pathForResource:@"black-yellow-checker" ofType:@"png"]; UIImage *checkerImage = [[UIImage alloc] initWithContentsOfFile:checkerPath]; checkerView = [[UIImageView alloc] initWithFrame:CGRectMake(0.0f, 230.0f, 320.0f, 280.0f)]; ...

How to modify the default button state in Android without affecting the pressed and selected states?

I am trying to remove an ImageButton's background in only the default state. I'd like the pressed and selected states to behave as usual so that they look correct on different devices, which use different colors for the pressed and selected states. Is there any way to set an ImageButton's background default state's drawable without affe...

Is the "X" delete button on the homescreen part of the SDK?

So when you want to delete an app from the Home Screen, or delete a book from iBooks, when you get into "Edit Mode" there is a little itty bitty X in the upper left hand corner of the app icon/book/whatever. Is this button part of the SDK? And... if not (I'm pretty sure it isn't), does anybody know an Apple sample project that might c...

Android align Image Buttons on a curve?

I have a series of buttons on a main menu. Instead of the standard side by side, or one on top of the other, I'd like them to be aligned around a semi-circle. Since I can't drag and drop the buttons to the place I'd like to in the designer, I was wondering the best way to do this? Can I do it in the XML, or would it be best to do it prog...