keen
Full Member level 2
insert button in a form modal c++ builder
Hi to all,
Just a simple question,
I am C++ Builder beginer, I have start trouble, please help me & advice..
I wanna test if COM port is free (I know do that) & if it is not open the
modal form & after that if confirm button was presed terminate application.
I have that :
if(!comport) {
NoComForm->ShowModal();
Application->terminate();
}
else // { the rest of appli. }
Not works, this case is driven by event !comport & its not member of
other Builders events I think .. who now? Please how to fix this problem ..
best regards KEEN
Hi to all,
Just a simple question,
I am C++ Builder beginer, I have start trouble, please help me & advice..
I wanna test if COM port is free (I know do that) & if it is not open the
modal form & after that if confirm button was presed terminate application.
I have that :
if(!comport) {
NoComForm->ShowModal();
Application->terminate();
}
else // { the rest of appli. }
Not works, this case is driven by event !comport & its not member of
other Builders events I think .. who now? Please how to fix this problem ..
best regards KEEN