Hi all
was wondering if someone can help me out here basically I have got three labels lined up vertically on a form all of them being populated dynamically with numbers and what I want to do is right align them so basically the label should expand leftward when text is being added..
I have...
'You can do it as
Dim value As Integer
'this will get the current row's index
value = Me.dgv.CurrentRow.Index
'and this will get the value in col4
Column4 = Me.dgv.Rows(value).Cells(4).Value()
msgbox(column4)
hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.