Subject | Re: [IBO] Colors for the IB_GRID. |
---|---|
Author | Nando Dessena |
Post date | 2002-03-12T19:33:27Z |
Jose,
(see the Contact sample application for, well, a sample), split the cell
text into several parts according to the formatting options you need,
and then perform a Canvas.TextOut for each part after setting
Canvas.Font.Style accordingly. Canvas.TextWidth will help you trace the
horizontal position from which to start drawing text parts.
HTH
--
____
_/\/ando
> Is possible to bold (or write in color) a part of a text in a grid?not the easiest thing, but feasible. You'll need to customdraw your grid
(see the Contact sample application for, well, a sample), split the cell
text into several parts according to the formatting options you need,
and then perform a Canvas.TextOut for each part after setting
Canvas.Font.Style accordingly. Canvas.TextWidth will help you trace the
horizontal position from which to start drawing text parts.
HTH
--
____
_/\/ando