BS: Drop-down allows you to choose a value from List
There are 3 concepts:
1. The list of ID+Display text are defined inside the field. In the Input field you can only see the Display text, but the ID is saved.
Use this type if the simple variant is enough or if you don't want to see the ID.
Note: If SQL command is necessary, it takes more time to open a window.
2. In the drop-down you can see the ID and additional fields and choose the ID.
This list is created in the moment of the view of the list.
This variant don't reduce the performance from the program. Use this variant if possible
Source can be
- manual values
- SQL select command
- odata (bsl) command
3. Other type of Drop-down as Date, Bitmap or Color
If drop-down value defined, the system insert automatically the drop-down icon right of the field
Object name of this drop-down icon is always object name + "_p", example "utf1_p"
It is possible to modify standard drop-downs. See Drop-down.script
Open drop-down window:: use drop-down without properties:
dw_1.item.myfield.dropdown
Property |
Description |
---|---|
dropdown.addvalues |
|
dropdown.filedir |
|
dropdown.format |
|
dropdown.formatvalues |
|
dropdown.fromdw |
|
dropdown.fromfield=<column2> |
|
dropdown.select=<selectcommand> |
|
dropdown.bsl=<odata> |
|
dropdown.setvalues=<values> |
|
dropdown.translate |
Translate all Value Entries from the value-List |
dropdown.script |
|
dropdown.values=.. |