Questions tagged [button]
Buttons are simple elements in graphical user interfaces that take mouse clicks or finger taps (on touch devices) as input.
40,731
questions
2
votes
2
answers
2k
views
YUI Menu positioned behind div
I have implemented a YUI split button with a menu. The button with menu appears in a scrolling div between header and a footer divs. When exposing the menu near the footer div, the menu appears ...
13
votes
7
answers
30k
views
Javascript login form doesn't submit when user hits Enter
I'm working on a simple javascript login for a site, and have come up with this:
<form id="loginwindow">
<strong>Login to view!</strong>
<p><strong>User ID:</strong&...
6
votes
4
answers
21k
views
How to create a button with drop-down menu?
Is there a way to show IE/Firefox Back button style, dropdown menu button?
1
vote
2
answers
949
views
browser back button doesnt work in cached environment
The back button just causes my page to refresh. Is there a way around this without disabling the cache?
3
votes
6
answers
7k
views
How do you add arguments to an ASP button PostBackUrl?
I am constructing a search page with a textbox and a button for now, and probably a dropdown to filter results later on. I have my button's PostBackUrl set to my search page (~/search.aspx). Is ...
14
votes
11
answers
32k
views
How to make a Delphi TSpeedButton stay pressed if it's the only one in the group
I'm not sure why the TSpeedButton has this property but when a TSpeedButton is the only button of a given groupindex, it doesn't stay pressed, whether or not "AllowAllUp" is pressed. Maybe a Jedi ...
6
votes
7
answers
19k
views
Can I create transparent buttons in Visual Studio 2005 with C#
I have a user interface that requires placing some round buttons in a C# project with some data behind them. The buttons are System.Windows.Forms.buttons and I have used a GIF image with transparency ...
3
votes
3
answers
678
views
Progress button for Windows Forms
.NET newbie here... I'd like to make a button in a Windows form that displays a progress or "cooldown" effect. That is, when the button is pressed, it becomes disabled. As some event or timer is ...
9
votes
8
answers
35k
views
Custom button in C#: How to remove hover background?
I'm trying to do a custom button to my form (which has FormBorderStyle = none) using Visual Studio 2005. I have my 3 states button images in an ImageList linked to the button.
this.btnClose.AutoSize =...
3
votes
2
answers
3k
views
Execute action for automatically unchecked button in Delphi
I have one action I want to perform when a TSpeedButton is pressed and another I want to perform when the same button is "unpressed". I know there's no onunpress event, but is there any easy way for ...
1
vote
1
answer
2k
views
Winforms toolbar of buttons wrapping .
I am dynamically added a bunch of buttons to a toolbar. I want the ability to programatically make it wrap onto a second row if the number of buttons exceeds the horizontal space in the current form. ...
257
votes
10
answers
282k
views
Display a tooltip over a button using Windows Forms
How can I display a tooltip over a button using Windows Forms?
1463
votes
31
answers
1.8m
views
Trigger a button click with JavaScript on the Enter key in a text box
I have one text input and one button (see below). How can I use JavaScript to trigger the button's click event when the Enter key is pressed inside the text box?
There is already a different submit ...
30
votes
12
answers
79k
views
How to set/change/remove focus style on a Button in C#?
I have a couple of buttons of which I modified how they look. I have set them as flat buttons with a background and a custom border so they look all pretty and nothing like normal buttons anymore (...
13
votes
13
answers
10k
views
Is there use for the Scroll Lock button anymore? [closed]
The scroll lock button seems to be a reminder of the good old green terminal days. Does anyone still use it? Should the 101 button keyboard become the 100 button keyboard?