Extended text alignment

Main Features ››
Parent Previous Next

Extended text alignment

With M!Table you can define the horizontal and vertical text/checkbox alignment of cells, columns and rows.
To set the text alignment for a particular item ( e.g. a cell ), simply set the appropriate text alignment flags:

Column Flags
MTBL_COL_FLAG_TXTALIGN_LEFT
MTBL_COL_FLAG_TXTALIGN_CENTER
MTBL_COL_FLAG_TXTALIGN_RIGHT

MTBL_COL_FLAG_TXTALIGN_TOP
MTBL_COL_FLAG_TXTALIGN_VCENTER
MTBL_COL_FLAG_TXTALIGN_BOTTOM

Column Header Flags
MTBL_COLHDR_FLAG_TXTALIGN_LEFT
MTBL_COLHDR_FLAG_TXTALIGN_RIGHT

Column Header Group Flags
MTBL_CHG_FLAG_TXTALIGN_LEFT
MTBL_CHG_FLAG_TXTALIGN_RIGHT

Row Flags
MTBL_ROW_TXTALIGN_LEFT
MTBL_ROW_TXTALIGN_CENTER
MTBL_ROW_TXTALIGN_RIGHT

MTBL_ROW_TXTALIGN_TOP
MTBL_ROW_TXTALIGN_VCENTER
MTBL_ROW_TXTALIGN_BOTTOM

Cell Flags
MTBL_CELL_FLAG_TXTALIGN_LEFT
MTBL_CELL_FLAG_TXTALIGN_CENTER
MTBL_CELL_FLAG_TXTALIGN_RIGHT

MTBL_CELL_FLAG_TXTALIGN_TOP
MTBL_CELL_FLAG_TXTALIGN_VCENTER
MTBL_CELL_FLAG_TXTALIGN_BOTTOM


Hints and tips

Horizontal text alignment of columns
You may wonder why M!Table provides flags to define the horizontal text alignment of columns, though Gupta provides appropriate COL_Justify* flags.
Well, there are some differences:

Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator