Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Parameter not understood for property in C++/CLI
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mtwombley
Senior Member

Canada
29 Posts

Posted - Nov 20 2008 :  2:45:55 PM  Show Profile  Reply with Quote
The parameter for a set method of a property isn't understood by VA. No suggestion list appears when typing.

property float GammaCorrection
{
   float get() {return m_GammaCorrection;};
   void set(float gammaCorrection) 
   {
      if (m_GammaCorrection != gammaCorrection)
         ReloadPoints = true;
      m_GammaCorrection = gammaCorrection;
   };
}

In this code snip gammaCorrection is underlined.

Forgot to mention that this is in the header file with the class definition. Works fine once moved to the source file.

Once case=7806 is added then maybe this won't be an issue (shameless plug for feature).

Mark

Edited by - mtwombley on Nov 20 2008 2:53:18 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 22 2008 :  06:08:49 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=6858
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000