Intellisense - Visual Studio

Asked

Viewed 56 times

1

Hello

I am developing a VB application with two forms, the first frmCadastroEndereco, to record addresses in the database, another of customer registration. Use also a module (modEndereco) that should access the form objects frmCadastroEndereco. inserir a descrição da imagem aqui The textbox selected in the image has name = Idenderecotextbox

However, when I use the Ctrl+space shortcut, to write the code in the module, the name since and from the other objects do not appear. inserir a descrição da imagem aqui However, if I write the full name of the object Visual Studio recognizes that there is a textbox with the name Idenderecotextbox in the form frmCadastroEndereco

Now, why when I use the Ctrl+space shortcut the object name does not appear?

  • the object is accessible by where you are calling it? I mean, it is "public" for that method there?

  • I’m not sure about that, because I add Textbox by Toolbox. But when I type the full name, without using the shortcut, no error occurs, if it was not as Public would not be able to access even typing the name correctly.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.