Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move image within form boundries
Message
De
17/04/2002 05:37:46
 
 
À
17/04/2002 01:24:48
Information générale
Forum:
Visual Basic
Catégorie:
Photos et traitement d'images en VB
Divers
Thread ID:
00645803
Message ID:
00645816
Vues:
7
Change in cycle (For is appropriate; you can use appropriate step) Top (or Top and Left, if you want diagonal move) property of the moved element:

For i=100 to 0 step -2
[element].Top = i
next i

or:

For i=100 to 0 step -2
[element].Left = [element].Left + 2
[element].Top = i
next i

If Top = 0, change direction of move:

For i=0 to 100 step 2
[element].Top = i
next i

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform