button

Prevent displaying of previous pages after logout

Hi everybody, i'm working at PHP application but i have a trouble, in fact when a user logged out and press after logging out the back button of the browser he can see the previous page as if the session has not been destroyed :(( i have tried all that i find here and on the web but it doesn't work :'( Can I disable the back button? ...

WPF TabControl - Add New Tab Button (+)

What is the proper way of adding a '+' button tab at the end of all the tab items in the tab strip of a tab control. It should work correctly with multiple tab header rows. It should be at the end of all tab items Tab cycling should work correctly (Alt+Tab) ie the + tab should be skipped. I shouldn't have to modify the source collec...

Passing a parameter to onclick listener on a button in a listview row

Hi, I just started android and i'm running into some problems. I have created a listview that is populated from a database. Each row has a button to delete the item from the list and the database. I am able to hook up an event listener to the button but I have not been able to determine the matching database record to be deleted. ...

Android: Browser back button will not fire $getJSON event

I have a test project that uses $getJSON to pull data from web services like Geonames and our own proprietary services. The index page uses two $getJSON calls, and they load fine both when you first load the page or press the refresh. However, if you navigate to another page and then hit the back button to go back to the index page, th...

AS3, for loop create button inside movieclip and how to call it??

Here is my full code import fl.controls.*; var test:MovieClip = new MovieClip(); var btn:Button; for(var i:int = 1; i<=7; i++){ btn = new Button(); btn.name = "btn" + i; btn.x = i * 100; test.addChild(btn); btn.addEventListener(MouseEvent.CLICK, function(evt:MouseEvent) { nothing(i); }); } addChild(test); functio...

flex 3 programmatically enlarging a flex buttons hitArea

Hello stackOverFlower, Does anybody know how to programmatically enlarge a flex 3 button's hitArea. Is there some function that i can override? There is no function in the button class called hitArea. WHat i have done is, i have created a programmaticskin for a button. The form of the skin consists out four arrows. In between the arrow...

Multi-line buttons in HTML

If the width of a button element isn't wide enough to contain the button text Firefox and Chrome give the button more height, IE (v7 at least) will just cut off. How can I make IE expand the height to contain the text? Ideally just using CSS. I've tried explicitly giving IE7 a height that makes the button bigger but it still just displ...

iphone facebook login button not rendering

Hi, I'm new to objective-c so bare with me. I'm using the Facebook iPhone SDK found here: http://github.com/facebook/facebook-iphone-sdk All I'm trying to do is display the login button given in the SDK though obviously I don't have a full understanding of views. In my viewDidLoad method (i'm putting it here as I'm initialing the vie...

Java button question

Hello again, I am trying to get the user to input 2 fields. One is the volume of the pool and one is the volume of the hut tub. This then calculates the price of each, what I am having trouble is with if the user enters volume for the pool, then they can't enter anything for the hot tub and vise versa. This is what I have so far. Do I ne...

flex togglebuttonbar buttons width

Hi, How could i use percentage width for buttons at tooglebuttonbar, because i dont want to use the width property. ...

How can I disable multiple buttons?

hi, I have 2 buttons on my view and i want to disable the first button when i click on an other button and disable the second when I click again on the button. I have tried with this code if (button1.enable = NO) { button2.enable = NO; } So I have in a NavigationBar a "+" button and 5 disable buttons in my view. When I push the...

How can I disable multiple buttons?

hi, So I have in a NavigationBar a "+" button and 5 disable buttons in my view. When I push the "+" button I want to enable the first button and when I push again that enable the second... I have tried with that code if (Button1.enabled == YES) { Button2.enabled = YES; } I really don't understand how I can do that... Thnaks f...

chrome back button issue

in my website i am having a list box and by selecting it i am redirected to a result page, and when i click back button in browser the values staying there in Chrome ( IE and Firefox working fine, any help?? Thanks in advance ...

Display image in content presenter in button

I have a button with a style that displays an image inside it. I would like to be able to specify the image it uses using the Content property on the button (or some other means). How can accomplish this without actually nesting an image directly in the button. <BitmapImage x:Key="closeImage" UriSource="close.png" /> I thought I co...

UINavigationBar with Category, Act as Button too.

Hi there, in my iphone app, im trying to make my uinavigationbar act as a button, i mean do something when i touch it. Not back button o any nav item, the bar itself. heres how i "categorized" it: @implementation UINavigationBar (UINavigationBarCategory) - (void)drawRect:(CGRect)rect { UIColor *color = [UIColor blackColor]; UIIm...

Custom (round) toggle button

Hello, I am trying to build a custom toggle button in Android, I want it to look like radio button but function as toggle button. Can some one help me with this? any clue hints close to answer is appreciated. ...

Refreshing a listview on click of a button in a row of that listview

Hi, I created a ListView that contains a row which in turn contain text and a button. The idea is to have the button function as a delete button to remove the row from the list as well as the database. I order to do this I created an adapter to handle the button click. This code is below. Deleting the database record works fine, but I ...

Passing parameters into a ASP.Net Button control when clicked

I have an asp button (the code is below). I have the event handler working, but I want to pass a string (which is the result of a javascript function) into the event handler function. Is there a way to do that? <asp:Button runat="server" ID="Button1" OnClick="Button1_Click" Text="Run" /> ...

C++ How do I use an onClick event to create a textbox?

I'm trying to create a visual c++ application which has a button that when clicked creates a text box, and when clicked again creates a text box underneath the last one created. Then a button which deletes the previously created text box. Where do I start? Does anyone have any samples of this? Thank you! ...

Im trying to use .getName on a JButton, but it returns null, but when i do the toString it returns me all the right properties?

SOURCE: javax.swing.JButton[,571,647,80x80,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Toggle@1380cf2a,flags=288,maximumSize=java.awt.Dimension[width=80,height=80],minimumSize=java.awt.Dimension[width=80,height=80],preferredSize=java.awt.Dimension[width=80,height=80],defaultIcon=file:/Users/andreaks/Desktop/PreEnt...