Skip to content

DisplayY

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
BlitzLLVM

DisplayY 〔BlitzLLVM〕

DisplayY:Int32 display:Int32
Parameter Mode Type Default Description
display In Int32 required The display number, from 1 to CountDisplays.

Returns: The position in pixels, or 0 if the display does not exist.

Description

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

The top edge of a display on the desktop. The main display is usually at 0, and a display above it has a negative value. This is a BlitzLLVM extension: the originals have no way to ask for more than the main display.

Differences

  • A display number that does not exist gives 0 (an empty text for the name) instead of stopping the program, because a display can be unplugged while the program runs.

Related Commands

DisplayDepth 〔BlitzLLVM〕, DisplayHeight 〔BlitzLLVM〕, DisplayModeDepth 〔BlitzLLVM〕, DisplayModeHeight 〔BlitzLLVM〕, DisplayModeRefreshRate 〔BlitzLLVM〕, DisplayModeWidth 〔BlitzLLVM〕, DisplayName 〔BlitzLLVM〕, DisplayRefreshRate 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally