Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Column Color

I have a main form and a subform. My sub form is in datasheet view (only)., I want to access to the datasheet by code sush as I had Hide each column by ColumnHidden property so now I finding the way to change each column color. Please give me the solution.
0
jom080298
Asked:
jom080298
1 Solution
 
tuviCommented:
I don't think you can change the datasheet view column color. If you want color, use continuous form instead.
0
 
MasseyMCommented:
No way to change the back color of a datasheet view.. Sorry. .You could always write an ActiveX component and use it there...

- Matt
0
 
jom080298Author Commented:
to MasseyM,
     I can change the back color of the datasheet by DatasheetBackColor property but it change the datasheet background color not each column.
     Thank you for your answer.
0
 
peroveCommented:
You can not in datasheetview have different colours for each coulumn. Use continious forms instead.

0
 
DennisHCommented:
Don't waste your time reinventing the wheel.  Use a grid control like the one that comes with Sheridan Data Widgets 3.0
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now