May 25, 2004 #1 AvatarZA Programmer Joined Sep 26, 2002 Messages 42 Location ZA I would like to allow the user to edit the text of a label in runtime, I was wondering if anyone could help me to achieve this. Thanks in advance!
I would like to allow the user to edit the text of a label in runtime, I was wondering if anyone could help me to achieve this. Thanks in advance!
May 25, 2004 #2 RiverGuy Programmer Joined Jul 18, 2002 Messages 5,011 Location US MyLabel.Text = "Hello Upvote 0 Downvote
May 25, 2004 #3 bigmelon MIS Joined Sep 25, 2003 Messages 114 Location US The User can't edit label text directly in run-time. You would have to use a textbox in it place, or a textbox and command button to change the label. Upvote 0 Downvote
The User can't edit label text directly in run-time. You would have to use a textbox in it place, or a textbox and command button to change the label.
May 25, 2004 #4 RiverGuy Programmer Joined Jul 18, 2002 Messages 5,011 Location US Now his question makes sense. I didn't see the word user. Maybe make a flat text box and just use that. It will look like the default label. Upvote 0 Downvote
Now his question makes sense. I didn't see the word user. Maybe make a flat text box and just use that. It will look like the default label.
May 26, 2004 Thread starter #5 AvatarZA Programmer Joined Sep 26, 2002 Messages 42 Location ZA Thanks for the suggestions, I was thinking of doing that but I thought it would get a bit messy so I was wondering if there might be a better way. Upvote 0 Downvote
Thanks for the suggestions, I was thinking of doing that but I thought it would get a bit messy so I was wondering if there might be a better way.