Visual Basic - EJEMPLO BOTON DERECHO

Life is soft - evento anual de software empresarial
 
Vista:

EJEMPLO BOTON DERECHO

Publicado por tecniCam (186 intervenciones) el 02/08/2004 19:09:52
Menú PopUp en un TextBox:

Ejemplo para no visualizar el menú PopUp implícito de Windows:

En el evento MouseDown del control TextBox escriba:

Private Sub Editor1_MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
If Button = 2 Then
Editor1.Enabled = False
PopupMenu MiMenu
Editor1.Enabled = True
Editor1.SetFocus
End If
End Sub
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder