if (Key != 'E') { Application->MessageBox("E is the only valid input", "Information",MB_OK | MB_ICONINFORMATION); // What do I put here to prevent the character typed to be displayed in the Edit box? }Thanks,
if (Key != 'E') { Application->MessageBox("E is the only valid input", "Information",MB_OK | MB_ICONINFORMATION); Key = NULL; }