◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── PMAP (expression#, n%) Usage Notes ■ References to the PMAP function are not allowed with forms and cause Visual Basic to generate the error message, "Invalid when forms are showing." Use the HIDE method to hide any visible forms or controls before executing this function. See: ◄HIDE Method► ■ The four PMAP functions allow you to find equivalent point locations between the window coordinates created with the WINDOW statement and the absolute screen coordinates or viewport coordinates defined by the VIEW statement. See: ◄VIEW Statement► ◄WINDOW Statement► ■ If no VIEW statement has been executed, or the most recently executed VIEW statement has no arguments, the viewport coordinates are equivalent to the absolute screen coordinates established by the most recently executed SCREEN statement. See: ◄SCREEN Statement►