Information générale
Catégorie:
Codage, syntaxe et commandes
Eric,
Thanks for you response...I mean i want how to create a program coded POP-UP MENU not creating a Menu Editor....coz i just want to change the code.. for every procedure...
TIA...
>>is there anyone can help me to code the pop-up menu so that i can manipulate by my code....
>
>You can't modify the system popup menu but you can create you own. I don't know if it is your question but here is the way of creating your own:
>1- Create a regular menu on a form (normally invisible).
>2- In the MouseDown event of your control, display the popup menu like 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement