Questions tagged [controls]

Use this tag for programming scenarios related to controls (interactive elements of the user interface).

A control is an interface element that a computer user interacts with.
Common controls include:

  1. Window A rectangle that represents a "window" into a document, form, or design area.

  2. Text box A box in which to enter text or numbers.

  3. Button An equivalent to a push-button as found on mechanical or electronic instruments.

  4. Hyperlink Text with some kind of indicator (usually underlining and/or color) that indicates that clicking it will take one to another screen or page.

  5. Drop-down list A list of items from which to select. The list normally only displays items when a special button or indicator is clicked.

  6. List box A GUI widget that allows the user to select one or more items from a list contained within a static, multiple line text box.

  7. Combo box A combination of a drop-down list or list box and a single-line textbox, allowing the user to either type a value directly into the control or choose from the list of existing options.

  8. Check box A box which indicates an "on" or "off" state via a check mark ☑ or a cross ☒. Sometimes can appear in an intermediate state (shaded or with a dash) to indicate mixed status of multiple objects.

  9. Radio button A button, similar to a check-box, except that only one item in a group can be selected. Its name comes from the mechanical push-button group on a car radio receiver. Selecting a new item from the group's buttons also deselects the previously selected button.

  10. Cycle button A button that cycles its content through two or more values, thus enabling selection of one from a group of items.

  11. Datagrid A spreadsheet-like grid that allows numbers or text to be entered in rows and columns.

  12. Slider A bar that allows users to make adjustments to a value or process throughout a range of allowed values.

8394 questions
2
votes
1 answer

Delphi: Components and Controls do not work with Frame

I open a demo (ICS - SingleD). There are regular controls (edits, labels, panels, buttons, memos) and a component to download files from the Internet. I want to move them all into a frame. I create a Frame and: 1) Cut all controls except the…
maxfax
  • 4,281
  • 12
  • 74
  • 120
2
votes
4 answers

using radiobuttons in a gridview control

I have a gridview control in which the data is dispalyed using a stored procedure. the grid has three columns, first one contains radiobuttons. the general idea is that the user should be able to select only one radiobutton from (in my case) 5…
userstackoverflow
  • 251
  • 3
  • 10
  • 19
2
votes
2 answers

Determining the duration of a frequency and the magnitude

I am working with a system in which I am getting data from a sensor (gyro) at 1KHz. What I am trying to do is determine when the system is vibrating so that I can turn down the PID gains on the output. What I currently have is a high pass filter on…
Matthew FL
  • 1,612
  • 3
  • 18
  • 22
2
votes
4 answers

ASP.Net FileUpload Control with Regex Validator postback problem

I'm trying to use a .Net FileUpload control along with a Regex Validator to limit filename to JPG, GIF, or PNG extensions. After postback, the filename is gone from the control (as expected), but this seems to cause the validator to fire and…
RobLinx
  • 117
  • 3
  • 11
2
votes
3 answers

Name of the Control doesn't exist even if it does

I'm getting an error where chkBox1 does not exist in the current context, anyone has a solution to this? Here is the XAML:
lala
  • 149
  • 2
  • 13
2
votes
2 answers

Find control in class -- cannot find control

I have an aspx page with an ajax tab container. In a class I want to find the tab container to pass some values. I define myPage: Page myPage = (Page)HttpContext.Current.Handler; When looking in more details on this myPage by clicking add watch it…
Yann
  • 95
  • 2
  • 7
2
votes
1 answer

Handle the Sliders Control with Edit Box in MFC

I have a problem with appropriate using Slider Control and good understanding of mechanism of UpdatingData of values. This is a very simple program which should help me get understood of problem. Take a look on my code: // TestDialog.cpp :…
2
votes
3 answers

Outlook navigation bar control for .NET application

Is there is an open source or free control like the Outlook Navigation control? I want to add one to my .NET application. Update1: I am not using WPF. I need control for windows form only and i am using .NET Framework 2.0
santhosh
  • 375
  • 1
  • 8
  • 16
2
votes
1 answer

iOS Fine-grained control of vibration unit

How much control do I have over the vibration unit on the iPhone? I am simulating a plucked string, it would be fantastic if I could get the iPhone to vibrate in accord with the sound. so, a) is it possible to modulate the intensity of the…
P i
  • 29,020
  • 36
  • 159
  • 267
2
votes
2 answers

Can you convert asp.net WebForm controls to HTML?

I am looking for a way to convert WebForm controls to text. Is it possible to do this: TextBox tx = new TextBox(); tx.Text = "test"; string html = tx.HTML(); Where html would be:
Petras
  • 4,686
  • 14
  • 57
  • 89
2
votes
1 answer

How can I move a control in Delphi at runtime using the keyboard?

I added an option to move a control at runtime with the mouse, based on this and it's working well. But I was trying to find some code to do the same trick but with the keyboard -- pretty much like moving a component at design time (only…
O-Zamzam
  • 21
  • 2
2
votes
0 answers

Specifying background audio controls in Flutter audio_service

Does anyone know how to specify which audio controls can be displayed on the iOS lock screen when using Flutter audio_service? It is documented for Android, but does not seem to be documented for iOS. I need the lock screen for my app to have the…
Tom McCaffrey
  • 91
  • 1
  • 3
2
votes
4 answers

Control to show text based on where mouse pointer is

How do i get this? Which control shows some text when i keep the mouse cursor there for a while? Edit: I have a timeline in my program. I want the tooltip to show the time value in milliseconds at the point where the mouse cursor is... Is it…
techmanc
  • 293
  • 1
  • 7
  • 19
2
votes
1 answer

How to create a grid with another one overlapping it and show certain controls of the first grid in the second

I'm creating multiple grids with textboxes and labels. There are grids that have some textboxes in common and others ones are unique to each grid. I'm using the visibility property to show and collapse each grid when I need it. The question is, is…
2
votes
2 answers

PHP receive SSL certificate parameters on connect

I need to control SSL certificates (subject, presense in DB, etc.) of clients that connect to our web server. Is it possible to do in PHP? Thanks.
Lorenzo Manucci
  • 850
  • 2
  • 14
  • 28
1 2 3
99
100