Format

beasscript-logo-small

BS: Define Format of Dropdown

 

Format

Description

bitmap

Create a Bitmap dropdown

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 dropdown

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 dropdown

dw_1.item.udf1.dropdown.format=color

 

dropdownColor

 

Return defined color in Number and String fields

and follow variables

dd:r = red (0-255)

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


you can define the style from dropdown for every column

the data defined with formatvalues

 

Example dropdown 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