advr.hlp (Topic list)
PCOPY Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 PCOPY sourcepage%, destinationpage%
 
 Usage Notes
   ■ References to the PCOPY statement are not allowed when forms are showing
     and cause Visual Basic to generate an error. Use the HIDE method to hide
     any visible forms or controls before executing this statement.
     See: HIDE Method
 
   ■ The value that identifies the video page is determined by the size of
     video memory and the current screen mode.
 
   ■ The number of video memory pages available depends on the current
     screen mode, the graphics adapter, and how much screen memory is
     on that adapter:
 
     MDPA Screen Modes
                 Rows and
         Mode    Columns     Resolution    Pages Available
         ════    ════════    ══════════    ═════════════════════════════════
         0       80x25       720x350       1
 
     Hercules Adapter Screen Modes
                 Rows and
         Mode    Columns     Resolution    Pages Available
         ════    ════════    ══════════    ═════════════════════════════════
         0       80x25       720x348       2
         3       80x25       720x348       2
 
     CGA Screen Modes
                 Rows and
         Mode    Columns     Resolution    Pages Available
         ════    ════════    ══════════    ═════════════════════════════════
         0       40x25       320x200       8
                 80x25       640x200       4
         1       40x25       320x200       1
         2       80x25       640x200       1
 
     EGA Screen Modes
                 Rows and                                Page    Pages
         Mode    Columns     Display(a)    Resolution    Size    Available
         ════    ════════    ══════════    ══════════    ════    ═══════════
         0       40x25       Color         320x200       -       8
                 40x25       Enhanced      320x350       -       8
                 40x43       Enhanced      320x350       -       (c)
                 80x25       Color         640x200       -       (c)
                 80x25       Enhanced      640x350       -       (c)
                 80x25       Color         640x200       -       (c)
                 80x25       Monochrome    720x350       -       (c)
                 80x43       Enhanced      640x350       -       4(c)
                 80x43       Monochrome    720x350       -       4(c)
         1       40x25       -             320x200       16K     1
         2       80x25       -             640x200       16K     1
         7       40x25       -             320x200       32K     (a)
         8       80x25       -             640x200       64K     (a)
         9(d)    80x25       Enhanced      640x350       64K     1
                 80x43       Enhanced      640x350       64K     1
                 80x25       Enhanced      640x350       128K    (a)
                 80x43       Enhanced      640x350       128K    (a)
         10      80x25       Monochrome    640x350       64K     (b)
                 80x43       Monochrome    640x350       64K     (b)
         ───────────────────────────────────────────────────────────────────
         (a) Pages = Screen memory divided by page size (eight page maximum,
                     one page minimum).
         (b) Pages = Screen memory divided by 2 divided by page size (eight
                     page maximum, one page minimum).
         (c) Number of pages is halved with 64K.
         (d) The first two entries under mode 9 are for an EGA with 64K of
             screen memory. The next two entries assume more than 64K of
             screen memory.
 
     VGA Screen Modes
                 Rows and                  Page
         Mode    Columns     Resolution    Size    Pages Available
         ════    ════════    ══════════    ════    ═════════════════════════
         0       40x25       360x400       -       8
                 40x43       320x350       -       8
                 40x50       320x400       -       4
                 80x25       720x400       -       8
                 80x43       640x350       -       4
                 80x43       720x350       -       4
                 80x50       640x400       -       4
                 80x50       720x400       -       4
         1       40x25       320x200       16K     1
         2       80x25       640x200       16K     1
         7       40x25       320x200       32K     (a)
         8       80x25       640x200       64K     (a)
         9       80x25       640x350       128K    (a)
                 80x43       640x350       128K    (a)
         10      80x25       640x350       64K     (b)
                 80x43       640x350       64K     (b)
         11      80x30       640x480       64K     1
                 80x60       640x480       64K     1
         12      80x30       640x480       256K    1
                 80x60       640x480       256K    1
         13      40x25       320x200       64K     1
         ───────────────────────────────────────────────────────────────────
         (a) Pages = Screen memory divided by page size (8-page maximum).
         (b) Pages = Screen memory divided by 2 divided by page size (8-page
                     maximum).
 
     MCGA Screen Modes
                 Rows and                  Page
         Mode    Columns     Resolution    Size    Pages Available
         ════    ════════    ══════════    ════    ═════════════════════════
         0       40x25       320x400       -       8
                 80x25       640x400       -       8
         1       40x25       320x200       16K     1
         2       80x25       640x200       16K     1
         11      80x30       640x480       64K     1
                 80x60       640x480       64K     1
         13      40x25       320x200       64K     1