Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 125
  • Last Modified:

Object doesn't show methods or properties in Visual Studio when typed

Say you have a form called MyForm  When you type MyForm in Visual Studio, you get a list of all the objects properties, methods, public variables, etc.  I have two forms that don't do that.  One's called PT, the other is Dialog.

What would cause this two forms from showing their stuff?  I don't have any variables or other objects in the project with those names, so it should be confused.

Any help would be great, thanks,
Eric
0
eric0213
Asked:
eric0213
  • 2
  • 2
1 Solution
 
DiveblueCommented:
A compiler error can do this. try a start with full compile to check for one. Also, are the properties you want to check public?
0
 
supunrCommented:
Diveblue is right.  Press Ctrl-F5 to do the full compile and if you get any errors then fix them first.  Once you fix all these errors, it sould work fine.
0
 
eric0213Author Commented:
Actually, it's in Embedded Visual Studio -- sorry if that makes a difference.

It seems to happen when I declare public global arrays in the forms.  I haven't tried making them private.  If I take out those arrays, it works fine.
0
 
eric0213Author Commented:
Actually, it's in Embedded Visual Studio -- sorry if that makes a difference.

It seems to happen when I declare public global arrays in the forms.  I haven't tried making them private.  If I take out those arrays, it works fine.
0
 
DiveblueCommented:
What? No points for me?????
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now