$root.$iwindows.WINDOW.$objs.Shape Field

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

Class notation

Properties Methods Events 

Shape fields are graphic objects that have some general field properties.

Properties

Object specific 
$cachepictureIf true, the object keeps a runtime copy of the native OS image corresponding to a shared picture. This results in faster drawing, at the cost of greater memory usage
$cornerradiusThe pixel radius of the corners of the rounded rectangle shape (assign a value <= 0 to set this property to its default value). The maximum value of $cornerradius is 255
$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
$pictureThe picture stored with the object
$shapeThe shape (Rect, Oval, etc) of the background field
kBackpicture kLine kOval kRect kRect3D kRoundrect kText
$textThe text or calculation stored with the object
$tileIf true, image is tiled
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
$vertcentertextIf true,single line text (or any text in a kText background object) is vertically centered in the height of the field. If false,the text is vertically positioned according to the rules of Omnis Studio 5.0.0
Standard$active $align $alpha $backcolor $backgroundtheme $backpattern $bordercolor $candropcursor $componentinfo $container $contextmenu $cursor $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $effect $enabled $fieldstyle $font $fontsize $fontstyle $forecolor $framehwnd $gridcolumn $height $helpfile $hwnd $ident $keyevents $left $linestyle $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $subwindowstyle $textcolor $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 
evCellBeforeAlways sent to a cell before the focus enters
Parameters
pEventCodeThe event code
pHorzCellThe horizontal cell id
pVertCellThe vertical cell id
evCellChangedSent to a field after the grid cell has been changed
Parameters
pEventCodeThe event code
pHorzCellThe horizontal cell id
pVertCellThe vertical cell id
pCellDataThe cell data
evCellChangingSent to a field before the grid cell is changed
Parameters
pEventCodeThe event code
pHorzCellThe horizontal cell id
pVertCellThe vertical cell id
pCellDataThe cell data
evExtendSent to grid field when the list is to be extended
Parameters
pEventCodeThe event code
pRowA reference to the list row
pLineNumberThe line number in the list
evFixedCellClickedSent to the grid when a fixed cell is clicked
Parameters
pEventCodeThe event code
pHorzCellThe horizontal cell id
pVertCellThe vertical cell id
evScrollTipSent to the grid field during scrolling so the scroll tip can be changed
Parameters
pEventCodeThe event code
pIsVertScrollIf true,the scrolltip is for the vertical scroll bar
pScrollPosThe new scroll position that the scrollbar has been moved to
pScrollTipThe string to be used in the scrolltip
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 evClipChangedData evDisabled 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