CursorLineFeed
CursorLineFeed Ysize
 
Parameters:

    Ysize = The size in pixels that each line feed be
Returns: NONE
 

CursorLineFeed lets the user set their own stepping values for when print cursor moves down to a new line. Normally the CursorLinefeed value is set to zero, so the print cursor just uses the height of the current font to reposition itself.



FACTS:


* When the print cursor is moved, the cursor Line feed value is added with the current font height to calculate the cursors new Y position.




Mini Tutorial:


This example uses setting the cursor line value to print three messages down the screen.

  
  
; Set the Line Feed 50
  CursorLineFeed 50
  
; Display a message to the screen
  Print "Setting a Custom Line Feed"
  
; Display a message to the screen
  Print "Makes it Step down the screen"
  
; Display a message to the screen
  Print "Anyway you like"
  
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  
  




This example would output.

  
  Setting a Custom Line Feed
  
  
  
  
  Makes it Step down the screen
  
  
  
  
  Anyway you like
  

 
Related Info: CursorMargin | GetCursorLineFeed | GetCursorMargin | GetCursorX | GetCursorY | Print | SetCursor | SetCursorX | SetCursorY :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com