In french: iPosH
iHPos is kept for backward compatibility.
In this version, use iXPos
Below is the documentation of iHPos, available in WINDEV 5.5
PurposeFind out or initialize the horizontal position (column) of the cursor in the page.
SyntaxSyntax 1: Finding out the current horizontal position
<Result> = iPosH()
- <Result> is a real containing the horizontal position of the cursor
Syntax 2: Modifying the horizontal position
<Result> = iHPos(<Column position>)
- <Result> is a string describing the requested horizontal position
- <Column position> is a real containing the position to specify in mm
NotesThe origin (0,0) is located in the top left corner of the sheet. It takes the physical margins of printer into account. Each printer includes a physical margin where no print is allowed. iMargin is used to define the "logical" print margins.
The current vertical position when printing a character string points to the top part of the string to print. The bottom print line depends on the height of the fonts used in the printed line.
This page is also available for…