Greetings Sirs,
I use VFP9 and need a grid with many columns (mostly are single number) but in headers I need custom caption based on rotated label in order to keep columns width equal to 25. I think I saw somewhere how to put textbox into some column but I can't remember I saw that someone had put a label control as title of columns (instead defualt headers). Is it possible?
Some guy said that I need set header height to 0 and then add label, set Rotation property to 90 but I'm unable to do it. I tried something like this one:
Thank you.
There is no good nor evil, just decisions and consequences.
I use VFP9 and need a grid with many columns (mostly are single number) but in headers I need custom caption based on rotated label in order to keep columns width equal to 25. I think I saw somewhere how to put textbox into some column but I can't remember I saw that someone had put a label control as title of columns (instead defualt headers). Is it possible?
Some guy said that I need set header height to 0 and then add label, set Rotation property to 90 but I'm unable to do it. I tried something like this one:
Code:
...
.Column1.Width = 25
.Column1.Name = "Column1"
.column1.Header1.Caption = "First columns"
.column1.height = 0
.column1.Header1.addobject("Hlabel1","Label")
with Hlabel1
.Rotation=90
.caption="Signature A" &&new rotated header (title)
endwith
.Column2.Width = 25
.Column2.Name = "Column2"
...
There is no good nor evil, just decisions and consequences.