User Tools

Site Tools


postevent_send_an_event_to_the_graphclass_object_.htm
Navigation:  ABC Library Reference > GraphClass > GraphClass Methods >====== PostEvent (send an event to the GraphClass object) ====== Previous pageReturn to chapter overviewNext page

PostEvent ( eventnumber )

blk2blue.jpg

PostEvent Post event to graph object
eventnumber A LONG value that passes the event number to the graph object

The PostEvent method posts an event to the graph object. The graph object event is processed by the appropriate TakeEvent method.

Graph Events are template-defined events, and listed in the SVGRAPH.EQU source file:

                           itemize(3000)          ! Events numbered from 3000

event:TitleON                 equate               ! To show title

event:TitleOFF                equate               ! To not show title

event:WallpaperON             equate               ! To show Wallpaper

event:WallpaperOFF            equate               ! To not show Wallpaper

event:3DON                    equate               ! To draw in 3D mode (if is accessible)

event:3DOFF                   equate               ! To switch off 3D a mode (if is accessible)

event:GridON                  equate               ! To draw a grid (if is accessible)

event:GridOFF                 equate               ! To hide a grid (if is accessible)

event:GridXON                 equate

event:GridXOFF                equate

event:GridYON                 equate

event:GridYOFF                equate

event:AxisScaleMinMaxON       equate

event:AxisScaleMinMaxOFF      equate

event:AxisNameON              equate               ! To show the names of Axis

event:AxisNameOFF             equate               ! To not show the names of Axis

event:GradientON              equate

event:GradientOFF             equate

event:NodeMinMaxON            equate               ! To show units of a minimum/maximum

event:NodeMinMaxOFF           equate               ! To not show units of a minimum/maximum

event:NodeLabelON             equate               ! To show the names of nodes

event:NodeLabelOFF            equate               ! To not show the names of nodes

event:NodeValueON             equate               ! To show the values of nodes

event:NodeValueOFF            equate               ! To not show the values of nodes

event:NodeBgrON               equate

event:NodeBgrOFF              equate

event:LegendBoxON             equate

event:LegendBoxOFF            equate

event:ToolTipON               equate

event:ToolTipOFF              equate

event:Zoom                    equate

event:Zoom500                 equate

event:Zoom300                 equate

event:Zoom200                 equate

event:Zoom100                 equate

event:Zoom50                  equate

event:Zoom25                  equate

event:GraphTypeLine           equate

event:GraphTypeScatterGraph   equate

event:GraphTypeAreaGraph      equate

event:GraphTypeFloatingArea   equate

event:GraphTypeColumnChart    equate

event:GraphTypeColumnWithAccumulation equate

event:GraphTypeBarChart       equate

event:GraphTypeBarWithAccumulation equate

event:GraphTypeFloatingColumn equate

event:GraphTypeFloatingBar    equate

event:GraphTypePieChart       equate

event:GraphSubTypeSimple      equate

event:GraphSubTypeNormalized  equate

event:FigureTypeBar           equate

event:FigureTypeCylinder      equate

event:LegendPosition:None     equate               ! To not show legend

event:LegendPosition:Left     equate

event:LegendPosition:Right    equate

event:LegendPosition:Top      equate

event:LegendPosition:Bottom   equate

event:AxisStyle:None          equate               ! To not show Axis

event:AxisStyle:Standard      equate

event:AxisStyle:Long          equate

event:AxisScale               equate

event:AxisScale:Linear        equate

event:AxisScale:AsMSWord      equate

event:NodeType:None           equate               ! To not show nodes

event:NodeType:Square         equate               ! To set a type of node as a square

event:NodeType:Triangle       equate               ! To set a type of node as a triangle

event:NodeType:Circle         equate               ! To set a type of node as a circle

event:Refresh                 equate               ! To refresh object

event:Draw                    equate               ! To draw object

event:Hide                    equate               ! To hide object

event:UnHide                  equate               ! To unhide object

event:Print                   equate               ! To print diagram

event:PrintBestFit            equate

event:Save                    equate               ! To save diagram

event:SaveAs                  equate               ! To save the diagram under a new name

event:DrillDown               equate

event:ReturnFromDrillDown     equate

                           end

See Also:     TakeEvent

postevent_send_an_event_to_the_graphclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1