Article View: comp.os.ms-windows.programmer.tools
Article #336VG - colors/fonts in Grid possible
From: Alfred I. Anderson
Date: Fri, 28 Aug 1992 16:33
Date: Fri, 28 Aug 1992 16:33
20 lines
1417 bytes
1417 bytes
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 -----------------------------------------------------------------
Technical Details
Message-ID:
<anderson.25.715019633@mayo.edu>Path:
arc1-ca.pugleaf.net!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!andersonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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