Comment appeler l'action d'un bouton donnée dans une ToolBar ?

cs_Appil Messages postés 208 Date d'inscription mercredi 10 avril 2002 Statut Membre Dernière intervention 11 juin 2014 - 3 oct. 2002 à 15:27
cs_rene38 Messages postés 1858 Date d'inscription samedi 29 juin 2002 Statut Membre Dernière intervention 17 octobre 2013 - 27 nov. 2002 à 00:53
Comment appeler l'action d'un bouton donnée dans une ToolBar ?

Exemple : ToolBar_ButtonClick (?????)

Quel parametre passer ?

-=-[ Golden-X] -=-

3 réponses

cs_processus Messages postés 360 Date d'inscription vendredi 24 août 2001 Statut Membre Dernière intervention 9 juillet 2008 3
3 oct. 2002 à 16:48
Call TonBoutonDeToolbar_Click()
Simple.

==============
Site Web de JDPROG
Présentation de MP3 Index
Logiciel d'indexation de fichier MP3

http://jdprog.fr.st
0
cs_Appil Messages postés 208 Date d'inscription mercredi 10 avril 2002 Statut Membre Dernière intervention 11 juin 2014
4 oct. 2002 à 12:50
Nan ça marche pas …
Voici l’entête de la procédure :
Private Sub Toolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
En appelant Toolbar_ButtonClick (x) il faut passser un paramètre x …
c koi x ?
voilà ce que je cherche ...
Merci quand même.

-= -[ Golden-X] -=-
0
cs_rene38 Messages postés 1858 Date d'inscription samedi 29 juin 2002 Statut Membre Dernière intervention 17 octobre 2013 11
27 nov. 2002 à 00:53
Private Sub Toolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "KeyDuBouton1"
'Action
Case "KeyDuBouton2"

End Select
0
Rejoignez-nous