Jump to content

VB6 - Invalid of use property


ribeiro7

Recommended Posts

Boa noite

Estou com um pequeno problema. Estou a voltar a programar em VB6 e estou a fazer uns exercícios passo a passo dum livro, mas ao tentar criar um projecto em que quando carrego no botão do lado direito do rato aparece um menu pop-up

O código que está no livro e que eu copiei na integra é o seguinte:

Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)

    If Button = 2 Then

        menuFlutuante

    End If

End Sub

Dá me o erro invalid use of property.

Alguém me pode ajudar?

Muito obrigado

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.