| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
TButton *Exit=new TButton(Main); Exit->Caption="Exit"; Exit->Top=8; Exit->Left=8; Exit->Parent=Main; //Main = name of the form I need to assign a function to Exit. Exit->OnClick = ? and the function is a member of the form class. void __fastcall TMain::ExitClick(TObject *Sender) { Close(); } well....what should I put here : Exit->OnClick = ? ![]() |
|
#2
|
|||
|
|||
|
Why don't you use the event onclick?
Kind Regards, Rowin |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > OnClick :: Borland C++ Builder :mad: |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|