mikeho
21-Apr-2008, 05:21 PM
Check the code in the FlatTimerTimer procedure. You are setting Panel, but you do not have it declared locally (see Option1Click).
Panel := TPanel(FindComponent('Option' + IntToStr(n)));
Instead it is using the Panel: TPanel from the form's class declaration. Panel is the name for the TPanel control with "SMTP Settings" caption.
Panel := TPanel(FindComponent('Option' + IntToStr(n)));
Instead it is using the Panel: TPanel from the form's class declaration. Panel is the name for the TPanel control with "SMTP Settings" caption.