Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
A good example for scrollbars. This program scroll...
Author:
Sreekanth.n.pai
E-mail:
Click to e-mail author
Submitted:
11/1/2002
Version:
VB6
Compatibility:
VB6
Category:
Forms
Views:
14979
A good example for scrollbars. This program scrolls the form itself.
Declarations:
'none
Code:
Option Explicit Private Sub HScroll1_Change() Me.Cls Me.AutoRedraw = True HScroll1.Max = 100 Static c% For c = HScroll1.Value To 100 Print c; Next End Sub Private Sub VScroll1_Change() Me.Cls Me.AutoRedraw = True VScroll1.Max = 100 Static c% For c = VScroll1.Value To 100 Print c Next End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement