PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
iHPos (Function)
In french: iPosH
iHPos is kept for backward compatibility.
In this version, use iXPos.
The documentation about iHPos available in WINDEV 5.5 is as follows.
 
Purpose
Find out or initialize the horizontal position (column) of the cursor in the page.
Syntax
Syntax 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
Notes
The 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.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment