Parent: $root.$iwindows.WINDOW.$objs
Children
Push buttons are control fields that activate either user-defined methods or standard Omnis database commands such as Find, Next, and Previous.
Object specific | |
$actedata | If 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. |
$actnomethod | If 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. |
$borderradius | Radius for rounded border corners.1 to 4 pixel values separated by -,in order topleft,topright,bottomright,bottomleft.If bottomleft is omitted it is topright.If bottomright is omitted it is topleft.If topright is omitted it is topleft |
$buttonmode | The 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 kBMcolorpicker kBMdelete kBMedit kBMfind kBMinsert kBMinsertcv kBMlinestylepicker kBMmainfile kBMnext kBMok kBMpatternpicker kBMprev kBMuser |
$buttonstyle | The drawing style of a button:kSystemButton,kUserButton,kNoBorderButton,kHeadingButton,kComboButton,kRoundButton,kLargeRoundButton, or kIDEButton.For headed and tree lists,it is the style of the header button: kSystemButton or kUserButton kComboButton kHeadingButton kIDEButton kLargeRoundButton kNoBorderButton kRoundButton kSystemButton kUserButton |
$contents | For buttons with a kBM...picker mode,the current color,line style or pattern |
$fieldstylefocused | The style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus |
$gridsection | The type of the complex grid section containing the object. One of the kGrid... constants |
$iconcolor | The color used to draw the icon for the item, when the icon is a themed SVG icon |
$iconid | The icon identifier used to reference the icon |
$inactnorec | If 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. |
$nogray | If true, the object does not gray when it is disabled |
$styledtext | If true, the field supports styled text. The text styles are stripped for objects on macOS style top toolbars,and for the menus created in place of lists to support vertical docking areas |
$text | The text or calculation stored with the object |
$timeout | Assign positive integer N to start a countdown timer that runs for N seconds,appending the time left to the button text.Assign zero to stop the timer.When the timer expires,the button receives evClick with event parameter pTimeout set to kTrue |
$tooltippos | A kTooltipPos... constant that specifies where $tooltip appears relative to the control kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop |
Standard | $active $align $alpha $backcolor $backgroundtheme $backpattern $bordercolor $candropcursor $componentinfo $container $contextmenu $cursor $disablefocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $enabled $fieldstyle $font $fontsize $fontstyle $forecolor $framehwnd $gridcolumn $hasfocus $height $helpfile $hwnd $ident $keyevents $left $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $subwindowstyle $textcolor $tooltip $top $userinfo $visible $width |
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 |
Object specific | |||||
evWillHide | Sent to a field before it is hidden. Currently only used when the field is set as a side panel Parameters
| ||||
evWillShow | Sent to a field before it becomes visible. Currently only used when the field is set as a side panel Parameters
| ||||
Standard | evAfter 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 |
$methods |