Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>pos_size()</b> c_exam03 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
POS_SIZE()                                                          C_EXAM03
   Defines width and decimal length for mouse positioning display.

   Syntax
         POS_SIZE([nPosWidth,nPosDecimal])

   Arguments
         OPTIONAL PARAMETERS
         nPosWidth   Sets the width of numeric display.
         nPosDecimal Sets the decimal precision.

   Returns
         POS_SIZE(@nPosWidth,@nPosDecimal) Return width and decimal
                                           precision in variables passed
                                           by reference.

   Description
         POS_SIZE() allows the programmer to specify the length and decimal
         precision of the mouse reference positioning display values. If no
         parameters are specified, the system will determine the width and
         decimals automatically.

         Mouse positioning is the display of the current mouse cursor location
         in current world scale coordinates. As the mouse cursor is moved
         across the viewport, the display is updated.

   Examples

         Placement and attributes for current position of mouse:

         POS_SIZE()            && No parameters - automatic sizing
         POS_ATTR(0,30,2)      && Row, Column, Font
         POS_ONOFF(1,1)        && Pos on, region 1
         POS_COLOR(1,7)        && fg, bg
         POS_REFER()           && Cursor reference coordinates
                                 && No parameters set reference to origin

See Also: POS_ATTR() POS_COLOR() POS_ONOFF()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson