Previous: 4.51.2.2.11. ogSetActivePage() To the Table of Contents Next: 4.51.2.2.13. ogSetPal()
4.51.2.2.11. ogSetActivePage() Table of Contents 4.51.2.2.13. ogSetPal()

- 4.51.2.2.12. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.2. ogDisplay object
4.51.2.2.12. ogSetVisualPage()


4.51.2.2.12. ogSetVisualPage()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Sets which page is the visual page.

Declaration:
  function ogSetVisualPage(newPage:uInt32; waitForRetrace:boolean):uInt32;
Remarks:

Sets the current visual drawing page. Valid values are 0 and 1.
The visual page is the one currently being displayed on the display device.

If the second parameter is TRUE, the call will wait for a vertical blank before flipping the pages. This will prevent screen shear from occuring.

Return value:

Returns the previous visual page.

See also:


Previous: 4.51.2.2.11. ogSetActivePage() To the Table of Contents Next: 4.51.2.2.13. ogSetPal()
4.51.2.2.11. ogSetActivePage() Table of Contents 4.51.2.2.13. ogSetPal()

- 4.51.2.2.12. -