diff --git a/applications/foobot/monitor/foobotmonitor.lps b/applications/foobot/monitor/foobotmonitor.lps index a1205d826..8cf53f03b 100644 --- a/applications/foobot/monitor/foobotmonitor.lps +++ b/applications/foobot/monitor/foobotmonitor.lps @@ -3,14 +3,15 @@ - - + + - - + + + @@ -20,7 +21,8 @@ - + + @@ -31,9 +33,9 @@ - - - + + + @@ -41,7 +43,7 @@ - + @@ -59,7 +61,7 @@ - + @@ -88,7 +90,7 @@ - + @@ -100,7 +102,7 @@ - + @@ -109,7 +111,7 @@ - + @@ -117,7 +119,7 @@ - + @@ -154,7 +156,7 @@ - + @@ -162,7 +164,7 @@ - + @@ -170,7 +172,7 @@ - + @@ -200,7 +202,7 @@ - + @@ -216,14 +218,14 @@ - + - + @@ -231,7 +233,7 @@ - + @@ -247,7 +249,7 @@ - + @@ -255,7 +257,7 @@ - + @@ -269,127 +271,136 @@ + + + + + + + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - + + diff --git a/applications/foobot/monitor/foobotmonitor.res b/applications/foobot/monitor/foobotmonitor.res index a23980684..6f8474072 100644 Binary files a/applications/foobot/monitor/foobotmonitor.res and b/applications/foobot/monitor/foobotmonitor.res differ diff --git a/applications/foobot/monitor/foobotmonitorhelp.htm b/applications/foobot/monitor/foobotmonitorhelp.htm index 78024ac4f..9e02adbc3 100644 --- a/applications/foobot/monitor/foobotmonitorhelp.htm +++ b/applications/foobot/monitor/foobotmonitorhelp.htm @@ -40,7 +40,7 @@ In Linux it is usually located in your home directory/-conf/foobotmonitor.cfg there are two ways of doing it:
    -
  1. Delete the cfg file, and resart  Foobot Monitor.  You will be +
  2. Delete the cfg file, and restart  Foobot Monitor.  You will be prompted with the login dialog as before.  As a consequence you will lose any saved settings you had before.
  3. diff --git a/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe b/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe index 244b6552b..e0619cecd 100644 Binary files a/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe and b/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe differ diff --git a/applications/foobot/monitor/uconfigform.lfm b/applications/foobot/monitor/uconfigform.lfm index 6109f389d..af0ed430c 100644 --- a/applications/foobot/monitor/uconfigform.lfm +++ b/applications/foobot/monitor/uconfigform.lfm @@ -87,4 +87,14 @@ object configform: Tconfigform ModalResult = 11 TabOrder = 2 end + object cmd_help: TBitBtn + Left = 432 + Height = 30 + Top = 160 + Width = 75 + DefaultCaption = True + Kind = bkHelp + OnClick = cmd_helpClick + TabOrder = 3 + end end diff --git a/applications/foobot/monitor/uconfigform.pas b/applications/foobot/monitor/uconfigform.pas index 6e3f23c70..6d0e9d422 100644 --- a/applications/foobot/monitor/uconfigform.pas +++ b/applications/foobot/monitor/uconfigform.pas @@ -23,8 +23,8 @@ unit uconfigform; interface uses - Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, - ExtCtrls, Buttons; + Classes, SysUtils, Forms, Controls, Dialogs, StdCtrls, + ExtCtrls, Buttons,lclIntf; type @@ -33,10 +33,12 @@ type Tconfigform = class(TForm) BitBtn1: TBitBtn; BitBtn2: TBitBtn; + cmd_help: TBitBtn; grp_main: TGroupBox; edt_username: TLabeledEdit; Label1: TLabel; Memo1: TMemo; + procedure cmd_helpClick(Sender: TObject); procedure edt_usernameEditingDone(Sender: TObject); procedure FormCloseQuery(Sender: TObject; var CanClose: boolean); procedure FormCreate(Sender: TObject); @@ -122,6 +124,14 @@ begin end; end; +procedure Tconfigform.cmd_helpClick(Sender: TObject); +begin + If FileExists(sHelpFilePath) then + OpenURL('file://' + sHelpFilePath) + else ShowMessageFmt('Sorry, the help file %s is missing',[sHelpFilePath]); + +end; + procedure Tconfigform.FormCloseQuery(Sender: TObject; var CanClose: boolean); begin If ( bDoneUsername=FALSE) OR (bDoneSecretKey=FALSE) then diff --git a/applications/foobot/monitor/umainform.lfm b/applications/foobot/monitor/umainform.lfm index caf7a8322..5c7fbcc1c 100644 --- a/applications/foobot/monitor/umainform.lfm +++ b/applications/foobot/monitor/umainform.lfm @@ -1,7 +1,7 @@ object mainform: Tmainform - Left = 589 + Left = 1116 Height = 504 - Top = 145 + Top = 269 Width = 784 BorderIcons = [biSystemMenu, biMinimize] BorderStyle = bsSingle