text stringlengths 14 6.51M |
|---|
unit uExport;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, CheckLst, DBGrids, DBGridEh;
type
TfrmExport = class(TfrmBase)
cbSelAll: TCheckBox;
cbExport: TCheckListBox;
btnReset: TButton;
gbExp... |
unit Model.FechamentoExpressas;
interface
type
TFechamentoExpressas = class
private
var
FId: Integer;
FDataInicio: TDateTime;
FDataFinal: TDateTime;
FTipo: Integer;
FCodigo: Integer;
FValorProducao: Double;
FVerbaEntregador: Double;
FTotalVerbaFranquia: Dou... |
{*******************************************************************************
作者: dmzn@163.com 2013-3-9
描述: 串口管理
*******************************************************************************}
unit UFormCOMPort;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Form... |
unit UCalcVec;
{---------------------------------------------------------------}
interface
{$N+}
{---------------------------------------------------------------}
type
TCoord = Extended;
TVector = packed array[1..3] of TCoord;
PVector = ^TVector;
TVec2Real = TVector;
TPlan = packed r... |
unit delphiDatadog.statsDClient.impl;
interface
uses
delphiDatadog.statsDClient.interf, delphiDatadog.header, delphiDatadog.serviceCheck,
delphiDatadog.event, delphiDatadog.statsDClientSender.interf;
type
TDataDogStatsClientImpl = class(TInterfacedObject, IDataDogStatsClient)
private
FPrefix: string;
... |
{$include kode.inc}
unit kode_module_base;
{
jit:
* we generate an exec-list based on the (data) inputs to each module.
* then this list is traversed, and each module generates source/byte
code that is optimized for the codule's configuration.
* finally, this (long) byte/source code is compiled
* and ex... |
unit AlterTable;
interface
uses
System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
CreateObjectDialog, Ora, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.DBCtrls, BCControls.Edit, Vcl.ImgList,
SynEditHighlighter, SynHighlighterSQL, Vcl.ActnList, Vcl.ComCt... |
//
// Created by the DataSnap proxy generator.
// 2/23/2018 1:45:46 PM
//
unit ClientClassesUnit;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBX... |
/// <summary>
/// Main form of sample application
/// </summary>
unit MainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Rtti, Vcl.Samples.Spin;
type
TFormFoo = class(TForm)
B... |
(* @file UMenu.pas
* @author Willi Schinmeyer
* @date 2011-10-27
*
* UMenu Unit
*
* This unit contains the TMenu type and functions/procedures operating
* on it.
*)
unit UMenu;
interface
uses UMenuPart, UVector2i, UMenuLine;
type
(* @brief Represents a menu with a header/title and a
* body/... |
unit barrier;
{$mode objfpc}{$H+}
interface
uses
SysUtils
{$If defined(WINDOWS)}, win_barrier, windows
{$ElseIf defined(UNIX)}, pthreads{$EndIf};
type
{ ESystemError }
TErrorCode = {$If defined(WINDOWS)}DWORD{$ElseIf defined(UNIX)}Integer{$EndIf};
ESystemError = class(Exception)
private
FErrorCo... |
unit vkcmconfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
resourcestring
VK_API_BASE_URL = 'https://api.vk.com/method/';
USED_API_VERSION = '5.63';
DATABASE_CREATION_SCRIPT = 'queries/databaseinit.sql';
{$IFDEF WIN32}
SQLITE_LIBRARY_NAME = './libraries/sqlite3_32.dll';
OPENSSLLIB1 = 'libr... |
unit StorageUnit;
interface
uses
Windows, Messages, SysUtils, Classes, IniFiles, Forms, Registry, Controls;
const
OptionsSection = '.OPTIONS';
type
//собственный класс для записи/чтения настроек
TStorage = class(TObject)
private
FStorIni: TIniFile;
FStorReg: TRegistryIniFile;
FIniName: string... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela de Lookup
The MIT License
Copyright: Copyright (C) 2015 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the ... |
{-------------------------------------------------------------------------------
Unit: UStockQuote
Purpose: Class representation for QuoteEndpoint API endpoint
Author: Andre Penedo
Date: 2020-May-21
Version: 1.0
-------------------------------------------------------------------------------}
unit UStoc... |
unit datamodel.turndata.standard;
interface
uses
cwCollections
, datamodel
, datamodel.gamedataobject.custom
;
type
TTurnData = class( TGameDataObject, ITurnData )
fQuestion: ICardData;
fSelection: ICardData;
fAnswers: IList<ICardData>;
fCards: IList<ICardData>;
strict private
function getQ... |
{
* Copyright (c) 2012 Andrey Kemka
*
* This software is provided 'as-is', without any express or
* implied warranty. In no event will the authors be held
* liable for any damages arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including c... |
unit Delphi.Mocks.Tests.MethodData;
interface
uses
SysUtils,
TestFramework,
Rtti,
Delphi.Mocks,
Delphi.Mocks.Interfaces;
type
TTestMethodData = class(TTestCase)
published
procedure Expectation_Before_Verifies_To_True_When_Prior_Method_Called_Atleast_Once;
procedure AllowRedefineBehaviorDefinit... |
{***************************************************************************}
{ }
{ DMemCached - Copyright (C) 2014 - Víctor de Souza Faria }
{ }
{ victo... |
{: FileMD2<p>
MD2 file loader<p>
<b>Historique : </b><font size=-1><ul>
<li>21/07/00 - Egg - Added frame names (Roger Cao/Carlos A. Rivero)
<li>07/06/00 - Egg - Added Header, reduced dependencies,
LoadFromFile replaced with LoadFromStream,
so... |
unit DAO.ProdutosVA;
interface
uses DAO.Base, Model.ProdutosVA, Generics.Collections, System.Classes;
type
TProdutosVADAO = class(TDAO)
public
function Insert(aProdutos: TProdutosVA): Boolean;
function Update(aProdutos: TProdutosVA): Boolean;
function Delete(iID: Integer): Boolean;
function FindB... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Controller relacionado à tabela [FIN_CONFIGURACAO_BOLETO]
... |
unit DAO.Base;
interface
uses
DAO.ConnectionFactory, FireDAC.Comp.Client;
type
TDAO = class
protected
Connection: TFDConnection;
function GetKeyValue(ATable, AColumn: string): Integer;
public
constructor Create;
destructor Destroy; override;
end;
implementation
{ TDAO }
constructor TDAO.... |
{
Weather Editor v0.2
Supports Oblivion, Skyrim, Fallout 3, Fallout New Vegas, Fallout 4
Hotkey: Ctrl+W
}
unit WeatherEditor;
const
sCloudTexturesLocation = 'textures\sky\';
iColorEditorWidth = 170;
iColorEditorHeight = 50;
var
Weather: IInterface;
sCloudLayerSignatures, sColorTimes: string;
slClo... |
(*******************************************************)
(* *)
(* Engine Paulovich DirectX *)
(* Win32-DirectX API Unit *)
(* *)
(* Copyright (c) 20... |
unit BZPictureDialogs;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, GraphType, InterfaceBase, LCLType,
IntfGraphics, FPimage, LCLIntf, LazFileUtils, FPCanvas,
Forms, StdCtrls, Controls, Dialogs, ExtDlgs, ComCtrls, ExtCtrls,
BZClasses, BZColors, BZGraphic, BZBitmap, BZBitmapIO;
type
{ TB... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls,
Entities,
Aurelius.Drivers.Interfaces;
type
TForm1 = class(TForm)
Panel1: TPanel;
btConnection: TButton;
lbConnection: TLabel;
Panel... |
{
Filtering by papyrus script name.
}
unit ApplyFilterForPapyrusScript;
var
sScriptName: string;
bSkipSection: Boolean;
function HasScript(e: IInterface; aScript: string): Boolean;
var
i: integer;
begin
if Name(e) = 'scriptName' then begin
Result := SameText(GetEditValue(e), aScript);
bSkipSection :... |
unit Ticket_u;
// Craig Stroberg
// 70854
// The ticket object is a representation of what is needed for a ticket
interface
uses
SysUtils;
type
TTicket = class
private
id: integer;
ticketNumber: string;
description: string;
dateCreated: TDateTime;
assignee: integer;
status: string;
... |
Unit Cursor;
Interface
Type
CursorForm=(CuNone,CuLine,CuBlock,CuHalf);
procedure SetCursorForm(kind:CursorForm);
function getCursorKind:word;
procedure HideCursor;
procedure ShowCursor;
Implementation
Var cursors : array [CursorForm] of word;
cuform : CursorForm;
function getCursorKin... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [RECADO_REMETENTE]
The MIT License ... |
{==============================================================================}
{= RzPanel Unit =}
{= =}
{= This unit implements an enhanced panel component which provides the ... |
unit CarView;
interface
uses
SysUtils, Windows, GLScene, GLObjects,
GLVectorFileObjects, VectorGeometry, CarDef, GLTexture, Graphics, GLUtils;
type
TCarView = class
private
function CreateCarPart(CubeDummy: TGLDummyCube): TGLFreeForm;
public
MaterialTex: TGLMaterialLibrary;
cons... |
unit Model.OcorrenciaEntregador;
interface
type
TOcorrenciaEntregador = class
private
FID: Integer;
FReferencia: Integer;
FData: TDate;
FEntregador: Integer;
FValor: Double;
FLog: String;
public
property ID: Integer read FID write FID;
property Referencia: ... |
unit MeusContatos.Model.Contatos;
interface
uses
MeusContatos.Model.Contatos.Interfaces, Rest.client, IPPeerClient, Data.DB,
MeusContatos.Model.entidades.Contatos, Rest.response.adapter;
Type
TModelContatos = Class(TInterfacedObject, iModelContatos)
Private
FRestClient : trestclient;
FRestRespon... |
{***************************************************************************}
{ }
{ DelphiWebDriver }
{ }
{ ... |
unit rtz_photo_folder;
interface
uses
Windows, Controls, Classes, DB, SysUtils, ExtDlgs, Forms, ComCtrls, Graphics, CommCtrl, ExtCtrls,
ide3050_intf,
idf3050_fibp,
rtz_dev_cntr, rtz_const, rtz_const_sql, rtz_photo_card;
type
TrtzPhotoLoadThread = class;
IrtzPhotoFolderComp = interface ['{89... |
unit uChangePassword;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask,
aOPCSource;
type
TfChangePassword = class(TForm)
bOk: TButton;
bCancel: TButton;
lUser: TLabel;
lOldPassword: TLabel;
lNewPassword: TLabel;
lConfirm... |
{ Subroutine RAY_INIT (PARENT_MEM)
*
* Initialize use of the ray tracer library. This must be the first call into
* the RAY library, and is the only valid call immediately after RAY_CLOSE.
* All memory dynamically allocated by the RAY library will be subordinate to
* PARENT_MEM, and will be deallocated by RA... |
unit PASVirtualDBScrollRichMemo;
{
VirtualDBScroll Package
The MIT License (MIT)
Copyright (c) 2014 Jack D Linke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, ... |
unit ucalc;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Math, uparser, uStack, usymbols, ulexer, uvectors;
procedure Calc(const inStr: string);
function getErrors(): string;
function getResult(): string;
implementation
type TCalcState = (stInput, stNumberWith, stVectorWith);
TRef = record
id: i... |
(* GREATIS OBJECT INSPECTOR *)
(* unit version 1.55.003 *)
(* Copyright (C) 2002-2006 Greatis Software *)
(* http://www.greatis.com/delphicb/objinsp/ *)
(* http://www.greatis.com/delphicb/objinsp/faq/ *)
(* http://www.greatis.com/bteam.html *)
u... |
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä
Msg : 592 of 708
From : Reynir Stefansson 2:391/20.0 14 Apr 93 17:32
To : All
Subj : Yafir...
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Here is yet another ... |
unit modsimple_wzd;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, ButtonPanel;
const
c_modsimple_baseurl = 'http://yourdomain/';
type
{ TfModuleSimpleWizard }
TfModuleSimpleWizard = class(TForm)
edt_ModuleName: TEdit;
edt... |
unit TPaintBoxX_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ TPaintBoxX Library }
{ Version 1.0 }
interface
uses Windows, A... |
{$include kode.inc}
unit syn_perc_phase;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
type
synPerc_Phase = class
private
FPhase : Single;
FPhaseAdd : Single;
FPhaseSize : Lon... |
unit frameAttributesOfGroup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, rtc.framedoc, DBGridEhGrouping, ToolCtrlsEh, DBGridEhToolCtrls,
DynVarsEh, System.Actions, Vcl.ActnList, Vcl.Menus, Vcl.ImgList, Data... |
unit FreeOTFEExplorerfrmPropertiesDlg_Volume;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FreeOTFEExplorerfrmPropertiesDlg_Base, ExtCtrls, StdCtrls, ComCtrls,
TeEngine, Series, TeeProcs, Chart;
type
TfrmPropertiesDialog_Volume = class(TfrmPrope... |
unit URegraCRUDUsuario;
interface
uses
URegraCRUD
, URepositorioDB
, URepositorioUsuario
, UEntidade
, UUsuario
;
type
TRegraCRUDUsuario = class(TRegraCRUD)
private
function ValidateEmail(const emailAddress: string): Boolean;
protected
procedure ValidaInsercao(const coENTIDADE: TENTIDADE)... |
{
DBE Brasil é um Engine de Conexão simples e descomplicado for Delphi/Lazarus
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Fr... |
unit TBGInterbaseExpressDriver.View.Driver;
interface
uses
TBGConnection.Model.Interfaces, System.Classes, TBGConnection.Model.Conexao.Parametros,
System.Generics.Collections,
IBX.IBDatabase, IBX.IBQuery,
TBGConnection.Model.DataSet.Interfaces;
Type
TBGInterbaseExpressDriverConexao = class(TCompon... |
unit uUsuarioLog;
interface
uses Classes, System.JSON;
type
TUsuarioLog = class(Tobject)
private
FListaEventos: TStringList;
FIdUsuario: string;
FNombre: string;
procedure setIdUsuario(const Value: string);
procedure setNombre(const Value: string);
function getCantidad: integer;
public... |
unit VisibleDSA.AlgoForm;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Objects,
VisibleDSA.AlgoVisHelper,
VisibleDSA.AlgoVisualizer;
type
TAlgoForm = class(TForm)
Pain... |
{************************************************}
{ }
{ Turbo Vision Demo }
{ Copyright (c) 1992 by Borland International }
{ }
{************************************************}
unit G... |
{
Detect needed BASH tags for selected records (or whole plugin).
Only plugin in question and its dependencies must be loaded (same as for cleaning).
Tags information: http://tesfans.org/guides/wrye bash/docs/Wrye Bash Advanced Readme.html#patch-tags
Currently supported tags:
Delev, Relev
Factions
I... |
unit DevMax.VIewItem.ToolbarRightButton;
interface
uses
DevMax.View.Types,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation;
type
TToolbarRightButton = class(TFrame, IViewIt... |
program StackExample;
{
type StackItem = record
item: integer;
next: ref LinkedListItem;
end;
type StackException = exception
msg: string;
end;
}
procedure Push(StackRef: ref StackItem; number: integer);
var
NewItemRef: ref StackItem;
begin
newItemRef := new(NewItem);
!NewItemRef.next := Stac... |
unit MainFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, PersonU, System.Generics.Collections,
MVCFramework.Serializer.Commons, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Procedimentos e funções relacionados ao ECF.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associat... |
program hello20_for;
var
i : integer;
begin
for i:=1 to 20 do
writeln('Hello , world')
end.
|
program FibonacciRecursion;
{$MODE OBJFPC}
var
i : Integer;
function Fib(n : Integer) : Integer;
begin
if n <= 2 then
Fib:= 1
else
Fib := Fib(n-1) + Fib(n-2);
end;
begin
for i := 1 to 25 do
writeln('Fib(', i, ') = ', Fib(i))
end. |
unit davecad_error;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LCLType, Dialogs, Forms, Controls;
type
TDaveCadMessageList = class(TObject)
fList : Classes.TStrings;
fIsEmpty: boolean;
fHead: string;
public
constructor create;
destructor destroy; override;
function i... |
unit UDataModule;
interface
uses
Windows, SysUtils, Classes, Forms, UProtocol, USysConst, SPComm;
type
TFDM = class(TDataModule)
Comm1: TComm;
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
procedure Comm1ReceiveData(Sender: TObject; Buffer:... |
unit BusExitController;
interface
uses
BusExitTime, Generics.Collections, Aurelius.Engine.ObjectManager, ControllerInterfaces, BusLine,
Aurelius.Criteria.Linq, Aurelius.Criteria.Projections;
type
TBusExitController = class(TInterfacedObject, IController<TBusExitTime>)
private
FManager: TObjec... |
{
Created by BGRA Controls Team
Dibo, Circular, lainz (007) and contributors.
For detailed information see readme.txt
Site: https://sourceforge.net/p/bgra-controls/
Wiki: http://wiki.lazarus.freepascal.org/BGRAControls
Forum: http://forum.lazarus.freepascal.org/index.php/board,46.0.html
This li... |
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit RGBGreyscale_test;
interface
uses
SysUtils,
RGB,
RGBGreyscale,
{$IFDEF FPC}
fpcunit, testregistry
{$ELSE}
TestFramework
{$ENDIF};
type
TRGBGreysca... |
unit Horse.Core.Group;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses
{$IF DEFINED(FPC)}
SysUtils,
{$ELSE}
System.SysUtils,
{$ENDIF}
Horse.Core.Group.Contract, Horse.Core.Route.Contract, Horse.Core.RouterTree;
type
THorseCoreGroup<T: class> = class(TInterfacedObject, IHorseCoreGroup<... |
unit CRepWellBasketFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, JvExComCtrls, JvComCtrls, StdCtrls, JvExStdCtrls,
JvGroupBox, Well, JvListView;
type
TfrmWellBasket = class(TFrame)
gbxSelectedWells: TJvGroupBox;
tvSelectedWells: TJ... |
unit DataSyncDownload;
interface
uses
Windows, Messages, SysUtils,Variants, Classes, Graphics, Controls, Forms, Dialogs,
Db, ADODB, StdCtrls, ComCtrls, ExtCtrls, DBClient;
type
TfrmDownloadData = class(TForm)
GroupBox1: TGroupBox;
lblTables: TLabel;
pbarTables: TProgressBar;
lblRow... |
(*======================================================================*
| unitExGraphics unit |
| |
| Simple graphics functions to convert HSL to RGB. Provides 2-color |
| 256 color palette... |
unit hcUpdateConsts;
interface
const
ManifestFileName :string = 'Manifest.xml';
AppDir :string = '{app}';
PatchFileExtension :string = '.pth';
type
UpdateResult = (urSuccess,urFailure);
const
UpdateResultNames :array[UpdateResult] of string = ('Success','Failure');
implementation
en... |
{AUTEUR : FRANCKY23012301 - 2008 ------- Gratuit pour une utilisation non commerciale}
unit MidiCntPattern;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics, PatternMidi, Dialogs;
type
TMidiCntPattern = class(TCustomControl)
private
fColorPanels: TColor;
fColorValues:... |
// $Id: remote.command.NotifySystemTime.pas 840 2014-05-24 06:04:58Z QXu $
unit remote.command.NotifySystemTime;
interface
uses
superobject { An universal object serialization framework with Json support },
dco.framework.Command;
type
/// <summary>This command arranges to notify to change the visibility level... |
unit FExercicio2_ConversaoTexto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FExercicio_Base, StdCtrls, ExtCtrls;
type
TFormExercicio2_ConversaoTexto = class(TFormExercicio_base)
mmoTextoOriginal: TMemo;
lblTextoOriginal: TLabel;
mmoTextoConver... |
// If forms of your application appears on the screen with delay, the splash of
// the other demo has better effect.
unit Splash;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
PicShow, ExtCtrls, jpeg;
type
TSplashFormFx = class(TForm)
PicShow: TPicSh... |
unit uVideo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, CtrlsEx, RzPanel, jpeg, MMSystem;
type
TfrmVideo = class(TfrmBase)
pnlVideo: TPanel;
pnlLeft: TRzPanel;
pnlRight: TRzPanel;
btnCap: TB... |
unit ClientModuleUnit;
interface
uses
System.SysUtils, System.Classes, ClientClassesUnit, IPPeerClient,
Datasnap.DSClientRest;
type
TClientModule = class(TDataModule)
DSRestConnection: TDSRestConnection;
private
FInstanceOwner: Boolean;
FServerMethodsClient: TServerMethodsClient;
FCrudClient:... |
unit uobjparam;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, ZConnection, ZDataset, comunit;
type
{ T_TC_ClassificatorObjectParam }
T_TC_ClassificatorObjectParam = Class(TObject)
private
FCaption: string;
FClass_PCID: string;
FConnection: TZConnection;
FPUID: string;
FRev_Mark: str... |
unit PrjManager;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, ComCtrls;
type
TProjectManager = class(TForm)
ListView1: TListView;
procedure ListView1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
private
functio... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, StrUtils, ComCtrls, ExtCtrls, jpeg, Buttons;
type
TElement = record
Num : string[2];
Nom : string[30];
end;
Const
nb = 50;
Plantes: array [1..nb] of string[30]... |
unit InfraUtilIntf;
interface
type
IInfraVisitor = interface(IInterface)
['{DFEE74AA-CB25-4272-8EC5-F08461F74E49}']
procedure Visit(const Item: IInterface);
end;
IInfraVisited = interface(IInterface)
['{6700A013-9162-433C-9FBB-7C6CC86DCE54}']
procedure Accept(const Visitor: IInfra... |
unit USysPageHandler;
interface
uses UxlClasses, UxlExtClasses, UPageSuper, UTypeDef, UxlList, UxlWinClasses, UPasteHandler;
type
TSysPageHandlerSuper = class (TxlInterfacedObject, ICommandExecutor, ILangObserver)
protected
FPage: TPageSuper;
FParent: TPageSuper;
protected
function... |
{
***************************************************
PSPdisp (c) 2008 - 2015 Jochen Schleu
compress.pas - wrapper for libjpeg
This software is licensed under the BSD license.
See license.txt for details.
***************************************************
}
unit compress;
interface
uses
Windows, Gr... |
unit Aurelius.Mapping.MappedClasses;
{$I Aurelius.inc}
interface
uses
Rtti, Generics.Collections;
type
TMappedClasses = class
strict private
FRegisteredClasses: TList<TClass>;
function GetClasses: TEnumerable<TClass>;
public
class function GetEntityClasses: TArray<TClass>;
publ... |
unit Unit5;
interface
uses FMX.ListBox, System.Classes, System.DateUtils,System.SysUtils, System.UITypes ;
type
TCombobox = class(FMX.ListBox.TComboBox)
private
LastTimeKeydown:TDatetime;
Keys:string;
protected
procedure KeyDown(var Key: Word; var KeyChar: System.WideChar; Shift: TShiftState);overr... |
unit unit_Macros;
{$MODE Delphi}
interface
uses
Classes;
type
TMacro = class
private
FName: String;
FArgs: array of String;
FLines: TStringList;
public
constructor Create(const aName: String; const aArgs: array of String);
destructor Destroy; override;
procedure ... |
// This unit manages storing preferences
// Local prefs are stored near the main program file,
// globals in the prefs folder
unit SettingsFile;
interface
uses
MacOSAll, UtilsTypes, FileUtils;
type
SettingsRec = record
postName: AnsiString;
data: AnsiString;
end;
SettingsArray = array of SettingsRec;
functio... |
{SWAG=OOP.SWG, T.V. Mouse right button}
program Localmenu;
uses
Drivers, Objects, Views, App, Menus;
const
cmNothing = 101;
type
TMyApp = object(TApplication)
LocalMenu: PMenu;
LocalMenuOpen: boolean;
constructor Init;
procedure GetEvent(var Event: TEvent); virtual;
end;
constructor TMyApp.In... |
unit MyDlg;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Dialogs, Forms, StdCtrls;
function HbCustomMessageDlg(const Titulo, Msg: String; DlgType: TMsgDlgType;
Buttons: TMsgDlgButtons; Captions: array of String): Word;
function HbMessageDlg(const Titulo, Msg: String; DlgType: TMsgDlgType;
Buttons: TM... |
unit Main_Frm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, Vcl.Controls, Vcl.Forms,
System.Variants, IPPeerServer, System.Classes, Vcl.Graphics, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.Imaging.jpeg, Vcl.ExtCtrls, dxGDIPlusClasses{, JclSysInfo};
type
TMainFrm = class(TForm)
cxImage2: TImage;
... |
unit RRManagerEditVersionFrame;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Mask, ToolEdit, CommonComplexCombo,
RRManagerObjects, RRManagerBaseGUI, ComCtrls, ClientCommon
{$IFDEF VER150}
, Variants, Buttons, RRManagerBasketForm, ImgList, RRMan... |
unit MD.Opacitys;
interface
uses
MD.ColorPalette;
const
// Text opacity
DARKTEXT_PRIMARY_OPACITY = 0.87;
DARKTEXT_SECONDARY_OPACITY = 0.54;
DARKTEXT_DISABLED_OPACITY = 0.38;
DARKTEXT_HINT_OPACITY = 0.38;
DARKTEXT_ICONS_OPACITY = 0.38;
DARKTEXT_DIVIDERS_OPACITY = 0.12;
WHITETEXT_PRIMARY_OPACITY = ... |
{ Arquivo criado automaticamente Gerador Multicamadas
(Multitiers Generator VERSÃO 0.01)
Data e Hora: 11/10/2016 - 23:04:17
}
unit Marvin.AulaMulticamada.Excecoes.Cliente;
interface
uses
SysUtils,
{ marvin }
uMRVExcecoesFramework;
type
EMRVExcecoesCliente = class(EMRVException)
end;
EMRVCliente... |
program rs_repack;
uses
sysutils, rsdat, rsdat_pack;
procedure UnpackData(const basedir: string);
var
dat: TRSDatFile;
fhdr, fdat: string;
begin
fhdr := basedir + 'DATA.HDR';
fdat := basedir + 'DATA.DAT';
if not FileExists(fhdr) or not FileExists(fdat) then begin
writeln('missing input files ', fhdr... |
//------------------------------------------------------------------------------
//
// Voxelizer
// Copyright (C) 2021 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation;... |
unit FMX.MDAutocompleteEdit.Style;
interface
uses
FMX.Edit.Style, FMX.Controls.Presentation, FMX.Controls.Model, FMX.Presentation.Messages,
FMX.Controls, FMX.Graphics, FMX.ListBox, System.Classes, System.Types, FMX.Presentation.Style, FMX.MDEdit.Style;
type
TStyledMDAutocompleteEdit = class(TStyledMDEdit)
p... |
unit aOPCTCPSource_V33;
interface
uses
Classes,
aOPCTCPSource_V30,
uSCSTypes;
type
TaOPCTCPSource_V33 = class(TaOPCTCPSource_V30)
public
constructor Create(aOwner: TComponent); override;
function CreateClient(aClientID: Integer): Integer;
function CreateTracker(aClientID: Integer; const aTrack... |
unit DateTimeCore;
{#Author fmarakasov@ugtu.net}
interface
uses
CoreInterfaces;
type
TDateTimeBase = class (TInterfacedObject, IDateTime)
private
FDOW : Word;
FValue : TDateTime;
FYear : Word;
FMonth : Word;
FDay : Word;
FMinute : Word;
FHour : Word;
FSecond : Word;
FMillis... |
unit HibernateModelIntf;
interface
uses
InfraValueTypeIntf;
type
IAccount = interface
['{3D7930FB-0473-4DAE-844B-66B613DD5DB0}']
function GetAccountNumber: IInfraString;
function GetName: IInfraString;
function GetInitialBalance: IInfraDouble;
function GetCurrentBalance: IInfraDo... |
{
***************************************************
PSPdisp (c) 2008 - 2015 Jochen Schleu
MainLoop.pas - worker thread
This software is licensed under the BSD license.
See license.txt for details.
***************************************************
}
unit mainloop;
interface
uses
Classes, Windows, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.