Navigation bar
  Home Print document Start Previous page
 227 of 234 
Next page End  

Gravitybox Schedule Primer
Page 225 
1998-2004 Gravitybox Software LLC
MonthDateHeaderDblClick
Event MonthDateHeaderDblClick(MonthDate
As Date, Button As Integer, Shift As
Integer)
This event only applies when the schedule's
ViewMode is set to month view. If the user double
clicks on a day header this event is raised. The
month has 7 day headers at the top of the screen,
one for each day of the week.
PrintCancel
Event PrintCancel()
If the user cancels the printing by setting the Cancel
parameter in any of the print events to true, the
printing will stop. This event is called to notify you
that the printing was stopped prematurely.
PrintDone
Event PrintDone()
Using the GoPrint method, you can print any part of
a schedule. When the printing process is complete
this event is raised.
PrintPageDone
Event PrintPageDone(Page As Long, PageX
As Long, PageY As Long, Cancel As
Boolean)
This event is raised when a page has completed
being formatted for printing. The parameter "Page" is
the absolute page number that has completed. The
"PageX" and "PageY" define the horizontal [1..N]
and vertical [1..M] page that has completed. A
schedule is made up of a grid of pages [N x M] that
are pieced together to form an entire schedule.
PrintProgress
Event PrintProgress(Percent As Long,
Cancel As Boolean)
Using the GoPrint method, you can print any part of
a schedule. This event is raised continually to show
the printing progress. The "Percent" parameter is the
percent done 0..100. Use this event to build a wait
progress dialog for the user to view during printing.
The Cancel parameter can be set to true to cancel
the printing.
http://www.purepage.com