$root.$iwindows.WINDOW.$objs.Icon Array

Parent: $root.$iwindows.WINDOW.$objs
 
Children 

Class notation

Properties Methods Events 

An icon array is a type of window field that you can use to display a list of itmes identified by icons. These choices are displayed as large or small icons which the user can click on or drag to select.

Properties

Object specific 
$autoarrangeIf true, the icon array recalculates the number of columns when its size changes
$buttonbackgroundIf true, the icons are drawn on a button face background
$contentsThe current contents of the object
$disablehottrackingIf true,the control does not draw any highlighting to show that the mouse is over the main body of the control but not pressed
$enabledeletekeyIf true, the delete key can delete the currently selected lines
$extraspacingThe extra spacing in pixels added to entries
$fieldstylefocusedThe style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus
$firstselThe number of the first selected character or line in the current contents
$gridsectionThe type of the complex grid section containing the object. One of the kGrid... constants
$hilitelineIf true, the object highlights lines during drag and drop
$iconcolumnThe column number the icon array will use to draw icons
$largetextwidthThe width in pixels of the text,when displaying large icons; to use the default width,set this property to zero
$lastselThe number of the final selected character or line in the current contents
$maxeditcharsThe maximum number of characters allowed when editing the text for an icon, or headed list box column; zero means editing is not allowed
$multipleselectIf true, the field allows the user to select more than one line
$secondiconcolumnThe column number the icon array will use to draw an additional icon
$selectionbackcolorThe color of selected lines. kColorDefault means use the default color. When not kColorDefault only applies when the control has the focus
$selectiontextcolorThe text color of selected lines. kColorDefault means use the default color. When not kColorDefault applies irrespective of whether the control has the focus
$showtextIf true,the toolbar buttons or icon array also display text
$smalliconsIf true, the icon array displays small icons
$smalltextwidthThe width in pixels of the text, when displaying small icons
$studioideIf true,the control draws in a platform independent IDE style
$textcolumnThe column number the icon array will use to draw text
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
Standard$active $alpha $backcolor $backgroundtheme $backpattern $bordercolor $candropcursor $componentinfo $container $contextmenu $cursor $dataname $disablefocus $disablesystemfocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $effect $enabled $fieldstyle $font $fontsize $fontstyle $forecolor $framehwnd $gridcolumn $hasfocus $height $helpfile $horzscroll $hscroll $hwnd $ident $keyevents $left $linestyle $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $subwindowstyle $textcolor $tooltip $top $userinfo $vertscroll $visible $vscroll $width

Methods

Object specific 
$edittext$edittext([bSetCurrentField=kFalse]) invokes in place text editing for the current line of the icon array when it is the current field or if bSetCurrentField is kTrue, if the line is selected
$sendevent$sendevent(iEvent[,eventParameters...]) Sends event iEvent (an ev... constant value) to the object with eventParameters passed as name,value pairs, for example $sendevent(evClick,'pLineNumber',2).Returns kFalse if the event is discarded
$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client
Standard$redraw

Events

Object specific 
evRowButtonClickedSent to a list or headed list when a row button is clicked
Parameters
pEventCodeThe event code
pRowButtonThe name of the row button selected
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
StandardevAfter evBefore evCanDrop evClick evClipChangedData evDisabled evDoubleClick evDrag evDragBorder evDragFinished evDrop evEnabled evHidden evHScrolled evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evVScrolled evWillDrop

Children

Top 

$methods