|
OnFocus TriggerThe onfocus trigger is activated when a combo or an edit control gains the input focus. Syntax:onfocus="Function(); Function2(); ..." Remarks:
Example: <xml id="toolbar"> <toolbar caption="OnFocus Example"> <control type="edit" bgcolor="white" onfocus="SetParam(this,bgcolor,#FFFF00)" onkillfocus="SetParam(this,bgcolor,WHITE)" id="query" width=140 </toolbar> </xml> In the above example, when the edit control gains the input focus, the onfocus trigger changes the background color to yellow. When it looses the focus, the background color changes to white. Compatibility Requires ToolbarBrowser v2.4.3 and later. See Also: |