|
@@ -45,8 +45,6 @@ void __fastcall TAuthenticateForm::Init(TTerminal * Terminal)
|
|
FHorizontalLogPadding = ScaleByTextHeight(this, 4);
|
|
FHorizontalLogPadding = ScaleByTextHeight(this, 4);
|
|
FVerticalLogPadding = ScaleByTextHeight(this, 3);
|
|
FVerticalLogPadding = ScaleByTextHeight(this, 3);
|
|
FLogTextFormat << tfNoPrefix << tfWordBreak << tfVerticalCenter;
|
|
FLogTextFormat << tfNoPrefix << tfWordBreak << tfVerticalCenter;
|
|
-
|
|
|
|
- ClearLog();
|
|
|
|
}
|
|
}
|
|
//---------------------------------------------------------------------------
|
|
//---------------------------------------------------------------------------
|
|
__fastcall TAuthenticateForm::~TAuthenticateForm()
|
|
__fastcall TAuthenticateForm::~TAuthenticateForm()
|
|
@@ -148,13 +146,6 @@ void __fastcall TAuthenticateForm::FormShow(TObject * /*Sender*/)
|
|
FFrameAnimation.Start();
|
|
FFrameAnimation.Start();
|
|
}
|
|
}
|
|
//---------------------------------------------------------------------------
|
|
//---------------------------------------------------------------------------
|
|
-void __fastcall TAuthenticateForm::ClearLog()
|
|
|
|
-{
|
|
|
|
- // TListItems::Clear() does nothing without allocated handle
|
|
|
|
- LogView->HandleNeeded();
|
|
|
|
- LogView->Items->Clear();
|
|
|
|
-}
|
|
|
|
-//---------------------------------------------------------------------------
|
|
|
|
void __fastcall TAuthenticateForm::Log(const UnicodeString Message)
|
|
void __fastcall TAuthenticateForm::Log(const UnicodeString Message)
|
|
{
|
|
{
|
|
// HACK
|
|
// HACK
|