$root.$iwindows.WINDOW.$objs.Button Area

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

Class notation

Properties Methods Events 

Buttons areas let you place an invisible and clickable control on top of a graphic, or behind the whole window.

Properties

Object specific 
$actedataIf true, the control is active during enter data
 
Note the button will not work if this is set to false, in particular on modeless enter data windows.
$actnomethodIf true, the control is active when no methods are running
 
Note the button will not work if this is set to false, in particular on modeless enter data windows.
$buttonmodeThe button mode for pushbuttons. A kBM... constant. The values other than kBMuser,kBMok,kBMcancel,kBMcolorpicker,kBMlinestylepicker,kBMpatternpicker indicate that the button carries out the appropriate Omnis data file operation
kBMcancel kBMclear kBMdelete kBMedit kBMfind kBMinsert kBMinsertcv kBMmainfile kBMnext kBMok kBMprev kBMuser
$fieldstylefocusedThe style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus
$gridsectionThe type of the complex grid section containing the object. One of the kGrid... constants
$inactnorecIf true, the button is inactive when there is no current record
 
Note the button will not work if this is set to false, in particular on modeless enter data windows.
$noflashIf true, the button area does not flash
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
Standard$active $candropcursor $componentinfo $container $contextmenu $cursor $disablefocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $enabled $fieldstyle $framehwnd $gridcolumn $hasfocus $height $helpfile $hwnd $ident $keyevents $left $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $tooltip $top $userinfo $visible $width

Methods

Object specific 
$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 
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 evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evWillDrop

Children

Top 

$methods