|
|
|
|
|
- Overview of the Combo Box control
- Control in a window, control in a dynamic or static page
- Creating a Combo Box control
- To create a Combo Box control:
- Type of the Combo Box control expanded area
- Characteristics of Combo Box controls
- Combo with input: input zone type and masks
- Adjusting the size of the expanded area
- Combo without input: Search in Combo Box control values
- Size of the expanded area
- Drawing in Combo Box controls
- Limitations in Java
- Vocabulary
- Swapping
Overview of the Combo Box control Control in a window, control in a dynamic or static page The Combo Box control displays a list of elements and allows users to select an element from the list. Unlike a List Box control, a Combo Box control is not scrolled: the control scrolls the list on demand or when the cursor is positioned over the list. The elements displayed in a Combo Box control can be defined when creating the control in the editor. These elements: - are defined programmatically.
- come from a data file or query.
Creating a Combo Box control To create a Combo Box control: - On the "Creation" tab, in the "Usual controls" group, click "Combo Box".
- Click at the desired location to create the control in the page or window. The Combo Box control creation wizard starts automatically.
To view the characteristics of the control, select "Description" in the context menu. Characteristics of Combo Box controls To easily handle a Combo Box control, you must be familiar with the following vocabulary: | | Name | Definition |
---|
Selection bar | Allows you to view the selected element in the expanded area. A specific color is used in most cases. | File Combo | The Combo box control is based on a data file or query. The control elements correspond to the file records. There are two types of Combo Box controls based on a data file:- Combo Box control file "Loaded into memory ": The content of the field is loaded into memory and then displayed in the. Access to the elements of the Combo Box control is faster. This mode is reserved for data files with less than 100,000 records.
- Combo Box control "Direct access (unlimited) ": The field directly displays the contents of the data file or query.. The current record corresponds to the selected element. Selecting an element in the control triggers an access to the linked data file. This type of control is reserved for data files with more than 100,000 records.
| Combo Box populated programmatically | The Combo Box control is not based on a data file or query. The elements displayed in the Combo Box control are defined by the developer (in the description window or through programming). | Editable Combo Box | The user can enter text in the edit control associated with the Combo Box. If the "Assisted input" option is selected, the user can quickly select the element by entering the first few letters: the letters entered are automatically completed with the corresponding element. | Non-editable Combo Box | The user selects an element in the expanded area via the selection bar. |
Related Examples:
|
Unit examples (WINDEV): The Combo Box control
[ + ] Using a Combo Box control
|
|
Complete examples (WINDEV): WD Managing a computer fleet
[ + ] This example presents the management of a computer fleet with WINDEV. The following topics are presented in this example: 1/ the printed reports, 2/ the graphic representation of the location of the computer, 3/ the automatically filled combo boxes. Summary of the example supplied with WINDEV: This example is used to manage a computer fleet. For each computer, you will be able to define its characteristics, its components, the person who is using it as well as its location in the offices.
|
|
Unit examples (WINDEV): The EyeMagnet
[ + ] Using the "eYe magnet" mechanism (also called conditional formatting) The "eYe magnet" consists in modifying the visual aspect of a control in order to attract the user's attention to this control. WINDEV allows you to automatically modify this visual aspect according to a set of conditions.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|