Home
Features
Toolbar Library
Forum
Download
Support
Tutorial
Manual
FAQ
3. Reference
Triggers
Controls
Variables
System Variables
Global Values
Functions
AutoFill()
Back()
Beep()
CheckLinks()
Checksum()
Click()
Command()
Customize()
DeleteOption()
Enable()
Execute()
ExportLinks()
Forward()
GetFolderIcon()
GetQuery()
GetSystemIcon()
Header()
Highlight()
HistoryMenu()
Home()
IfExactMatch()
IfMatch()
ImportValue()
ImportCaption()
ImportIntValue()
ImportXMLValue()
Length()
LoadMenu()
Menu()
OpenURL()
Options()
PageText()
PlaySound()
PopupManager()
Refresh()
Replace()
ReplaceAll()
Resize()
ResizeClient()
Redraw()
Save()
Search()
SearchBack()
SearchLast()
SearchNext()
SearchPage()
SetCaption()
SetClipboard()
SetFocus()
SetFontSize()
SetIcon()
SetOption()
SetParam()
SetText()
SetStatusText()
SetTooltip()
SetUserAgent()
SetValue()
Show()
Stop()
StripHTML()
ToolbarMenu()
TruncateOption()
UpdateToolbar()
Zoom()
Text Functions
SetOption() Function
Adds an option to a combo box control or a dropdown menu.
Syntax:
SetOption(id,text)
SetOption(id,text,action,value)
Parameters
id - ID of a combo control to add a new option item to.
text - Option to set
action - Action to set.
value - Value to set
Remarks:
This command works with either Combo box controls, or dropdown menu definitions.
The action and value parameters are used for setting menu options only. They have no meaning for combo controls.
Compatibility
action and value parameters are supported from version 2.4.1
See Also:
TruncateOption()
|
DeleteOption()
ToolbarBrowser is a Freeware project supported by
Trellian Limited
.