By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,184 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

MsFlexgrid.. Color in a cell

P: 34
Hi all..
I would like to ask.. how can i pick a cell in a flexgrid and put a color on it.. not the whole row.. a cell in a row...

If putting text..we use textmatrix... what about color...?

Need some light.. thanks..
Dec 4 '07 #1
Share this Question
Share on Google+
3 Replies


9815402440
100+
P: 180
hi

to change color of a cell in grid use following color
Expand|Select|Wrap|Line Numbers
  1. with flexgrid
  2. .row = 1
  3. .col =2
  4.  
  5. .cellbackcolor = vbred
  6. 'to change color of multiple cells 
  7. .fillstyle  = flexfillrepeat
  8. .col=1
  9. .row = 1
  10. .colsel = 3
  11. .rowsel = 4
  12. .cellbackcolor = vbred
  13. end wtih
  14. useing textmatrix wont effect colors
  15. to pick a cell's color use following code
  16. .row = 1
  17. .col = 2
  18. msgbox .cellbackcolor
  19.  
regards
manpreet singh dhillon hoshiarpur
Dec 6 '07 #2

P: 2
hi
pls help me to change the color of a particular letter in the row. not the entire text color..
Mar 25 '08 #3

QVeen72
Expert 100+
P: 1,445
pls help me to change the color of a particular letter in the row. not the entire text color..
Not possible with MSFlexGrid...

For that use "RichTextBox" control..

Regards
Veena
Mar 25 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.