|
-
Dec 25th, 2012, 08:58 AM
#1
Thread Starter
Junior Member
Need Help: Shifting text in labels
I was doing this using VB6 the old days. But I really can't find a way for it using VB.NET.
The idea is to shift a text or caption of a label into the next label.
just like in this simple example:
Label Name >>>>>> Caption/Text
LBOut1 >>>>>> (NULL/No caption)
LBOut2 >>>>>> (NULL/No caption)
LBOut3 >>>>>> My name
after a second or specific time (using a timer)
LBOut1 >>>>>> (NULL/No caption)
LBOut2 >>>>>> My name
LBOut3 >>>>>> is
after a second or specific time (using a timer)
LBOut1 >>>>>> My name
LBOut2 >>>>>> is
LBOut3 >>>>>> Ali
I used to do it using vb6 by creating a label then just copying and pasting two times to create another labels with an array.
and using this code to display them by shifting:
For shift = 2 To 0 Step -1 'Shift previous hex strings up on the display
LBOUT(shift + 1).Caption = lbOUT(shift).Caption
Next shift
I really can't find a way using vb.net. I had this problem for 5days now, and I'm disappointed in my skill
Any help from you guys is much appreciated. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|