D
D.
Hi,
Look at this:
Dim hc As TableHeaderCell
hc = New TableHeaderCell()
hc.BackColor = Drawing.Color.lightGray
My problem is:
i want to put the color into a variable like this:
dim mycolor as string
mycolor="red"
hc.BackColor = Drawing.Color.mycolor
But this doen't work because of the "".
Error: 'mycolor' is not a member of 'System.Drawing.Color'
Any way to do this?
Thanks
D.
Look at this:
Dim hc As TableHeaderCell
hc = New TableHeaderCell()
hc.BackColor = Drawing.Color.lightGray
My problem is:
i want to put the color into a variable like this:
dim mycolor as string
mycolor="red"
hc.BackColor = Drawing.Color.mycolor
But this doen't work because of the "".
Error: 'mycolor' is not a member of 'System.Drawing.Color'
Any way to do this?
Thanks
D.