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
2 answers

Controlling different apps (Adobe Reader,Word,Windows Media Player,Powerpoint,etc) from C++ code

I am just about to finish my final degree project. I am creating a system that reads a gesture from the Microsoft Kinect and then it makes some actions. So now I'd like to include some interaction with some famous applications. For example, I'd like…
Oni
  • 798
  • 2
  • 8
  • 17
2
votes
2 answers

control id rendered correctly but still getting javascript error

Error : Microsoft JScript runtime error: 'ctl00_ContentPlaceHolder1_txtAdmDate' is undefined Code :
mkkvs
  • 53
  • 1
  • 1
  • 4
2
votes
1 answer

Control Drag Drop

I have a user control in c# on a windows form the drag drop events are only being fired around the edge of the control, does anyone have a clue what is causing this its driving me mad!? private void flowDiagram1_DragEnter(object sender,…
Craig
  • 77
  • 4
2
votes
1 answer

Aurelia: how to access child elements from parent element

I'm using Aurelia 1 to build my application. Now, I am creating a toolbar custom element: custom-toolbar.ts. This toolbar will have n-children elements called: custom-toolbar-button.ts. My idea of usage is this: /*some view html*/