Board index » cppbuilder » Call Another ButtonClick Function
Robert
![]() CBuilder Developer |
Robert
![]() CBuilder Developer |
Call Another ButtonClick Function2006-02-11 11:19:58 PM cppbuilder109 Hi, // FOR EXAMPLE ===================================== void __fastcall TForm1::Button1Click(TObject *Sender) { Button2Click(Sender); } //-------------------------------------------------------------------------- - void __fastcall TForm1::Button2Click(TObject *Sender) { Button1Click(Sender); } //-------------------------------------------------------------------------- - Can anyone solve my problem? I will appreciate if you can. Best regards, Robert |
Antonio Felix
![]() CBuilder Developer |
2006-02-12 02:22:08 AM
Re:Call Another ButtonClick Function
"Robert" < XXXX@XXXXX.COM >escreveu na mensagem
QuoteHi, The code you're showing conducts to an endless recursive call ! What are you trying to acomplish ? Antonio |
Robert
![]() CBuilder Developer |
2006-02-13 08:06:57 PM
Re:Call Another ButtonClick Function
Sorry. I put my poor example. I have solved my problem. Thanks.
Robert "Antonio Felix" < XXXX@XXXXX.COM dot pt>wrote in message Quote
{smallsort} |