home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / tools / 795 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.5 KB

  1. Xref: sparky comp.os.ms-windows.programmer.tools:795 comp.os.ms-windows.programmer.misc:1563 comp.os.ms-windows.misc:2481
  2. 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
  3. From: anderson@mayo.edu (Alfred I. Anderson)
  4. Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
  5. Subject: VG - colors/fonts in Grid possible
  6. Message-ID: <anderson.25.715019633@mayo.edu>
  7. Date: 28 Aug 92 16:33:53 GMT
  8. Sender: newsman@bmw.mayo.edu (/home/bmw/usenet)
  9. Organization: Mayo Foundation
  10. Lines: 20
  11.  
  12. Microsoft distributes the GRID control as an enhancement to Visual Basic in 
  13. the Professional Toolkit.  It is a very useful control!
  14.  
  15. Question: how can the character attributes of forecolor and fontsize be set 
  16. on a CELL BY CELL basis? 
  17.  
  18. It is easy to give the entire grid these attributes.  However, I can't find 
  19. a way to adjust the attributes on a cell basis.  For example, all numbers 
  20. appearing in column 1 should be in black unless they are negative in which 
  21. case they should appear in red.  Or, every 5th row should be printed in a 
  22. bold-face font, other rows printed in a normal font.
  23.  
  24.  
  25. Can anyone suggest a way of doing this?
  26.  
  27. Alfred
  28. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  29. Alfred Anderson                Internet:    anderson@Mayo.edu
  30. Mayo Foundation - Rochester MN 55905
  31. -----------------------------------------------------------------
  32.