--- sbbs/src/sbbs3/ctrl/textfileeditunit.cpp 2018/04/24 16:41:24 1.1 +++ sbbs/src/sbbs3/ctrl/textfileeditunit.cpp 2018/04/24 16:44:24 1.1.1.2 @@ -1,12 +1,12 @@ /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ -/* $Id: textfileeditunit.cpp,v 1.1 2018/04/24 16:41:24 root Exp $ */ +/* $Id: textfileeditunit.cpp,v 1.1.1.2 2018/04/24 16:44:24 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 2008 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 * @@ -65,9 +65,11 @@ void __fastcall TTextFileEditForm::FormS ReplacePopupMenuItem->Enabled=false; } Caption=Caption+AnsiString(" - ")+Filename; + Screen->Cursor=crHourGlass; try { Memo->Lines->LoadFromFile(Filename); } catch(...) { } + Screen->Cursor=crDefault; ActiveControl=Memo; Memo->SelStart=0; }