Wednesday, February 15, 2012

Lightbulb Moment

I just figured out how to change the text alignment in a single label!
Me.label.TextAlign=(choose option)

I kept on getting stuck. I thought I had to do something with "Application," but nothing showed up with IntelliSense. Then I used Me.Text (but that naturally didn't work). I finally realized that I needed to follow the formatting of the Me.Label.Text= command that we'd used in the past.

The second part to making this work was changing AutoSize to False. This allowed me to resize the label.

Onward ho to the next challenge!

No comments:

Post a Comment