Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Normally Fox, recent project in VB6
Message
De
09/02/2003 13:36:07
 
 
À
09/02/2003 13:07:30
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00751187
Message ID:
00751190
Vues:
13
Assuming you have Command1 and Command2 command buttons on the form and want to call Command1_Click from Command2_Click, use this syntax:
Private Sub Command1_Click()
  [some code goes here]
End Sub

Private Sub Command2_Click()
  [some code goes here]

  [more code]
End Sub

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