ok, im about to pull my hair out over this. I have an event handler, supposed to check if a textbox is empty or not, and enable a button if its not empty. Well, it will enable the button, but it wont disable it. Here is the function
private: System::Void tAddressBox_TextChanged(System::Object * sender, System::EventArgs * e)
{
if (!(tAddressBox->Text == ""))
{
bPingServer->Enabled = true;
return;
}
bPingServer->Enabled = false;
}
Now, I know that the code should be right, unless im missing something incredibly obvious. I have even done breakpoints in the debug, and the debugger shows plain as day
Quote:tAddressBox->Text "" String*
So, im lost. I dont know what im doing wrong. Some help, please.
As I lay down, staring up at the stars in all their glory, I wonder.....WHERE THE F*** IS MY ROOF!?!?!?