--- sbbs/sbbs3/ctrl/telnetformunit.cpp 2018/04/24 16:39:34 1.1 +++ sbbs/sbbs3/ctrl/telnetformunit.cpp 2018/04/24 16:40:47 1.1.1.2 @@ -1,12 +1,12 @@ /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ -/* $Id: telnetformunit.cpp,v 1.1 2018/04/24 16:39:34 root Exp $ */ +/* $Id: telnetformunit.cpp,v 1.1.1.2 2018/04/24 16:40:47 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -46,26 +46,11 @@ TTelnetForm *TelnetForm; __fastcall TTelnetForm::TTelnetForm(TComponent* Owner) : TForm(Owner) { - MainForm=(TMainForm*)Application->MainForm; -// ManualDock(MainForm->Panel, MainForm->Panel, alClient); - } //--------------------------------------------------------------------------- - - -void __fastcall TTelnetForm::FormShow(TObject *Sender) -{ - MainForm->ViewTelnetMenuItem->Checked=true; - MainForm->ViewTelnetButton->Down=true; -} -//--------------------------------------------------------------------------- - - - void __fastcall TTelnetForm::FormHide(TObject *Sender) { - MainForm->ViewTelnetMenuItem->Checked=false; - MainForm->ViewTelnetButton->Down=false; + MainForm->ViewTelnet->Checked=false; } //---------------------------------------------------------------------------