Skip to content
Snippets Groups Projects
Commit 1e45a56b authored by rswindell's avatar rswindell
Browse files

Added web page links by clicking copyright labels.

parent 6c0134e8
Branches
Tags
No related merge requests found
......@@ -113,7 +113,15 @@ void __fastcall TAboutBoxForm::FormShow(TObject *Sender)
#else
Memo->Lines->Add("Synchronet Local Spy ANSI Terminal Emulation"+CopyRight);
#endif
}
//---------------------------------------------------------------------------
void __fastcall TAboutBoxForm::WebPageLabelClick(TObject *Sender)
{
ShellExecute(Handle, "open", ((TLabel*)Sender)->Hint.c_str(),
NULL,NULL,SW_SHOWDEFAULT);
}
//---------------------------------------------------------------------------
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -42,6 +42,7 @@
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include "MainFormUnit.h"
//---------------------------------------------------------------------------
class TAboutBoxForm : public TForm
{
......@@ -51,7 +52,10 @@ __published: // IDE-managed Components
TImage *Logo;
TStaticText *WebLabel;
TMemo *Memo;
TStaticText *StaticText1;
TStaticText *StaticText2;
void __fastcall FormShow(TObject *Sender);
void __fastcall WebPageLabelClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TAboutBoxForm(TComponent* Owner);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment