Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CLIPWKS -Spreadsheet Library - <b>lalign()</b> <b>miscwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lalign()                                                           MISCWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Set label alignment, (L)eft,(C)enter,(R)ight

 Syntax
   Lalign( aSpreadsheet,cAlignment )

 Parameters
   aSpreadsheet - Spreadsheet array handle
   cAlignment   - Alignment method

 Returns
   nStatus      0  All ok
                6  Invalid parameters

 Notes
   Text in a cell may be justified left, right, or centered. The Lalign()
   function is used to set the global alignment to be used for text being
   written to cells.

   Lalign() is not used with Excel spreadsheets.

 Example

function DoReport( cFile,cOutput )
    LOCAL aWks  := Lcreate( "TAXES","L2" )

    Lalign( aWks,"C")               // Set (C)entered alignment
    Lfooter( aWks,"Oregon taxes" )
    Lclose( aWks )
return nil

 Category
   Creating spreadsheet files

See Also: Lformat()

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