VB.NET 2005 label Help

Soldato
Joined
8 Oct 2005
Posts
4,184
Location
Midlands, UK
Hi,

I'm making a game whereby incorrect letters are appended to a label. I need these letters to be stacked vertically, on top of each other - like:

A
G
T
Z

etc etc.

Currently an incorrect letter is simply replaced. How do i achieve the above?

thanks
 
Mickey said:
I'm not quite sure what you're asking tbh.

You're having problems appending strings?

I can append the string (a charcter of a word in this case) fine to lblIncorrect. I just need to show each character appended on a different line in the label (like a list). Like

A
B
C
D

............

Each time an incorrect letter is chosen the letter needs to be added tio the
next line/row.
 
Last edited:
suarve said:
Its a hangman game basically. I can append the string (a charcter of a word in this case) fine to lblIncorrect. I just need to show each character appended on a different line in the label (like a list). Like

A
B
C
D

............

Each time an incorrect letter is chosen the letter needs to be added tio the
next line/row.

lblIncorrect.Text += letter + "\n"; ??
 
Back
Top Bottom