text stringlengths 14 6.51M |
|---|
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit Model.Services;
interface
uses
Model.Services.Interfaces,
Model.Services.Entity.Interfaces,
Model.POCO.Post,
Controller.Interfaces;
type
TServices = class(TInterfacedObject, IServices)
private
var
FParent: IController;
FPost: IEntity<TPost>;
public
class function New(_AParent: I... |
program Example;
{$mode objfpc}{$H+}
uses
SpellCheck;
var
i, j: Integer;
s: TSuggestionArray; { in case the word is wrong, this array contains
a list of suggestions }
Speller: TWordSpeller;
begin
if Paramcount < 2 then // check if user has used valid input
Writeln('Usage: ', Pa... |
program erfd3;
{ evaluation of the gaussian error function }
uses Crt;
var x, er, ec : real;
done : boolean;
function erf(x: real) : real;
{ infinite series expansion of the Gaussian error function }
const sqrtpi = 1.7724538;
tol = 1.0E-4;
var x2,sum,sum1,term : real;
i : integer;
begin
x2 := x * x;... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Vale Transporte para o módulo Folha de Pagamento
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of thi... |
{
NAME: Brayan Quevedo Ramos
CLASS: Computer Science 1
DATE: Sept 13, 2018
PURPOSE: Is to learn how to use the 'gets' command.
Also to understand how Pascal does math.
Display answer (in given format).
}
{
PLAN:
1- Decide what the 2 numbers are.
2- Preform the math operation.
... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains definition of interface for creating user dialog for configuring parameters of custom curve type.)
@author(Dmitry Morozov dvmorozov@h... |
unit CInstrumentFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CDataobjectFormUnit, StdCtrls, Buttons, ExtCtrls, ComCtrls,
CComponents, CDataObjects, CDatabase, CBaseFrameUnit;
type
TCInstrumentForm = class(TCDataobjectForm)
GroupBoxAccountTyp... |
unit uEditForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, uResourceStrings, uView, EnhCtrls;
type
TEditForm = class(TForm, ILanguage)
pEdit: TPanel;
sbOk: TSpeedButton;
sbCancel: TSpeedButton;
Lbl... |
unit frmPeriodosLectivos;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
ButtonPanel, ExtCtrls, DBGrids, StdCtrls, DBCtrls, EditBtn, frmAbm,
DB, sqldb, frmsgcddatamodule;
type
{ TAbmPeriodosLectivos }
TAbmPeriodosLectivos = class... |
unit uniwizAddition;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TfraAdditionTask = class(TFrame)
chkPhoneBook: TCheckBox;
chkSMS: TCheckBox;
chkEnablePreset: TCheckBox;
lblCategory: TLabel;
cboCategory: TComboBox;
c... |
unit LancamentoBancoEntidade;
interface
type
TLancamentoBancoEntidade = class
private
FCodigo: Integer;
FCodigo_Propriedade: integer;
FCodigo_Usuario: integer;
FN_Documento: integer;
FData_Lancamento: TDateTime;
FCodigo_Conta: integer;
FCodigo_Cheque: integer;
FCod... |
program fodtp3e2;
type
registro = record
cod: integer;
nom, ape, dir, tel: string;
dni: integer;
fnac: string;
end;
archivo = file of registro;
procedure darDeBaja (var a: archivo; dni: integer);
var r: registro; pos: integer;
begin
reset(a);
while(not eof(a)) do begin
read(a,r);
if ... |
unit UWP.Slider;
interface
uses
Classes, Windows, Messages, Controls, Graphics, ExtCtrls,
UWP.Classes, UWP.ColorManager, UWP.Colors, UWP.Utils;
type
TUWPSlider = class(TCustomControl, IUWPControl)
private
var BarHeight: Integer;
var CurWidth, CurHeight, CurCorner: Integer;
var ActiveRect, NormalR... |
unit crtdll_wrapper;
// This file is a part of DiskID for Delphi
// Original code of DiskID can be taken here:
// http://www.winsim.com/diskid32/diskid32.html
// The code was ported from C++ to Delphi by Victor Derevyanko, dvpublic0@gmail.com
// If you find any error please send me bugreport by email. Thanks in ad... |
program launcher;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Interfaces,
Forms,
Classes,
SysUtils,
RegExpr,
ShellAPI;
{$R *.res}
function CompareVersions(List: TStringList; Index1, Index2: Integer): Integer;
type
TVerBlock = packed record
Majo... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N-,O-,P-,Q+,R+,S+,T+,V-,X+,Y+}
{$M 16384,0,655360}
Unit CDRip;
interface { Public symbols }
Const { Constants }
CDBuffer=13;
Type PCDArray = ^CDArray;
CDArray = Array[1..(1176 * CDBuffer)] of Integer;
PDCDArray = ^DCDArray;
DCDArray = Array[1..(1176 * 2 * CD... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Cadastro do Centro de Resultado
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 as... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
program MergeArbol;
uses crt;
const
dimf = 4;
type
venta = record
codArticulo : integer;
fecha : String;
codRubro : integer;
cantidad : integer;
precioTotal : real;
end;
ventas = record
codArticulo : integer;
codRubro : integer;
cantidadTot : ... |
unit SearchThread;
interface
uses
Classes {$IFDEF MSWINDOWS}, Windows {$ENDIF}, StdCtrls, SysUtils;
type
TSearchThread = class(TThread)
private
InfoLabel: TLabel;
CurrInfo: string;
FolderList, ResultList, FilterList: TStrings;
procedure Dosearch(SearchResult: TStrings);
procedure UpdateInfo... |
unit uCompoundGraphic;
interface
uses uIGraphic, VCL.Forms, System.Classes, System.SysUtils, System.Types,
uGraphic, Vcl.Graphics;
type
TCompoundGraphic = class(uGraphic.TGraphic)
protected
FForm: TForm;
FX: Integer;
FY: Integer;
FObjectList: TList;
public
procedure Add(AChild: uGraphic.T... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics,
Dialogs, ExtCtrls, Menus,
dglOpenGL,
oglContext, oglShader, oglVector, oglMatrix;
type
{ TForm1 }
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TO... |
{
FPCRes - Free Pascal Resource Converter
Part of the Free Pascal distribution
Copyright (C) 2008-2010 by Giulio Bernardi
Support for file streams that can be temporarily closed
See the file COPYING, included in this distribution,
for details about the copyright.
This program is distribu... |
unit frmEditObject;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, dxSkinsCore, dxSkinsdxStatusBarPainter, dxStatusBar,
Vcl.Menus, Vcl.StdCtrls,... |
unit VTAccessibilityFactory;
//----------------------------------------------------------------------------------------------------------------------
//
// Version 4.7.0
//
// class to create IAccessibles for the tree passed into it.
// If not already assigned, creates IAccessibles for the tree itself
// and the focu... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Mask, ExtDlgs;
type
TFrmMain = class(TForm)
BtnGenerate: TButton;
Image1: TImage;
MemoData: TMemo;
Label1: TLabel;
EditWidth: TMaskEdit;
Label2: TLabel;
... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
//
// Dragon
// A game for Windows based on a modified and improved version of the
// DelphiDoom engine
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 2004-2022 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Genera... |
unit TCPDriver;
interface
uses
// VCL
Windows, Messages, MConnect, ComObj, SysUtils, {$IFDEF VER150} Variants, {$ENDIF}
SConnect,
// This
PrinterDriver, SrvFRLib_TLB, untUtil, DriverError, DriverTypes, untLogger,
License;
type
TTCPConnection = TSocketConnection;
{ TRemoteDriver }
TRemoteDriver = ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, xmldom, XMLIntf, msxmldom, XMLDoc, ExtCtrls;
type
TForm1 = class(TForm)
Memo: TMemo;
Panel1: TPanel;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
... |
unit ftk_editor_hl7;
{
Copyright (c) 2001-2021, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of sourc... |
unit RequestQueue;
{Titulo: Programming II Labs
Subtitulo: Practica 2
Autor 1: Oscar Perez Sanchez Login 1: oscar.perez.sanchez
Autor 2: David Bermudez Lopez Login 2: david.bermudez
Grupo: 2.1
Fecha: 03/05/2019}
interface
CONST
NULLQ = 0;
MAXQ = 1000;
TYPE
tRequest = char;
tPosQ = integer;
tItemQ = ... |
unit FrmInput2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids;
type
TFrameInput2 = class(TFrame)
EditHead: TEdit;
ButtonAdd: TButton;
ButtonChange: TButton;
ButtonDelete: TButton;
StringGrid: TStringGrid;
EditBottom: ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado ŕ tabela [CHEQUE]
The MIT License ... |
unit keymap;
interface
uses Windows, Classes, Menus, keydefaults;
type
TKeyRecord = record
Name: string;
KeyC: TShortCut;
end;
TKeyIterator = procedure(const EventId: TKeyEvent; var KeyRec: TKeyRecord);
procedure InitKeyMap;
procedure UpdateMapping(const EventId: TKeyEvent; const Key: ... |
unit fileHashUnit;
interface
type
TfileHash = class
constructor create(aFileName:string); overload;
constructor create(aFileName:string;aMD5Hash:string); overload;
private
sFileName : string;
sMD5hash : string;
public
property fileName : string read sFileName write sFileName;
property MD5h... |
{
TInactivityApp Component Version 1.4 - Suite GLib
Copyright (©) 2020, by Germán Estévez (Neftalí)
[ES] Permite detectar en la aplicación donde se utiliza la inactividad de teclado y
de ratón pasado un determinado tiempo. Configurable por el usuario.
Basta con activar configurar los minutos y segundos d... |
unit TreeObject;
interface
uses SysUtils;
type
TTreeObject = class
private
FParent: TTreeObject;
FFirstChild: TTreeObject;
FNextSibling: TTreeObject;
FData: TObject;
FPrevSibling: TTreeObject;
procedure SetParent(const Value: TTreeObject);
procedure SetFirstChild(const Value: TTreeObj... |
unit vkvariablebinding;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Controls, Vcl.StdCtrls, Vcl.Forms, Vcl.Dialogs,
Variants, Db, vkvariable, variantutils, vkvariablebindingcustom;
type
TProcedureSetValue = procedure(Sender:TObject;const Value:Variant) of object;
TFunctionGetValue = func... |
unit Theos.Controller.Principal;
interface
uses
Vcl.Forms, System.SysUtils,
Theos.Lib.Resource,
View.Principal,
Theos.Controller.Calculadora,
Theos.Controller.Funcionario.Base;
type
TControllerPrincipal = class sealed
private
class var
FInstance: TControllerPrincipal;
strict private
... |
unit UWorkFlowDatamodule;
interface
uses
SysUtils, Classes, DB,
USQLHolder, UDMTCCoreLink, DAScript, UniScript, DBAccess, Uni, MemDS;
type
TwfDirection = (wfdNorth,wfdNorthEast,wfdEast,wfdEastSouth,wfdSouth,wfdSouthWest,wfdWest,wfdWestNorth);
TWorkflowStepsItem = class(TCollectionItem)
private
FWWORKF... |
unit Unit_Languages;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.ListBox, FMXTee.Engine, FMXTee.Series, FMXTee.Procs,
FMXTee.Chart, FMXTee.Editor.EditorPanel, FMXTe... |
unit Listener; // listen to redirected connections on a port, and redirect them through a back-end module
interface
uses
WinSock, Windows, SysUtils, Base;
procedure StartListener;
implementation
procedure ListenerProc(Nothing: Pointer); stdcall;
var
m_socket, AcceptSocket: TSocket;
service: TSoc... |
{-------------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software... |
unit User;
{
Trida TUser reprezentuje jednoho uzivatele.
Uzivatel se typicky vyznacuje
- id (unikatni identifikacni string, napr. "root"),
- krestnim jmenem a prijmenim,
- flagy opravnujici ho k jednotlivym cinnostem (napr. \root, \regulator),
- seznamem oblasti rizeni, ke kterym ma pristup, vcetne ne... |
unit Spiel;
interface
uses
Spieler;
type
ISpiel = interface
['{F5EB8E05-4D38-409A-A2FC-10610C4724E1}']
procedure Spielen;
function GetHeimspieler: ISpieler;
function GetGastspieler: ISpieler;
function GetGewinner: ISpieler;
function GetVerlierer: ISpieler;
property Heimspieler: ... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains definition of class representing single optimization task.)
@author(Dmitry Morozov dvmorozov@hotmail.com,
LinkedIn: https://w... |
unit RTTIUnit;
{ Don't forget to check out Danny Thorpe's
book for much more info on RTTI:
Delphi Component Design, Addison-Wesley, 1996 }
{$ifdef Ver80} { Delphi 1.0x }
{$define DelphiLessThan3}
{$endif}
{$ifdef Ver90} { Delphi 2.0x }
{$define DelphiLessThan3}
{$endif}
{$ifdef Ver93} { C++ Builder 1.0x }
... |
unit Pas.查找.折半查找法;
interface
uses
System.SysUtils;
type
TArray = TArray<Integer>;
procedure Running();
implementation
// 折半查找法
procedure BinarySearch(n: Integer; A: TArray);
var
L, H, Mid: Integer;
begin
L := Low(A);
H := High(A);
Mid := 0;
while Low(A) <= High(A) do
begin
Mid := (H + L) div... |
unit UAbmEmpleados;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UAbmSimple, IBCustomDataSet, IBUpdateSQL, DB, IBQuery, Menus,
ImgList, ActnList, StdCtrls, Buttons, Grids, DBGrids, UBDBGrid, ComCtrls,
ExtCtrls, Mask, DBCtrls, UDBEditAuto, IBStoredP... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela de Recebimento das Parcelas
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 associ... |
unit UDAO.Empresas;
interface
uses
System.SysUtils, System.Classes,UConexaoPadrao, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Datasnap.DBClie... |
{
This is common call between XV and Dx models.
So both have this in common.
}
unit neato.DXV.PlaySound;
interface
uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors,
neato.Helpers;
const
sDescription = 'Play the specified sound in the robot.';
// Command to send
sPlaysoundSoundID = '... |
unit TextMap;
interface
uses
// VCL
Windows, Classes, SysUtils, Registry,
// 3'd
TntRegistry, TntClasses, TntSysUtils;
type
TTextMapItem = class;
{ TTextMap }
TTextMap = class
private
FList: TList;
function GetCount: Integer;
procedure InsertItem(AItem: TTextMapItem);
procedure Remo... |
unit typePaspBranch;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ZDataset, ZConnection, unit_types_and_const, typepaspobj;
type
{ TPassBranch }
TPassBranch = class(TComponent)
private
{ private declarations }
f_conn : TZConnection;
f_pas_id : integer;
f_branch_id : integer;... |
unit UnitClientes.Model;
interface
uses UnitTipos.CustomAttribute;
type
[TTabela('CLIENTES')]
TClientes = class
private
FCLI_CODIGO: integer;
FCLI_NOME: string;
FCLI_ENDERECO: string;
public
[TTipoCampo('INTEGER')]
property CLI_CODIGO: integer read FCLI_CODIGO write FCLI_CODIGO;
[TTip... |
unit xlsRoutines;
interface
uses ComObj;
var
ExcelApp: OleVariant;
implementation
procedure Button1Click(Sender: TObject);
const
// SheetType
xlChart = -4109;
xlWorksheet = -4167;
// WBATemplate
xlWBATWorksheet = -4167;
xlWBATChart = -4109;
// Page Setup
xlPortrait = 1;
xlLandscape = 2;
xlPaper... |
unit UserReport;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ProjDB, Data.DB,
Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.DBCtrls;
type
TfrmUserReport = class(TForm)
Label2: TLabel;
D... |
//алгоритм возведения числа a в степень n по модулю m
unit power;
interface
uses Windows, SysUtils, bnumber;
Function Power_number2(a,n,m:longint):longint;
Function Power_number(a,n,m:TBNumber):TBNumber;
implementation
Function Power_number2(a,n,m:longint):longint;
var
p, q : longint;
begin
p:=1;... |
unit Controls;
interface
uses Windows, Types, Menus, Messages, Menus, Classes, Graphics, ImgList;
type
TAlign = (alNone, alTop, alBottom, alLeft, alRight, alClient, alCustom);
TAnchors = set of TAnchorKind;
TAnchorKind = (akTop, akLeft, akRight, akBottom);
TBevelCut = (bvNone, bvLowered, bvRaised, bvSpac... |
unit UCalculaDias;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Mask, BrvEditDate, Db, BrvExtenso, DBCtrls, BrvDbEdit,
ExtCtrls;
type
TFrmCalDias = class(TForm)
Panel1: TPanel;
LblInicial: TLabel;
LblFinal: TLabel;
E... |
unit LA.TestObject;
interface
uses
DUnitX.TestFramework, LA.DC.StrUtils;
type
[TestFixture]
TestTDCStrUtils = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
// Sample Methods
// Simple single Test
[Test]
procedure Test1;
// Test with TestCase... |
unit cda_base;
{
Copyright (c) 2011+, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code m... |
{*******************************************************************************
* Genesis Device Engine *
* Copyright © 2007-2015 Luuk van Venrooij *
* http://www.luukvanvenrooij.nl ... |
unit FolhaPagamentoItensEntidade;
interface
type
TFolhaPagamentoItensEntidade = class
private
FCodigo: integer;
FCodigo_Folha_Pagamento: integer;
FCodigo_Item: integer;
FValor: double;
procedure SetCodigo(const Value: integer);
procedure SetCodigo_Folha_Pagamento(const Value: ... |
unit uTPBaixaDEModel;
interface
{
CREATE TABLE TITULO_PAGAR_BAIXA_DE (
ID_TITULO_PAGAR_BAIXA_DE VARCHAR(36) NOT NULL,
ID_ORGANIZACAO VARCHAR(36) NOT NULL,
ID_TITULO_PAGAR_BAIXA VARCHAR(36),
ID_TIPO_DEDUCAO VARCHAR(36),
VALOR NUMERIC(10,2) NOT NULL
);
... |
unit Graphics;
interface
uses Windows, Types, Classes;
type
EInvalidGraphic = class(Exception);
EInvalidGraphicOperation = class(Exception);
THandle = Integer;
TBitmapHandleType = (bmDIB, bmDDB);
TBrushStyle = (bsSolid, bsClear, bsHorizontal, bsVertical, bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross... |
unit NPCompiler.Options;
interface
uses SysUtils, Variants, Generics.Collections, System.Classes;
type
TOptions = class
private type
TOptDataType = (odtInteger, odtBoolean, odtFloat, odtString, odtEnum);
TOptValues = class(TList<Variant>)
private
OptionType: TOptDataType;
BoosterPtr: Poi... |
unit PlanoFinanceiroEntidade;
interface
type
TPlanoFinanceiroEntidade = class
private
FCodigo: integer;
FCodigo_Fazenda: integer;
FCodigo_Usuario: integer;
FTipo: AnsiString;
FDescricao: AnsiString;
FCodigo_SubNivel: Integer;
FData_Cadastro: TDatetime;
FSub_Nivel: ... |
unit GeneralAbilitiesDemo;
// Virtual Treeview sample form demonstrating following features:
// - General use and feel of TVirtualStringTree.
// - Themed/non-themed painting.
// - Node button styles.
// - Selection rectangle styles.
// - Multiple columns, header, customize column backgrounds, header popup.
/... |
unit ufrmcompare;
{$mode objfpc}{$H+}
interface
uses
Classes, LazFileUtils, //FileUtil,
SynMemo, Forms, Graphics,
ExtCtrls, StdCtrls, Math, IntfGraphics, LCLType, ComCtrls, Spin, fpImage, Controls;
type
{ TfrmCompare }
TfrmCompare = class(TForm)
Button1: TButton;
Button2: TButto... |
unit fmuPosPrinter;
interface
uses
// VCL
Windows, StdCtrls, Controls, ExtCtrls, Classes, Forms, SysUtils,
Registry, ComCtrls,
// Tnt
TntStdCtrls, TntComCtrls, TntSysUtils,
// This
BaseForm, untPages, OposUtils, OposPosPrinter, VersionInfo, OposPtrUtils,
fmuPtrGeneral, TntExtCtrls;
type
{ TfmMain }... |
unit _tileset;
interface
uses Windows, Graphics, Classes, IniFiles, _utils;
// Tileset constants
const cnt_tileset_tiles = 800;
const cnt_paint_tile_groups = 8;
const cnt_block_preset_groups = 8;
const cnt_block_preset_keys = 40; // 0-9, A-Z...
const max_minimap_color_rules = 32;
const max_fill_area_rule... |
{$IFDEF FPC}
{$MODE DELPHI}
{$ENDIF FPC}
unit iPexeso;
interface
uses Classes;
type
IPlayer = interface;
IGameManagerSettings = interface;
// csNotSet znamená, že na pozici dosud není žádná karta
// csSet znamená, že na pozici je neodkrytá karta
// csFinished znamená, že na pozici byla kart... |
unit MathCustom;
interface
function Factorial(n: integer): integer;
function Fibonacci(n: integer): integer;
function FibonacciNaive(n: integer): integer;
procedure PrintInt(n: integer);
procedure PrintReal(x: real; n: integer);
implementation
function Factorial(n: integer): integer;
begin
if (n = 0) then
Fact... |
unit DataPortIP;
interface
uses SysUtils, Classes, DataPort, synsock, blcksock, synautil;
type
TIpProtocolEnum = (ippTCP, ippUDP);
TIpClient = class(TThread)
private
Socket: TBlockSocket;
s: string;
bConnect: boolean;
FOnIncomingMsgEvent: TMsgEvent;
FOnErrorEvent: TMsgEvent;
... |
unit uRegistro51;
interface
uses
Classes, Contnrs, SysUtils, StrUtils, Dialogs, Variants, uInterfaceBase;
type
TRegistro51 = class(TInterfaceBase)
private
public
constructor Create(); reintroduce;
end;
const
CAMPOS : array[0..11] of String = ('CNPJ', 'INSCRICAO_ESTADUAL', 'DATA_EMISSAO',... |
unit uDMDeletaLoteContabil;
interface
uses
System.SysUtils, System.Classes, udmConexao, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, uUtil,
Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Clien... |
unit GerenciadorExcecoes;
interface
uses
SysUtils, Forms, System.Classes;
type
TGerenciadorExcecoes = class
private
FCaminhoArquivoLog: String;
public
constructor Create;
procedure ManipularExcecao(Sender: TObject; E: Exception);
procedure SalvarLog(const AMensagem: string);
end;
var
Meu... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit WZIMGFile;
interface
uses Windows, Classes, SysUtils, Variants, Generics.Collections, Tools, Dialogs,
WZReader, WZDirectory, PNGMapleCanvas, MP3MapleSound;
type
tagVARENUM = (VT_EMPTY, VT_NULL, VT_I2, VT_I4, VT_R4, VT_R8, VT_CY, VT_DATE, VT_BSTR, VT_DISPATCH, VT_ERROR, VT_BOOL,
VT_VARIANT, VT_UNKNOWN, V... |
{
TPanelCuad Component Version 1.4 - Suite GLib
Copyright (©) 2020, by Germán Estévez (Neftalí)
Permite crear un panel con cuadrícula.
Se puede definir el color y ancho de la cuad´ricula que se quiere.
=========================================================================
IMPORTANTE PROGRAMADORES: Po... |
unit uCommon;
interface
type
TSRConfigRec = record
fExtension: string;
fProcess: string;
fParams: string;
fPath: string;
fKey: string;
fValName: string;
fValData: string;
fMutex: string;
function GetParam(Index: Integer): string;
property Extension: string inde... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains definition of interface for parsing curve expression.)
@author(Dmitry Morozov dvmorozov@hotmail.com,
LinkedIn: https://www.linkedin.c... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit dm_Local;
interface
uses
unt_XML, SysUtils, Classes, DB, ADODB;
type
TdmLocal = class(TDataModule)
aq_Staff: TADOQuery;
aq_User: TADOQuery;
procedure DataModuleCreate(Sender: TObject);
private
FLocalSQL : TKXML;
public
//======================================== Staff =... |
{*******************************************************}
{ }
{ LA DC Components }
{ }
{ Copyright (C) 2021 LA }
{ ... |
unit uFrame_Cartao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Mask, Menus,
rtCartao, rtTypes;
type
TFrame_Cartao = class(TFrame)
lbCodigo: TLabel;
edCartao: TEdit;
spBusca: TPanel;
procedure spBuscaClick(Sender: TObj... |
unit kuControlDevice;
interface
uses
Windows, SysUtils;
type
TDeviceName = String; //定义设备的GUID
const
DN_URU4000 = '{53D29EF7-377C-4D14-864B-EB3A85769359}';
type
TDeviceStatus = Byte;
const
DS_ENABLE = 1;
DS_DISABLE = 2;
type
TKControlDevice = class
private
... |
unit changeEventCaller;
{
Trida TChangeEventCaller poskutuje pomocne funkce pro volani ChangeEvents
(viz changeEvent.pas).
}
interface
uses changeEvent;
type
TNPCallerData = record
usekId: Integer;
jcId: Integer;
end;
TRemoveEventData = record
events: TChangeEvents; // object reference
ev... |
unit uMethodList;
interface
uses
Classes, SysUtils;
type
TMethodObject = class
class function NewInstance: TObject; override;
procedure FreeInstance; override;
private
FMethod : TMethod;
FMustDelete: Boolean;
public
constructor Create (AMethod : TMethod);
property Method : TMethod rea... |
unit Statements;
interface
uses SysUtils, Scanner;
procedure ParseStatement;
var
DoReturnBug: Boolean;
CurrentLoop: Integer;
CurrentReturnError: PErrorInfo;
NoLocals: Boolean;
NoReturn: Boolean;
implementation
uses Blocks, Scopes, Tokens, Expressions, TypesUtils;
procedure ParseLocal... |
unit cBase;
interface
uses
Classes,
SysUtils,
cArquivoIni,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Stan.Pool,
FireDAC.Stan.Async,
FireDAC.Phys,
FireDAC.Phys.FB,
FireDAC.Phys.FBDef,
FireDAC.VCLUI.Wait,
FireDAC.Comp.Client,
FireD... |
unit Model.Main;
interface
uses
System.SysUtils, System.DateUtils;
type
TClient = class(TObject)
private
FKode: string;
FNama: string;
FAlamat: string;
FExpired: LongInt;
public
constructor Create; overload;
constructor Create(AKode, ANama, AAlamat: string;
AExpired: LongInt); o... |
unit BrvSql;
interface
uses Classes, Dialogs, BrvDicionario, BrvDb, SysUtils, Db, BrvString, Windows, Forms,
StdCtrls, Controls, DBClient;
type
TBrvSql = Class
private
gCdsLog : TClientDataSet;
function ExcluirExpressaoParametro(pDsSql : String; pDsConteu: String): String;
function E... |
{$i deltics.strings.inc}
unit Test.Runtime;
interface
uses
Deltics.Smoketest,
Deltics.Strings;
type
RuntimeTests = class(TTest)
procedure SizeOfCharIsCorrect;
procedure SizeOfUtf8CharIsOneByte;
procedure SizeOfAnsiCharIsOneByte;
procedure SizeOfWideCharIs... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit VirtualTrees.Actions;
interface
uses
System.Classes,
System.Actions,
Vcl.Controls,
Vcl.ActnList,
VirtualTrees;
type
TVirtualTreeAction = class(TCustomAction)
strict private
fTree: TBaseVirtualTree; // Member variable for the property "Control"
fTreeAutoDetect: Boolean; // True if a potenti... |
unit EtcPropsConverter;
interface
uses
CompConverterTypes,
System.SysUtils, System.Classes,
CompConverter;
type
// TLabel의 Color 설정된 경우 Transparent = True 설정
TConverterLabelColor = class(TConverter)
protected
function FindComponentInDfm(AData: TConvertData): Boolean; override;
function GetTarget... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.