T
TonyJ
Hello!
I get compile when using VS2005 but not in VS2003.
The compile error is the following
"Error 1 error C3867: 'MeltPracCommon::ReasonDialog::tbReason_TextChanged':
function call missing argument list; use
'&MeltPracCommon::ReasonDialog::tbReason_TextChanged' to create a pointer to
member c:\pk\development\products\utcas\4.0\src\commoncontrol\ReasonDialog.h
110"
When I click on the error it set the curson on this row."
this->tbReason->TextChanged += new System::EventHandler(this,
tbReason_TextChanged);"
The function tbReason_TextChanged has the following definition.
private: System::Void tbReason_TextChanged(System::Object * sender,
System::EventArgs * e)
{
String* reason = tbReason->Text;
if ( reason->get_Length() == 0 )
this->btnOk->Enabled = false;
else
this->btnOk->Enabled = true;
}
How do I fix the compile error?
//Tony
I get compile when using VS2005 but not in VS2003.
The compile error is the following
"Error 1 error C3867: 'MeltPracCommon::ReasonDialog::tbReason_TextChanged':
function call missing argument list; use
'&MeltPracCommon::ReasonDialog::tbReason_TextChanged' to create a pointer to
member c:\pk\development\products\utcas\4.0\src\commoncontrol\ReasonDialog.h
110"
When I click on the error it set the curson on this row."
this->tbReason->TextChanged += new System::EventHandler(this,
tbReason_TextChanged);"
The function tbReason_TextChanged has the following definition.
private: System::Void tbReason_TextChanged(System::Object * sender,
System::EventArgs * e)
{
String* reason = tbReason->Text;
if ( reason->get_Length() == 0 )
this->btnOk->Enabled = false;
else
this->btnOk->Enabled = true;
}
How do I fix the compile error?
//Tony