Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1474

Rotate Textbox

$
0
0
I am working in vb6...windows 8

This code works good under a button click but i need it to save where I stop it and then move again when i do another button click.
Can anyone help?? Thank you.


Private Sub Command1_Click()
Dim LB As Integer, UB As Integer
Dim i As Integer, sText As String

With txtbox
LB = .LBound
UB = .UBound
sText = .Item(UB).Text

For i = UB To LB + 1 Step -1
.Item(i).Text = .Item(i - 1).Text
Next

.Item(LB).Text = sText
End With


End Sub

Viewing all articles
Browse latest Browse all 1474

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>