Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove Popup Menu
Message
 
À
22/09/1999 11:28:58
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00267551
Message ID:
00267610
Vues:
24
>I need the control be enabled
> but without popup menu

Is it cause you want to display your own popup menu? If so, try this:

Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
Text1.Enabled = False
Text1.Enabled = True
Me.PopupMenu mnuTest
End If
End Sub
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform