I do not know how to get certain cells to align left. No matter which ColAlignment I specify, the grid always shows me the text field centered.
Also, I tried having the alignment come before the entering the text and after.
What am I doing wrong? Please help me.
The code is as follows:
-
grd1.Rows = iRow + 1
-
grd1.ColAlignment(iCol) = flexAlignLeftTop
-
grd1.TextMatrix(iRow, iCol) = "Total Licenses"
-
grd1.ColWidth(iCol) = grd1.Width * 0.4
-
Platform: Windows 2000
Language: VB6
Source Code: See snippet above
Input Used: none
Error Codes: none
Hello, learningvbnet!
Can you go into it a little more? I took one look and could not understand what you are asking. You may be savvier in this than I am.
If you give me added info perhaps I can try to help.
Why do you need cells to be aligned? Looks like there are no errors, are there data in the cells upon the time you are trying to align...
...Nice bit of code, please add the rest of it also...
Might get better hits that way if one can run it:-)
Also is this related to both vb and vb.net? You may need to look in the .net area also for further support.
In a bit!
Dököll