Questions tagged [imagebutton]

An image button is a button that displays an image, regardless of platform

An image button is a button that displays an image, regardless of platform

1801 questions
0
votes
2 answers

In IE10+Win7 a ASP.NET ImageButton only works in Compatibility Mode

The following is the markup for the for my login piece and the ImageButton (they all are withing a ):
kmarks2
  • 4,755
  • 10
  • 48
  • 77
0
votes
1 answer

How can you disable a.NET ImageButton control on the client side when the ImageButton has an onClick event handler?

The purpose here is to prevent users from clicking the button multiple times during the submit/click. I've tried the different solutions for a Button control but they do not apply to an ImageButton.
Dwight Sands
  • 111
  • 1
  • 8
0
votes
2 answers

Call js function with image Button with php without submit

Im coding php and i want to use image-button to call function. $del= ""; This button is into a submit form
Mixalis
  • 309
  • 1
  • 3
  • 12
0
votes
2 answers

Android: Images button layout vertically that will fit all screen sizes

I'm having problems with my layout I want to arrange the image buttons vertically and I want it to have the same look for different screen sizes here is a print screen http://flic.kr/p/fwEZn1
0
votes
1 answer

SharedPerferences and Saving ImageButton SetImageResource drawable?

I need some help with SharedPerferences and saving the state of an ImageButton (Dragon) when it’s clicked or unclicked. When the ImageButton is unclick it should be the R.drawable.normal (false) and when the user clicks the ImageButton it should…
0
votes
1 answer

Fully opaque ImageButtons layered over a CameraPreview

I have a FrameLayout containing a CameraPreview and a RelativeLayout. The RelativeLayout contains some ImageButtons. Thus:
Andy Johnson
  • 7,938
  • 4
  • 33
  • 50
0
votes
0 answers

How to open new window if a mouse wheel is clicked on imagebutton? (asp.net)

i have an imagebutton in my page. If i click it with left mouse button, page is redirected, but if i click it with middle button, than i am able to scroll the page by moving mouse. I would like to have the redirect function for middle mouse click…
Jim Oak
  • 3
  • 5
0
votes
1 answer

display image in imageButton ....

i have a problem with displaying an image on imageButton... imgWeatherIcon = (ImageButton) findViewById(R.id.mndpImage); Intent i = getIntent(); this.iconfile = i.getStringExtra("icon"); String uri = "drawable/"+ "d" +…
LitBe
  • 183
  • 2
  • 11
0
votes
2 answers

In Mechanize, how to set the x,y value of ImageButton?

I am using Mechanize Python as the web client to submit a form. However, I did not find a way to set the x,y of ImageButton in this form. I have tried different ways: 1) the first is to find the control: bt = frm.find_control('ImageButtonID') bt.x =…
xueliang liu
  • 556
  • 3
  • 13
0
votes
5 answers

How to resize background of imagebutton clickable space

I have a custom imagebutton and I only want the custom imagebutton to be clickable. Currently all of the surrounding area of the button is "clickable" and initiates the new activity. I want to minimize this "clickable background" space. How can I do…
compprogjava
  • 169
  • 2
  • 8
0
votes
6 answers

In Android programming, how do you change the image of the button after being clicked?

I just want to set a button's image to change when clicked. Example, if I want to click button A it will change. If I click button B, its image will change and the image of button A will revert back. How can I do this? I badly need help on this one.…
Christopher Treanor
  • 505
  • 2
  • 8
  • 13
0
votes
1 answer

Gridview ImageButton OnCommand event is not being fired

Gridview imagebutton onclick and OnCommand events are not being fired.
Mubashir Ali
  • 559
  • 2
  • 8
  • 23
0
votes
2 answers

Android - Removing the gray border of an imagebutton programmatically

I have an application that generates imageButtons and places them in a TableRow. However, the imageButton has a gray border along the sides that weren't on the image in the drawable folder. How can I programmatically remove these borders? So far,…
Razgriz
  • 7,179
  • 17
  • 78
  • 150
0
votes
2 answers

How to listen to each button in ListView in Android

I'm new to Android. I have a ListActivity that include a ListView. The item in ListView is customized. The xml layout is
Magic
  • 1,182
  • 2
  • 18
  • 28
0
votes
1 answer

Using loop index in an Android OnClickListener anonymous class to create a grid of ImageButtons

I am creating an Android application for a card game. Basically, I have it so there are four rows of three card on the screen at a time, each card being represented by a pressable ImageButton. My problem is that I want to use a for loop so I can…
mattpic
  • 1,277
  • 9
  • 13
1 2 3
99
100