List
List class is used for control and management of the Internal list parts.
left
Gets or sets the position at the left of the parts.
top
Gets or sets the position at the top of the parts.
width
Gets or sets the width of the parts.
height
Gets or sets the height of the parts.
bgcolor
Gets or sets the background color of the parts.
fgcolor
Gets or sets the font color of the parts.
font
Gets or sets the font of the part by a name.
fontsize
Gets or sets the font size of the part by pixel.
alias
Gets the alias of the parts.
enabled
Gets or sets the available state of the part.
visible
Gets or sets a visibility of the part.
tabindex
Gets or sets the tab order of the parts.
focus()
Sets focus to this parts.
value
Gets or sets the selected value as an integral value.
count
Gets the number of cards currently shown on the list.
selcount
Gets the number of selected cards on the list.
getValue(line, name)
Gets the value in an item with name of the specified line. If an item does not exist, it returns null.
setValue(line, name, value)
Sets the value in an item with name of the specified line.
attachEvent(funcname, func)
Connects a parts event with a function.
Event name | Example | Description |
gotfocus | func() | Occurs when the form becomes active. |
lostfocus | func() | Occurs when the form becomes non-active. |
added | func() | Occurs when a card is added to the list. |
removed | func() | Occurs when a card is deleted to the list. |
selected | func() | Occurs when a card on the list is selected. |