ThatRickGuy -
Good idea, but when I reset it to visible the blue selected box still shows.
Are you aware of the ability use .DisplayMember & .ValueMember without using a dataAdapter? I've played around and the IDE gives me the ability, but I cannot get it to work.
Bill
When using a data_reader I have no problem using the _Leave method to set .SelectedItem = Nothing to eliminate the highlighted blue.
However, when using a data_adapter I am having a terribly difficult time getting rid of the highlight. I "fixed" the problem using...
I tried this:
Dim labelAlignment As String = ctl.TextAlign
And got a squiggly line under ctl.TextAlign. The hover error says:
'TextAlign' is not a member of 'System.Windows.Forms.Control.'
Any thoughts?
Pweegar -
That definitely works while you are creating the Label and want to set the alignment. I am, however, trying to get the text alignment of a Label that has already been created. There is no such property as textalign on the control.
For example, here is a sample line for how I get the...
I am using a For-Next loop through all panel controls to print out a screen. I have everything working except the alignment of the text within the label.
Does anyone know how to obtain the text alignment property of a Label control?
Regards,
Bill
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.