camera-control-webcam-switc.../MessageForm.pas

60 lines
1.4 KiB
Plaintext

unit MessageForm;
{$mode objfpc}{$H+}
{$warnings off}
{$hints off}
// Created at 23th of January 2020, by Linuxer (https://gitlab.com/psposito), from scratch with Free Pascal
// Redesigned and further Developed at 28th of January 2020, by Initial developer
// to provide Camera and Mic status alone with On/Off and Mute/Unmute fuctions
// Developed further for intrusion feeling and logging at 2nd of February 2020, by Initial developer
// Developed for Blacklisting/Whitelisting functions for both camera & audio at 7th of February 2020, by Initial developer
// Finalized, except traslations at 15th of February 2020.
// Further Capabilities added alone with better Logging at 22nd of February 2020
// Development Ended at 5th of March 2020. Minor Updates will follow, if needed
interface
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, TplLabelUnit,
LCLIntf, ExtCtrls, Logs, Unix;
type
{ TForm8 }
TForm8 = class(TForm)
Button1 : TButton;
Image : TImage;
ImageList : TImageList;
Label1 : TLabel;
procedure Button1Click(Sender: TObject);
private
public
end;
var
Form8 : TForm8;
implementation
{$R *.frm}
{ TForm8 }
procedure TForm8.Button1Click(Sender: TObject);
begin
if fsModal in FFormState then
ModalResult := mrClose
else
Form8.Hide;
//Form8.Hide;
end;
end.