BOTAO DIREITO NO DHTML
Galera, preciso criar um menu, por xemplo editar >>>>limpar. e fazer com que o controle dhtml reconheça quando pressiono o botao direito em cima da caixa.... ja tentei no onmousedown mas nao aceita o codigo
if button=2 then .........
Alguem sabe me dizer como faço isso ?
Valeu
Badi
if button=2 then .........
Alguem sabe me dizer como faço isso ?
Valeu
Badi
Utilize o menu popup.
exemplo:
Private Sub Dhtml_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Text1.Enabled = False
PopupMenu mnop
Text1.Enabled = True
Text1.SetFocus
End If
End Sub
exemplo:
Private Sub Dhtml_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Text1.Enabled = False
PopupMenu mnop
Text1.Enabled = True
Text1.SetFocus
End If
End Sub
Tópico encerrado , respostas não são mais permitidas