Thread: Compile Bug
View Single Post
  #1 (permalink)  
Old March 11th, 2004, 12:43 PM
jaucourt jaucourt is offline
Friend of Wrox
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default Compile Bug

When compiling the current application I'm working on (and have been working on for some time), I regularly get an error of the kind 'btnInitialise is not a member of frmInitialise' - which seems to be a problem with scopes, because said button does exist, just declared as 'Private'. If I change the scope to 'Public' or 'Friend', recompile, then change the scope back to 'Private' and recompile, it works fine. It happens just on this button - although before now it occured on a specific function which I had to do the same procedure on to get it to compile.

Anyone else get this problem, or am I just weird?

Reply With Quote