FlashGUI Functions

  Objects Object functions Other functions  

Objects / toolbar

toolbar

toolbar(objnum,coord,imglist,option)

creates a toolbar

Parameters

objnumobject number
coordcolumn, row, width
comma or @am delimited
imglistimagelist file name
If disabled buttons list is required
then specify it comma or @am delimited
optionoptions comma or @am delimited

Options

disabledisabled
font [name size style color]font specification (see font)
hideinvisible
hotkey keyname keyname ...assign hotkeys (see hotkey)
notexticons only (for minimal button width)
offdisabled
raisedraised buttons

Events

OnClickA button has been pressed

Data:
dt<1> - numeric button id
dt<2> - icon number in the imglist

Hot keys

VK_RETURN'Enter' key has been pressed

Data:
dt<1> - numeric button id

Functions

delbtndeletes button from a toolbar
delobjdeletes object
doexecutes an additional action
getbtngets toolbar button info
getdtreturns additional data
insbtninserts a button to a toolbar
modifymodifies object's properties
modifybtnmodifies a toolbar button
setdropmenuassignes a menu to a toolbar button
setfocussets focus to an object

Using FlashGUI

toolbarTool bar
 

Page 4-25 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010