Format

beasscript-logo-small

BS: Define Format of Drop-down

 

Format

Description

bitmap

Create a Bitmap drop-down

dw_1.item.udf1.dropdown.format=bitmap

 

dropdownBmp

Return only file name from bitmap without folder name

Display all icons from folder beas software\beas\bmp

calendar

Create Calendar drop-down

dw_1.item.udf1.dropdown.format=calendar

 

dropdownCalendar

 

Return the date. If target field is type char, then the system return date in system format yyyy/mm/dd

color

Create Color drop-down

dw_1.item.udf1.dropdown.format=color

 

dropdownColor

 

Return defined color in Number and String fields

and the following variables

dd:r = red (0-255)

dd:g = green (0-255)
dd:b = blue (0-255)


You can define the style from drop-down for every column

the data defined with formatvalues

 

Example drop-down with 2 columns

dropdownformatstring

 

Define the format and then send the values with "formatvalues"

 

dw_1.item.udf1.dropdown.format=title=FirstColumn,bold,italic;title=SecondColumn,width=400,color=255
dw_1.item.udf1.dropdown.formatvalues=red<tab>redcolor<CR>blue<tab>blue color

 

Delimiter is comma for properties and semicolon for the different columns