Parse basic attributes and advanced attributes of List, and present it as described in the XML files.
Function | Function description | Default value | Sample in XML |
---|---|---|---|
background | Set background color for List | OS | <List background="240,0,0"/> |
foreground | Set foreground color for List | OS | <List foreground="240,0,0"/> |
font | Set font for List | OS | <List font = " Arial, 10, BOLD|ITALIC"/> |
bounds | Set margin bounds(X, Y, Width, Height) for List | OS | <List bounds="15, 15, 466, 18"/> |
enabled | If it is true, the List is enabled; If it is false, it is disabled. | TRUE | <List enabled="TRUE"/> |
visible | If it is true, the label is visible; If it is false, it is invisible. | TRUE | <List visible="TRUE"/> |
dataName | Get data from data layer according to the dataName. | FALSE | <List dataName="dataname"/> |
dataNameForList | Get data list from data layer according to the dataName. | NULL | <List dataNameForList="dataname"/> |
tabIndex | Define tab focus sequence. | INFINITE | <List tabIndex="1"/> |
helpID | helpId is defined in myHelpContexts.xml, press shortcut key when the focus is on the List, it will pop up help message about the List | NULL | <List helpId="listId"/> |