Write text in a label at run-time
No attachments for this post
With this simple code you can type text into a label at run-time. A rather smart idea I think.
Original Author: Jannik F. Kokkvoll
'This writes to a label if the form is in "focus"
Private Sub Form_KeyPress(KeyAscii As Integer)
label = label & Chr$(KeyAscii)
' You need to make some changes for backspace to work. The key nr for backspace is 8.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.