Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C Builder Forms crashing
- void __fastcall TfrmStart::btnRunClick(TObject *Sender)
- {
- frmStart->Hide();
- Application->CreateForm(__classid(TfrmRunning), &frmRunning);
- }
- void __fastcall TfrmRunning::FormCreate(TObject *Sender)
- {
- frmRunning->Show();
- //Here i do a lot of stuff to run my main program
- }
- void __fastcall TfrmRunning::FormCreate(TObject *Sender)
- {
- //frmRunning->Show();
- this->Show();
- }
- void __fastcall TfrmRunning::FormCreate(TObject *Sender)
- {
- //frmRunning->Show();
- Show();
- }
- void __fastcall TfrmStart::btnRunClick(TObject *Sender)
- {
- //frmStart->Hide();
- this->Hide();
- ...
- }
- void __fastcall TfrmStart::btnRunClick(TObject *Sender)
- {
- //frmStart->Hide();
- Hide();
- ...
- }
- void __fastcall TfrmStart::btnRunClick(TObject *Sender)
- {
- frmRunning = new TfrmRunning(Application);
- frmRunning->Show();
- Hide();
- }
- __fastcall TfrmRunning::TfrmRunning(TComponent *Owner)
- : TForm(Owner)
- {
- // initialize this Form as needed...
- }
Advertisement
Add Comment
Please, Sign In to add comment