$root.$iwindows.WINDOW.$objs.Screen Report Field

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

Class notation

Properties Methods Events 

A field that displays a printed report in your window.

Properties

Object specific 
$currentpageThe currently displayed page.When more than one page is visible,the value indicates the most visible page
$disabledefaultcontextmenuIf true, the default context menu for the object will not be generated in response to a context click ($clib.$disabledefaultcontextmenu and $cobj.$disabledefaultcontextmenu must both be false for the menu to be generated)
$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
$pagecountThe current page count
$showpagelistIf true,and $showpaper is also true,the field shows a list of pages as well as the paper
$showpaperIf true,the field shows the paper
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
Standard$active $alpha $backcolor $backpattern $bordercolor $candropcursor $componentinfo $container $contextmenu $cursor $disablesystemfocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $effect $enabled $fieldstyle $forecolor $framehwnd $gridcolumn $height $helpfile $hwnd $ident $keyevents $left $linestyle $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $tooltip $top $userinfo $visible $width

Methods

Object specific 
$clear$clear() clears the contents of the screen report field
$print$print([bToPDF=kFalse,cPDFPath='']) prints to printer the report displayed in a screen report field. Optional printing to OmnisPDF if bToPDF is kTrue using cPDFPath. If no path a prompt is given.
$printpage$printpage() prints to printer the current page displayed in a screen report field
$redirect$redirect(bPrompt) sends the report displayed by the field to the current destination
$searchreport$searchreport(cText[,bIgnoreCase=kTrue,bNext=kTrue]) searches report for cText;further calls with same cText and bIgnoreCase search for next (bNext kTrue) or previous (bNext kFalse) match.Empty cText clears the search
$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
$zoom$zoom(iZoom) zooms the screen report field.iZoom can be positive (indicating a percentage between 25 and 200%), or 0 meaning zoom to fit, or negative (-1 to -7) where -iZoom indexes the 7 standard zoom factors from smallest to largest
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 evHScrolled evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evVScrolled evWillDrop

Children

Top 

$methods