text
stringlengths
14
6.51M
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Edit; type TForm1 = class(TForm) Edit1: TEdit; Button1: TButton; Label1: TLabel; Button2: TButton; B...
unit ufrmMasterDialog; interface uses Windows, Messages, SysUtils, Variants, Graphics, Controls, Forms, Dialogs, ufraFooterDialog3Button, ExtCtrls, ActnList, System.Actions, System.Classes, Vcl.StdCtrls, uDXUtils, uDMReport; type TfrmMasterDialog = class(TForm) pnlBody: TPanel; footerDialogMaster: Tf...
{$I-,Q-,R-,S-} {28¦ Diga Cheese Korea 2002 ---------------------------------------------------------------------- Había una vez un pedazo grande de queso, vivía en él un ácaro del queso llamada Amelia Acaro del Queso. Amelia estaba realmente contenta porque ella estab...
unit unt_server; {$mode objfpc}{$H+} interface uses Classes, SysUtils, process; function ExecuteScript(AScript: string): TStringList; function ExecuteCmd(ACmd: string): TStringList; implementation function Execute(AScript: string): TStringList; const READ_BYTES = 2048; var memoryStream: TMemoryStream;...
unit uMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, FMX.Maps, FMX.Layouts, FMX.Controls.Presentation, System.Sensors, System.Sensors.Compo...
unit UUserDll; (*==================================================================== User DLL access ======================================================================*) interface uses {$ifdef mswindows} Windows, {$ELSE} LCLIntf, LCLType, LMessages; {$ENDIF} var UserCommand: proce...
unit LrTagParser; interface uses SysUtils, Classes, Contnrs, LrParser; const idText = 0; idTag = 1; idSpace = 2; idDelim = 3; idAttr = 4; idName = 5; idValue = 6; type TLrTagToken = class(TLrParsedToken) private FNameCount: Integer; protected function GetElement: string; funct...
unit uDM; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, IniFiles, DB, ADODB, PowerADOQuery, LookUpADOQuery; const INI_FILE = 'MRPuppyTracker.ini'; type TMRDatabase = class private fDatabaseName : String; fServer :...
unit uNewPajak; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, uTSBaseClass, uNewUnit, DB; type TNewPajak = class(TSBaseClass) private FID: string; FIsDefault: Integer; FKode: string; FNama: string; FPPN: Double; FPPNBM: Double; function F...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLWindowsFont<p> TFont Import into a BitmapFont using variable width...<p> <b>History : </b><font size=-1><ul> <li>25/01/10 - Yar - Bugfix in LoadWindowsFont with zero width of char (thanks olkondr) ...
{ This module collects the basic data types and operations used in the TP Lex program, and other basic stuff that does not belong anywhere else: - Lex input and output files and corresponding bookkeeping information used by the parser - symbolic character constants - dynamically allocated strings and char...
unit UConfigBase; interface uses Vcl.ExtCtrls, System.SysUtils, Ils.Kafka; type TConfigBase = class; TConfigEvent = procedure(ASender: TConfigBase) of object; TConfigBaseAbstract = class protected function Reload: Boolean; virtual; abstract; function CheckNeedReload: Boolean; virtual; abstract; ...
unit InformePorFechas_ViewModel_Implementation; interface uses Informe_Model,Informe_ViewModel_Implementation; type TInformePorFechas_ViewModel = class(TInforme_ViewModel) private { Private declarations } fDesdeFecha: TDateTime; fHastaFecha: TDateTime; procedure SetDesdeFecha(const Value: TDate...
unit MustacheTests; {$mode objfpc}{$H+} interface uses TestFramework, HandlebarsTestCase; type TCommentsTests = class(THandlebarsTestCase) published procedure TestInline; procedure TestMultiline; procedure TestStandalone; procedure TestIndentedStandalone; procedure TestStandaloneLineEnding...
unit UFiles; //------------------------------------------------------------------------------ // модуль реализует класс доступа к файлам //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ interface uses S...
unit uFrameObjectFilter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, cxDropDownEdit, cxCalendar, cxTextEdit, cxCurrencyEdit, cxMaskEdit, cxButtonEdit, cxContainer, cxEdit, cxGroupBox, cxPC, cxCon...
program SimonFramework; Uses sysutils, Crt, Classes; var ChoiceNum : integer; name : string; score : integer; scores: array[1..10,1..2] of integer; Colors : Array[1..4] of string; ColorTally : string; TempString, TempString2 : string; time : LongWord; menu : integer; Procedure GenSettings; forward; P...
unit hashtable; // When compiling with freePascal, use -S2 switch (-Sd won't work) // TODO: see if making it compatible with -Sd is possible and / or necessary // // (incomplete) rip-off of java hashtable //============================================================================= interface //=========...
unit E_Logger; //------------------------------------------------------------------------------ // Модуль реализует класс логирования //------------------------------------------------------------------------------ // Потоко-безопасный логгер // // Запись в файл лога ToLog() добавляет запись в лог; // Запись в файл ло...
unit CatClipboardListener; { Catarinka Clipboard Listener Copyright (c) 2012-2020 Syhunt Informatica License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details } // Works with Vista and later // Before Vista, you should be using SetClipboardViewer() instead of AddClipboardFormatListener(...
(* Category: SWAG Title: DATA TYPE & COMPARE ROUTINES Original name: 0018.PAS Description: Variable Number Parameter Author: JANOS SZAMOSFALVI Date: 01-27-94 12:24 *) { |│-> You can allocate some memory and put all your parameters there, then |│-> pass a pointer which points to this memory block. You have ...
unit uFrmQuickEntryListUpdate; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmParentQuickEntryList, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridTableView, DBClient, siComp, siLangRT, StdCtrls, Buttons, PanelRights, c...
unit TALG; {Modul z algorytmamy sortuvan'} interface uses TCOM; procedure Alg454(var a: arr); procedure Alg459(var a: arr); procedure Alg4522(var a: arr); procedure Alg4523(var a: arr); implementation type TArr=array[1..m] of word; ...
unit Utils.General; interface uses Vcl.Forms; type TFrameClass = class of Vcl.Forms.TFrame; TValidateLibrary = class class function CheckEmail(const Value: string): Boolean; class function CheckIBAN(const Value: string): Boolean; class function IsNotEmpty(const Value: string): Boolean; end; imp...
unit FreeOTFEExplorerWebDAV; interface uses Classes, IdContext, IdCustomHTTPServer, SDFilesystem, SDUGeneral, SDUWebDAV, Windows; type TRequestedItem = record Filename: Ansistring; IsFile: Boolean; Size: ULONGLONG; end; PRequestedItem = ^TRequestedItem; TFre...
unit ibSHTable; interface uses SysUtils, Classes, Controls, Contnrs, Forms, SHDesignIntf, ibSHDesignIntf, ibSHDBObject; type TibBTTable = class(TibBTDBObject, IibSHTable) private FDecodeDomains: Boolean; FWithoutComputed: Boolean; FRecordCount: Integer; FChangeCount: Integer;...
// // Generated by JavaToPas v1.5 20180804 - 083257 //////////////////////////////////////////////////////////////////////////////// unit java.util.concurrent.locks.AbstractQueuedSynchronizer; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, java.util.concurrent.TimeUnit; type JAbstractQueuedSy...
{ *********************************************************************** } { } { Author: Yanniel Alvarez Alfonso } { Description: Synchronization Classes } { Copyright (c) ...
unit uftp; interface uses windows, wininet, UnitDiversos, UnitServerUtils; type tProgressProc = procedure(afile: string; Done, Total: cardinal; var abort:boolean) of object; const BlockSize = 1024; type tFtpAccess = class(tObject) private fSession: hINTERNET; fConnect: hInternet; fOnPro...
{################################################} {# Program Calc2 #} {# | | _ |V| _|\| _ __ _ _ #} {# |__|_||<(/_ | |(_| |(/_|||(/_(/_ #} {# 2014 #} {################################################} {# Jednoduchá repre...
unit o_func; interface {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} // In dieser Unit befinden sich Befehle, die dazu dienen die Delphi Funktionen // zu erweitern. // Das Präfix nf_ steht für new|frontiers und beinhaltet, dass es sich hierbei // um eine Globale new|frontiers Funktion handelt. // Wichtig:...
unit runprocess; {$mode objfpc}{$H+} interface uses classes, SysUtils, process; function setwindowtoalldesktops(winstr : string) : boolean; function RunCommandAndCaptureOut (cmd: string; catchOut: boolean; var outlines: TStringList; var report: string; showcmd: integer; var ExitCode: longint): boolean; ...
unit Produto.Model; interface uses Produto.Model.Interf, TESTPRODUTO.Entidade.Model, ormbr.container.objectset.interfaces, ormbr.Factory.Interfaces; type TProdutoModel = class(TInterfacedObject, IProdutoModel) private FConexao: IDBConnection; FEntidade: TTESTPRODUTO; FDao: IContainerObjectSet<TTEST...
unit FileManager; {$mode delphi} interface uses Classes, LogMgr; type ////////////////////////////////////////// FZActualizingStatus=(FZ_ACTUALIZING_BEGIN, FZ_ACTUALIZING_IN_PROGRESS, FZ_ACTUALIZING_VERIFYING_START, FZ_ACTUALIZING_VERIFYING, FZ_ACTUALIZING_FINISHED, FZ_ACTUALIZING_FAILED ); FZFileActualizin...
(* Category: SWAG Title: STRING HANDLING ROUTINES Original name: 0018.PAS Description: Three ways to Uppercase Author: SWAG SUPPORT TEAM Date: 05-31-93 07:16 *) { Three ways to convert a string to uppercase (without international support). } {$R-,S-,I- } Procedure UpCaseStr0(Var s : String); Var i : In...
unit ExtMenu; // Generated by ExtToPascal v.0.9.8, at 3/5/2010 11:59:34 // from "C:\Trabalho\ext\docs\output" detected as ExtJS v.3 interface uses StrUtils, ExtPascal, ExtPascalUtils, Ext; type TExtMenuMenuMgrSingleton = class; TExtMenuBaseItem = class; TExtMenuSeparator = class; TExtMenuTex...
namespace org.me.listviewapp; interface uses java.util, android.app, android.os, android.content, android.view, android.widget, android.util; type ArrayAdapterWithSections<T> = class(ArrayAdapter<T>, SectionIndexer) private elements: array of String; alphaIndex: TreeMap<St...
object VAGetOptions: TVAGetOptions Left = 270 Top = 122 BorderStyle = bsDialog Caption = 'VAGetOptions' ClientHeight = 317 ClientWidth = 385 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder =...
unit MeshSmoothVertexColours; interface uses MeshProcessingBase, Mesh, BasicMathsTypes, BasicDataTypes, NeighborDetector, MeshColourCalculator, LOD; {$INCLUDE source/Global_Conditionals.inc} type TMeshSmoothVertexColours = class (TMeshProcessingBase) protected procedure MeshSmoothOp...
unit uGroupsRepository; interface uses Generics.Defaults, System.SysUtils, Vcl.Graphics, Vcl.Imaging.Jpeg, Dmitry.Utils.System, uConstants, uMemory, uDBEntities, uDBContext, uDBClasses; type TGroupsRepository = class(TBaseRepository<TGroup>, IGroupsRepository) public ...
unit htComponent; interface uses Classes, htInterfaces, htMarkup; type ThtComponent = class(TComponent, IhtComponent, IhtGenerator) private FPriority: Integer; protected function GetPriority: Integer; procedure SetPriority(const Value: Integer); public procedure Generate(inMarkup: ThtMa...
program polynomials (input, output); const VName = 'x'; type OperationType = (opAdd, opSub); StringType = string; TermPtr = ^Term; Term = record Next : TermPtr; Degree, Coefficient : integer; end; Polynomial = record PolyName : S...
unit MouseRNG; // Description: MouseRNG Component // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Classes, Controls, Dialogs, extctrls, Forms, Graphics, Mess...
(***** DLLTOOLS µ¥Ôª *****) unit dlltools; interface Uses Windows, Classes, Sysutils, imagehlp ; type TDLLExportCallback = function (const name: String; ordinal: Integer; address: Pointer): Boolean of Object; { Note: address is a RVA here, not a usable virtual address! } DLLToolsError = Class( Exception ); Procedure Li...
unit Spielen_Form; interface uses Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Mask, ComCtrls, Menus, Grids, Spielen_Klassen; type TFmSpielen = class(TForm) eName: TEdit; eAlter: TEdit; eBafoeg: TEdit; eFach: TEdit; cbTaetigkeit: TComboBox; eBeruf:...
unit QueueForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, TLHelp32; type TForm7 = class(TForm) RemoveFromQueue: TButton; HideBt: TButton; ...
(* Copyright (c) 2016 Darian Miller All rights reserved. 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, including without limitation the rights to use, copy, modify, merge, p...
unit fReloj; interface uses System.DateUtils, TZDB, tReloj, 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, FMX.Layouts, FMX.MultiView; type TfraReloj = class(TFrame) ...
{ *********************************************************************** } { } { GUI Hangman } { Version 1.0 - First release of program } { Last Revi...
unit WebSocketServer; interface uses System.SysUtils, System.Generics.Collections, IdCustomTCPServer, IdTCPConnection, IdContext, IdIOHandler, IdGlobal, IdCoderMIME, IdHashSHA, IdSSL, IdSSLOpenSSL; type TWebSocketServer = class(TIdCustomTCPServer) private IdServerIOHandlerSSLOpenSSL: TI...
unit XMLReport; interface uses System.Classes, Xml.xmldom, Xml.XMLIntf, Xml.Win.msxmldom, Xml.XMLDoc; type TReportSection = class; TReportSections = class; TSectionAttribute = class; TSectionAttributes = class; TXMLReport = class(TComponent) private fXMLText: TStrings; fXMLVersion: string; ...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit Fornecedor.Controller; interface uses Fornecedor.Controller.Interf, Fornecedor.Model.Interf, TPAGFORNECEDOR.Entidade.Model, System.SysUtils; type TFornecedorController = class(TInterfacedObject, IFornecedorController) private FFornecedorModel: IFornecedorModel; FRegistro: TTPAGFORNECEDOR; public...
unit uFuncoes; interface uses FMX.Edit, FMX.Forms, FMX.Objects, IdHTTP, IdFTPCommon, IdTCPConnection, IdTCPClient, IdFTP, FMX.DateTimeCtrls, GuiaAlvo.Controller.DataModuleDados, Guia.Controle; function preencheCEP(vCep : String; vForm: TForm) : Boolean; procedure pLoadImage(pImage : TImage; pImagem : Strin...
unit CCJSO_HeaderHistory; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CCJSO_DM, ExtCtrls, ActnList, ComCtrls, ToolWin, StdCtrls; type TfrmCCJSO_HeaderHistory = class(TForm) pnlHeader: TPanel; pnlControl: TPanel; pnlControl_Tool: TPanel; p...
unit uFaceDetection; interface uses System.Types, System.SysUtils, System.Classes, System.SyncObjs, Winapi.Windows, Vcl.Graphics, OpenCV.Core, OpenCV.ImgProc, OpenCV.Utils, OpenCV.ObjDetect, OpenCV.Legacy, UnitDBDeclare, uRuntime, uMemory, u2DUtils, uSettings;...
//------------------------------------------------------------------------------ //Database UNIT //------------------------------------------------------------------------------ // What it does- // This is the base database class, which all other databa...
unit IP_API; {**************************************************************************} { { Delphi Win32 DLL Import Unit for SoftWareKey.com InstantPLUS API { C, cdecl calling conventions { {**************************************************************************} interface uses Wintypes, WinPro...
unit modellingUnit; interface uses SysUtils,ActiveX,Windows,Classes,XMLDoc,XMLIntf,BalancerModelMVStudiumMetaFunctions; type direction = (left,right); modellingThread = class(TThread) private //Путь до файла с настройками pathToFile:string; //Параметры объекта shankLength: Double; shankL...
unit uPlotForms; { ***************************************************************************** * This file is part of Multiple Acronym Math and Audio Plot - MAAPlot * * * * See the file COPYING. ...
unit Work.ImportReadReports; interface uses Plus.TWork, ExtGUI.ListBox.Books, Data.Main; type TImportReadReportsWork = class (TWork) private FBooksConfig: TBooksListBoxConfigurator; procedure DoImportReaderReports; procedure SetBooksConfig(const Value: TBooksListBoxConfigurator); public p...
unit ManagedRecordsUnit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Memo.Types; type // This is a custom managed ...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { } ...
unit htGeneric; interface uses SysUtils, Classes, Controls, Graphics, LrGraphics, LrTextPainter, htControls, htMarkup; type ThtGeneric = class(ThtGraphicControl) private FHAlign: TLrHAlign; protected procedure Generate(const inContainer: string; inMarkup: ThtMarkup); override; procedur...
UNIT JsEdit1; interface uses SysUtils, Classes, Controls, StdCtrls, Graphics, Windows, Messages, Forms, contnrs, Dialogs, Buttons, math, ibquery; //type //JsEditInterface = interface // ['{37F2C629-0DF6-43FF-B1FC-4A7419DB893E}'] // function GetValorDelimitadoSQL: String; //end; type TtipoEntrada = (teTexto,...
unit UniteTestReponse; interface uses sysutils, TestFrameWork, uniteProtocole, uniteRequete, uniteReponse; type TestReponse = class (TTestCase) published procedure testReponseCreate; end; implementation procedure TestReponse.testReponseCreate; var reponseHTTP:Reponse; begin reponseHTTP...
unit epanet2; {$MODE Delphi} { Declarations of imported procedures from the EPANET PROGRAMMERs TOOLKIT } { (EPANET2.DLL) } {Last updated on 10/25/00} interface const { These are codes used by the DLL functions } EN_ELEVATION = 0; { Node parameters } EN_BASEDEMAND = 1; EN_PATTERN = 2; E...
unit ContourExport; interface uses Classes, FastGeo, QuadtreeClass, RealListUnit, AbstractGridUnit, DataSetUnit, SysUtils, GoPhastTypes, ContourUnit, ValueArrayStorageUnit; type TPointList = class(TObject) private FPoints: array of TPoint2D; strict private FCount: integer; procedure Grow; fun...
unit OTFEFreeOTFE_LUKSAPI; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses windows, // Required for DWORD SDUEndianIntegers, DriverAPI; cons...
unit ThComponent; interface uses SysUtils, Classes; type TThComponent = class(TComponent) protected procedure ChangeComponentProp(var ioComponent; const inValue: TComponent); procedure Notification(AComponent: TComponent; Operation: TOperation); override; procedure UnassignComponent(ACompone...
unit DSA.Sorts.IndexHeapSort; interface uses System.SysUtils, DSA.Interfaces.Comparer, DSA.Utils, DSA.Tree.IndexHeap; type TIndexHeapSort<T> = class private type TArr_T = TArray<T>; ICmp_T = IComparer<T>; TIndexHeap_T = TIndexHeap<T>; public class procedure Sort(var arr: TArr_T; cmp: ...
unit ufrmSignUp; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ExtDlgs, Vcl.Imaging.jpeg, Vcl.Imaging.pngimage, uJSONUser; type TfrmSignUp = class(TForm) pnlImgLogin: TG...
unit MulOpFhtTest; interface uses DUnitX.TestFramework, Math, uEnums, TestHelper, uIntXLibTypes, uIntX; type [TestFixture] TMulOpFhtTest = class(TObject) private F_length: Integer; const StartLength = Integer(256); LengthIncrement = Integer(101); RepeatCount = Integer(10); ...
unit URepositorioUnidadeMedida; interface uses UEntidade , URepositorioDB , UUnidadeMedida , SqlExpr ; type TRepositorioUnidadeMedida = class(TRepositorioDB<TUNIDADEMEDIDA >) public constructor Create; procedure AtribuiDBParaEntidade(const coUnidadeMedida : TUNIDADEMEDIDA ); override; ...
unit TpLabel; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThTag, ThAttributeList, ThAnchor, ThLabel, TpControls, TpAnchor; type TTpLabel = class(TThLabel) private FOnGenerate: TTpEvent; protected function CreateAnchor: TThAnchor; overr...
unit LifeUnitFmx; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.StdCtrls, LifeEngine, FMX.Controls.Presentation; const BoardSize: TSize = (cx: 500; cy: 500); type T...
unit OutraThreadU; interface uses {SafeMessageThreadU,} System.Classes, Winapi.Windows; type TOutraThread = class({TSafeMessage}TThread) private m_nMainThreadID : Cardinal; procedure MessageLoop; procedure MessageHandler(MsgRec : TMsg); public constructor Create(nMainThreadID: Cardinal); o...
unit uDMExportTextFile; interface uses SysUtils, Classes, ADODB, DBClient, DB, uDMGlobal, Variants; type TDMExportTextFile = class(TDataModule) qryInsConfigExport: TADOQuery; qryUpdConfigExport: TADOQuery; procedure DataModuleCreate(Sender: TObject); procedure DataModuleDestroy(Sender: TObject); ...
unit uEncontro; interface type TImpressaoEncontro = class private FNomePessoa: string; FModelo: string; FNumeroFicha: Integer; FAno: Integer; FLetra: string; procedure SetAno(const Value: Integer); procedure SetLetra(const Value: string); procedure SetModelo(const Value: string); ...
unit uFrmAssociateDepartment; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PAIDETODOS, Buttons, StdCtrls, CheckLst, siComp, siLangRT, LblEffct, ExtCtrls, DB, ADODB, PowerADOQuery, ComCtrls; type TFrmAssociateDepartment = class(TFrmParent) clbDepartmen...
{: Simple projective shadows.<p> The TGLShadowPlane component allows to render simple projective shadows. They have the benefit of being quite fast, but as the name says, your shadows will be projected only on a plane and must be (entirely) on the same side of the plane as the light (the side pointed...
unit Response.Intf; interface uses System.SysUtils, System.JSON,System.Classes; type IResponse = interface ['{450B980A-74B2-4204-BE86-E1D62200EDF5}'] function Content: string; function JSONText:string; function ContentLength: Cardinal; function ContentType: string; function ContentEncoding:...
unit UFrmPaiCadastro; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmPai, Vcl.Buttons, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, JvExMask, JvToolEdit, JvBaseEdits, Data.DB, UDMPai; type TFrmPaiCadastro = cl...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, SynEditHighlighter, SynHighlighterPython, SynEditPythonBehaviour, SynEdit, SynHighlighterJava, StdCtrls, ExtCtrls, SynEditTypes; type TForm1 = class(TForm) Editor: TSynEdit; SynJavaSyn1: TSynJavaSyn; ...
{: The fire special effect basic sample.<p> If you look at the code you won't see anything fancy. The FireFX is a dynamic special effect (driven by a cadencer). Making use of it means two things :<br> - dropping a FirexFXManager, this one controls fire particle systems aspects<br> - adding a FireFX ef...
unit Range; { a modal dialog used for setting the date range for the survey usage dialog } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ComCtrls; type TfrmRange = class(TForm) lblEnd: TLabel; lblStart: TLabel; lblInterval: TLabel; spn...
unit uModelBaseType; interface uses Classes, Windows, SysUtils, DBClient, uPubFun, uParamObject, uBaseInfoDef, uDefCom, uBusinessLayerPlugin, uModelParent, uModelBaseTypeIntf; type TModelBaseItype = class(TModelBaseType, IModelBaseTypeItype) //基本信息-加载包处理领域 private protected function GetSaveProcName: s...
unit mpRPC; {$mode objfpc}{$H+} interface uses Classes, SysUtils, mpgui, FPJSON, jsonparser, mpCoin, mpRed, mpBlock,nosodebug, nosogeneral, nosocrypto, nosounit, nosoconsensus; Procedure SetRPCPort(LineText:string); Procedure setRPCpassword(newpassword:string); Procedure SetRPCOn(); Procedure SetRPCOff(); // *...
unit uConstanta; interface uses Windows, SysUtils, Classes, Messages; const // core CONFIG_FILE = 'config.ini'; DB_HO = 'DBHO'; DB_STORE = 'DBSTORE'; DEBUG = 'DEBUG'; REFRESH_SERVER = 'REFRESH_SERVER'; LOCAL_CLIENT = 'LOCAL_CLIENT'; PATH_FILE_NOTA = 'PATH_FILE_NOTA'; PATH_TEMPLATE = 'PATH_REPO...
unit TypeReestr_Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Ibase,TiCommonStyles, ExtCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, dxBar, dxBarExtItems, cxGridLevel, cxClasses, cxControls, ...
unit Search; { data module for the rubicon search components and accompanying tables } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, taRubicn, DB, DBTables, taPhase, ComCtrls, Wwdatsrc, Wwtable; type TmodSearch = class(TDataModule) srcMatch: TDataSource; rubM...
namespace VirtualProperties; interface uses System.Windows.Forms, System.Drawing, VirtualProperties.VirtualPropertiesClasses; type MainForm = class(System.Windows.Forms.Form) {$REGION Windows Form Designer generated fields} private button1: System.Windows.Forms.Button; components: System.Compone...
unit DAW.Tools; interface uses System.Win.Registry; type TDawTools = class private class var FAdbExe: string; class function ReadFromRegAdbExe: string; public class function CompilerVersionToProduct(const AVer: Single): Integer; class function AdbExe: string; class function AdbPath:...
unit md4; interface uses SysUtils, Windows; const MD4_BLOCK_SIZE = 16 * 4; MD4_LENGTH_SIZE = 2 * 4; type MD4State = record A, B, C, D: cardinal; end; MD4Context = record wwSize: int64; wwRemSize: int64; lpRemData: array[1..MD4_BLOCK_SIZE] of byte; State: MD4State; ...
unit CCJRMO_State; {********************************** * © PgkSoft 24.12.2015 * Журнал заказов редких лекарста * Установка состояния заказа: * - закрытие, * - открытие **********************************} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdC...
unit NSqlDbRegistry; {$I ..\NSql.Inc} interface uses NSqlIntf; type ISqlDbRegistry = interface ['{DB11FD4F-121E-4A42-87E7-EA4A5B3871C6}'] procedure Register(const Name: UnicodeString; DBHandler: IDbHandler); function ByName(const Name: UnicodeString): IDbHandler; function IsRegistere...
{: This sample mixes two textures by using multitexturing.<p> Multitexturing requires at least two materials in the material library:<ul> <li>a base material: determines the basic properties, incl. blending, colors and lighting-related properties <li>a second material: determines the second texture...
unit FormAutoNormals; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Voxel_Engine, Voxel_Tools, Voxel, VoxelUndoEngine, Voxel_AutoNormals; const // I've found these magic numbers in the sphere area: // sqrt(NumNormals / (4 * pi) = Magi...
unit uValidaDocs; //------------------------------------------------------------------------------ interface function ValidaCPF(aCPF: string): Boolean; function ValidaCNPJ(aCNPJ: string): Boolean; function LeftStr(const AText: AnsiString; const ACount: Integer): AnsiString; function RightStr(const AText: AnsiString...
unit UExport; (*==================================================================== Implementation of the export to text format ======================================================================*) interface uses Classes, UStream, UStringList, UApiTypes, UBaseTypes; const c_DatabaseName = ...