home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.ms-windows.programmer.tools:795 comp.os.ms-windows.programmer.misc:1563 comp.os.ms-windows.misc:2481
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!doug.cae.wisc.edu!umn.edu!bru!mayo.edu!anderson
- From: anderson@mayo.edu (Alfred I. Anderson)
- Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
- Subject: VG - colors/fonts in Grid possible
- Message-ID: <anderson.25.715019633@mayo.edu>
- Date: 28 Aug 92 16:33:53 GMT
- Sender: newsman@bmw.mayo.edu (/home/bmw/usenet)
- Organization: Mayo Foundation
- Lines: 20
-
- Microsoft distributes the GRID control as an enhancement to Visual Basic in
- the Professional Toolkit. It is a very useful control!
-
- Question: how can the character attributes of forecolor and fontsize be set
- on a CELL BY CELL basis?
-
- It is easy to give the entire grid these attributes. However, I can't find
- a way to adjust the attributes on a cell basis. For example, all numbers
- appearing in column 1 should be in black unless they are negative in which
- case they should appear in red. Or, every 5th row should be printed in a
- bold-face font, other rows printed in a normal font.
-
-
- Can anyone suggest a way of doing this?
-
- Alfred
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alfred Anderson Internet: anderson@Mayo.edu
- Mayo Foundation - Rochester MN 55905
- -----------------------------------------------------------------
-