Combo

Parse basic attributes and advanced attributes of Combo, and present it as described in the XML files.

Table 1.
Function Function description Default value Sample in XML
background Set background color for Combo text OS <Comb background="240,0,0"/>
foreground Set foreground color for Combo text OS <Comb foreground="240,0,0"/>
font Set font for Combo text OS <Comb font = " Arial, 10, BOLD|ITALIC"/>
bounds Set margin bounds(X, Y, Width, Height) for Comb OS <Comb bounds="15, 15, 466, 18"/>
text Set text for Comb, can’t set HTML special character for text directly(e.g. & if you want to set ‘&’, you must set for &amp ) "" <Comb text="Comb test"/>
enabled If it is true, the Comb is enabled; If it is false, it is disabled. TRUE <Comb enabled="TRUE"/>
visible If it is true, the Comb is visible; If it is false, it is invisible. TRUE <Comb visible="TRUE"/>
editable If it is true, Combo is editable; If it is false, it can’t be edited. FALSE <Comb editable="TRUE"/>
required If it is true, the Combo must be fill in, if the Combo is not fill in, its background will show yellow, and you can’t submit the page; if it is false, you can select to fill in or not fill in the Combo. FALSE <Combo required="TRUE"/>
dataName Get data from data layer according to the dataName. NULL <Combo dataName="dataname"/>
dataNameForList Get data list from data layer according to the dataName. NULL <Combo dataNameForList="dataname"/>
tabIndex Define tab focus sequence. INFINITE <Combo tabIndex="1"/>
helpID helpId is defined in myHelpContexts.xml, press shortcut key when the focus is on the Combo, it will pop up help message about the combo. NULL <Combo helpId="combolId"/>