button

How to launch widget configuration after is been put on screen

My widget launches a configuration screen when chosen to be put on screen. That works fine. I wanted to be able to touch a part of the widget to return to that configuration screen. I have created 2 pending intents in my widget's service but only one works. The code is below: remoteView.setOnClickPendingIntent(R.id.my_image,myWidget.mak...

Rotate a UI Button in iPhone SDK

Quick and hopefully obvious question. I have a progmatically created button in my iPhone app that I wish to rotate 45 degrees clockwise, named buttonuq , how can I do this? ...

Button with dynamic text in Flash CS5

I'm new to Flash Pro programming, and am trying to create a button-type symbol where I can set the label. The problems I'm running into are as follows. If I make the symbol type=Button, I can't add ActionScripts in the frames and/or access any subcomponents? Why is this so? If I make the symbol type=MovieClip, I can add ActionScript...

jQuery UI button not "unclicking"

http://jqueryui.com/demos/button/#default They are very simple to use, but for some reason my buttons are not "unclicking". That is, after I have clicked a button, it maintains it's hover style. If I set it's onClick function to just do something simple like alert a message, I can click off the button, and it will return to normal. This ...

c# Maximize, Minimize and Close buttons on form

Hi Is there any way to find out if the close button (x button on form) was clicked. However without involving FormClosing and FormClosed events ? ...

Drawing within C# within a Picturebox

Hi, I want to be able to allow users of my program to click on a button, for example, a button for freehand rectangles to be drawn onto a picturebox. I need code for allowing me to first draw on the picturebox, and secondly for all the shapes that can possibly be drawn free hand in c#, e.g. line, ellipse, freehand drawing, text. Thanks...

Problem animating a WPF button

I have a button, this is a unique button, and his style should çn't match the style of all the others. So when you pass your mouse over this button, it should change its image. But it is not working, Here is the code... I'm starting at WPF so if you can point me what am I doing wrong would be really appreciated <Button Name="RemoveButto...

Button icons: round close icon

I've seen other apps are using a round icon for closing a view. The only similar icon I found is UIBarButtonSystemItemStop. But this presents only a rotated cross with a border (as always with buttons) around it. I rather would like have something like a UIButtonTypeInfoLight. If this button is used, no border is visible. Also the icon ...

How to assign a method to the button?

The question seems quite stupid, but I spent quite a lot of time trying to solve it successfully. The problem is that Eclipse IDE throws me a various number of different errors if I try any solutions that I used in normal Java. Another thing is that just after implementing an interface I receive an error, and Eclipse change my class to a...

Resource not found when calling ActionResult from Controller from multiple submit buttons

link text I am following the answer in this link, I have done this... <% Html.BeginForm("MyAction", "MyController", FormMethod.Post); %> <input type="submit" name="submitButton" value="Send" /> <input type="submit" name="submitButton" value="Cancel" /> <% Html.EndForm(); %> <% Html.BeginForm("Send", "MyController", FormMethod.Post...

Selector for Buttons not working after setting backgroundResource of the button in Android

Hi, I have applied the follwoing selector to all my buttons by specifying it in my theme: <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <item android:drawable="@drawable/my_btn_pressed" android:state_pressed="true" /> <item android:drawable="@drawable/my_btn_focussed" android:state_focused="true" /> ...

Question with check boxes and radio buttons use with a regular button (.net 2.0 and below only please)

So i have this idea of having multiple programs launched through my application ran with different settings. but i don't always want all of them ran all at once, and not necessarily one at a time. What my idea is that on the left side it would have say 3 check boxes, we'll call them c1,c2, and c3 which are applications. on the right side...

How to disable all buttons on the page while uploading?

I'm using json +jquery on client side. I want to disable all buttons found on the page while uploading file. Currently I'm disabling the upload button only using its id as shown below.. $("#upload_attachment_button").addClass('ui-state-disabled'); I wonder if there is a way to disable the rest of the buttons found on the page. I hav...

Weird layout problem. (please see the attached image)

The image above is the first page of my game. Normally the big blue 'button' background image should not show up there. I declare my custom background image for my buttons in layout file like this: <Button android:id="@+id/id_button_startgame" android:layout_width="wrap_content" ...

How do I select multiple controls(buttons) at a time c#

How do i select many buttons at a time on a flowlayoutpanel c# ...

Can't hide button when mouse leaves form...

Hi, I have a form where I want buttons at the very bottom edge of the form, with no gap to the border. These buttons shall be "auto-hide", so they only show when the mouse is in for example the lower 20 pixels of the form. So I use the MouseMove event to trigger this, like code below. However, if mouse leaves the form across the bottom ...

Android: Image button as a hyperlink, phone call, map directions?

I have a simple app that I'm putting together for my company. I have 4 buttons that I've created but can't seem to get them to link correctly. One button should open our mobile site, another button to call us, another button to map to us, and the final button linked to our "News" site. Any help would be greatly appreciated! ...

Button contains text & image from the Internet [android]

hi, how could i get an image and a text from the Internet and made a button for my android application dynamically?And draw them in th position i want. i.e by Java code thinks ...

specify the postion of a text & and an image in a botton [android]

i asked the question about haw to create a button by a text & an image http://stackoverflow.com/questions/3828906/button-contains-text-image-from-the-internet-android it was very helpful.But, the problem is : i want a button contains the image & under it the text (not as background) am looking how to add this image as the text and spec...

How to add Return Home button to external sites?

Hi, I am developing a website with some links to some pages on external websites (belonging to the same company). The client wants to add a way to easily return to the home site, i.e. something better than just using the browser's Back button, and something better than just opening the external links in a new browser window. Seeing as ...