[fpc-pascal] outtextXY not moving pointer

James Richters james at productionautomation.net
Mon May 1 15:18:56 CEST 2017


I am using a combination of outtext and outtextxy for an application using
the graph unit on Windows.  I am noticing that outtextxy is not moving the
pointer to the end of text as it is supposed to.   Outtext does move the
pointer, outtextxy is not moving the pointer.    

The documentation here:
http://www.math.uni-leipzig.de/pool/tuts/FreePascal/units/node9.html#pro:Out
Text

And here : https://www.freepascal.org/docs-html/rtl/graph/outtextxy.html  

 

states that both outtext and outtextxy are supposed to move the current
position to the end of the text.   

 

Any idea's why this is not working or how to get it fixed?

 

Jim

 


8.4.50 OutText 


Declaration 

Procedure OutText (Const TextString : String); 

Description 

OutText puts TextString on the screen, at the current pointer position,
using the current font and text settings. The current position is moved to
the end of the text. 

Errors 

None. 

See also 

OutTextXY
<http://www.math.uni-leipzig.de/pool/tuts/FreePascal/units/node9.html#pro:Ou
tTextXY> 



8.4.51 OutTextXY 


Declaration 

Procedure OutTextXY (X,Y : Integer; Const TextString : String); 

Description 

OutText puts TextString on the screen, at position (X,Y), using the current
font and text settings. The current position is moved to the end of the
text. 

Errors 

None. 

See also 

OutText
<http://www.math.uni-leipzig.de/pool/tuts/FreePascal/units/node9.html#pro:Ou
tText> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170501/99645002/attachment.html>


More information about the fpc-pascal mailing list