|
-
Sep 7th, 2012, 10:10 AM
#4
Re: How to highlight a record in a MSHFlexGrid?
argh....hate copy-paste....(change all MSHFlexgrid1 to MSFlexgrid1 (my code uses MSHF....)
here:
For X = 0 To MSHFlexGrid1.Cols - 1
MSHFlexGrid1.Col = X
For Y = 1 To MSHFlexGrid1.Rows - 1
MSHFlexGrid1.Row = Y
MSHFlexGrid1.CellBackColor = vbYellow 'assuming vbYellow is original BG color
Next Y
Next X
For Z = 0 To MSHFlexGrid1.Cols - 1
MSHFlexGrid1.Col = Z
MSHFlexGrid1.Row = rownumber1
MSHFlexGrid1.CellBackColor = vbGreen
Next Z
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|