text
stringlengths
14
6.51M
{ This file is part of DBGP Plugin for Notepad++ Copyright (C) 2007 Damjan Zobo Cvetko 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; either version 2 of the License, or (at...
UNIT GUI_Pokedex; {$mode objfpc}{$H+} INTERFACE USES Crt, DT_Pokedex, DT_Especie, DT_TipoElemental, Utilidades; (*Dibuja en pantalla los datos de la especie seleccionada, tal como se describe en los documentos.*) PROCEDURE DrawPokedex(p: DatosPokedex); (*Dibuja el fondo de la pokedex*) PROCEDURE DrawPok...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Connection classes } { } { Copyright (c) 1998 In...
{----------------------------------------------------------------------------} { Written by Nguyen Le Quang Duy } { Nguyen Quang Dieu High School, An Giang } {----------------------------------------------------------------------------} ...
unit MgShapes; interface uses Classes; type TMgGeometricShape = class(TPersistent) private FOnChange : TNotifyEvent; protected procedure AssignTo(Dest: TPersistent); override; procedure Changed; virtual; public constructor Create; virtual; abstract; property OnChange: TNotifyEvent read...
unit uGameManager; /// ключевой модуль реализации логики игры и управление интерфейсом /// что делается контролем подчиненных специализированных менеджеров interface uses uTypes; type TGameManager = class private fJumpAbility: TJumpAbility; public procedure Init; /// м...
unit CORBAServerImpl; { This is the Implementation Unit of the CORBA Server. In the initialization section of this unit, the wizard writes a call to CORBAFactory constructor which creates an instance of the Object DemoCORBA. The third parameter to the method is the Repository ID and is of the format 'IDL:Pro...
unit inifileunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, regexpr; type TIniFile = class public List: TStringList; FileName: string; constructor Create(filePath: string = ''); destructor Destroy; procedure Free(); function Load(filePath: s...
{ This file is part of the Free Pascal run time library. Copyright (c) 2003 by the Free Pascal development team CustomApplication class. Port to pas2js by Mattias Gaertner mattias@freepascal.org See the file COPYING.FPC, included in this distribution, for details about the copyright. Thi...
PROGRAM PrimeNumbers(INPUT, OUTPUT); CONST Max = 100; Min = 2; TYPE SetOfNumbers = SET OF Min..Max; VAR LotsOfNumbers: SetOfNumbers; Current, Number, Prime: INTEGER; BEGIN LotsOfNumbers := [Min..Max]; Current := Min; WHILE (Current <= Max) DO BEGIN Number := Current; IF Number IN LotsO...
unit UIRegisterController; interface type IRegisterController = interface procedure RegisterClose; procedure RegisterSave; procedure RegisterCancel; end; implementation end.
unit FC.Trade.TraderCollection; interface uses SysUtils, BaseUtils, Classes, StockChart,Serialization, FC.Definitions; type { TSCOrderCollection } //Self Destruct | Not Self Destruct TStockOrderCollection = class (TInterfaceProvider,IStockTraderCollection) private FList: TInterfaceList; public //...
{*************************************************************** * * Project : UDPClient * Unit Name: ClientMainForm * Purpose : UDP Chargen and Echo demo - client project * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:42:02 * Author : <unknown> * History : * Tested : Wed 25 Apr 2001 // Allen O'Neill ...
unit Winapi.WinUser; {$MINENUMSIZE 4} interface uses Winapi.WinNt, Winapi.WinBase; const user32 = 'user32.dll'; // 371 SW_HIDE = 0; SW_SHOWNORMAL = 1; SW_SHOWMINIMIZED = 2; SW_SHOWMAXIMIZED = 3; SW_SHOWNOACTIVATE = 4; // 1353 DESKTOP_READOBJECTS = $0001; DESKTOP_CREATEWINDOW = $0002; DESKT...
unit aggform; { This project demonstrates the use of maintained aggregates on clientdatasets. The Customer and Orders tables from DBDEMOS are used to create a master-detail relationanship. The data is transfered through the provider. On the "client" side, two aggregate fields are set up on the orders clientdata...
unit ServData; { This is the remote datamodule for this demo. It contains the implementaion of the OLE automation object that the client application talks to. The client project contains the code which calls the SetParams method of the IProvider interface. } interface uses Windows, Messages, SysUtils, Cl...
unit uRange; interface uses Generics.Collections, uRangeElement; type TRange = class(TObject) private FRange_ID: Integer; FDescription: string; FRangeElementList: TDictionary<Integer, TRangeElement>; public constructor Create(aRange_ID: Integer; aDescription: string); functi...
//Description: Text converter //Author: George Birbilis (birbilis@kagi.com) //Version: 30Aug2006 unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, SynEdit, SynMemo; type TForm1 = class(TForm) Label2: TLabel; txtFrom: TEdi...
unit ANU_Base; (************************************************************************* DESCRIPTION : Anubis (tweaked) basic routines REQUIREMENTS : TP5-7, D1-D7/D9-D12/D17-D18/D25S, FPC, VP, WDOSX EXTERNAL DATA : --- MEMORY USAGE : 6.5 KB static data DISPLAY MODE : --- REFERENCES...
unit browserapp; {$mode objfpc} interface uses Classes, SysUtils, Types, JS, web, CustApp; type { TBrowserApplication } TBrowserApplication = class(TCustomApplication) protected function GetHTMLElement(aID : String) : TJSHTMLElement; function CreateHTMLElement(aTag : String; aID : String = '') : T...
unit IM.Procs; {$mode Delphi} interface uses Classes, SysUtils, JPL.IniFile, JPL.TStr, JPL.Console, JPL.Conversion, IM.Types; function ParamExists(ParamStrValue: string): Boolean; function IsFileMask(const FileName: string): Boolean; procedure DisplayIniValue(const IniFileName, Section, Key: string; Encoding: T...
unit uFastStringConverter; {$I ..\Include\IntXLib.inc} interface uses SysUtils, {$IFDEF DELPHI} Generics.Collections, {$ENDIF DELPHI} {$IFDEF FPC} gstack, {$ENDIF FPC} uEnums, uDigitHelper, uStringConverterBase, uIMultiplier, uIDivider, uMultiplyManager, uDivideManager, uIS...
unit Ths.Erp.Helper.CustomFileDialog; interface {$I ThsERP.inc} uses Winapi.Windows, Vcl.Forms, System.Classes, Dialogs; type TCustomFileDialogHelper = class helper for TCustomFileDialog public function ExecuteCenter : Boolean; end; implementation { TCustomFileDialogHelper } function TCustomFileDialo...
{*******************************************************} { } { Midas RemoteDataModule Pooler Demo } { } {*******************************************************} unit untEasyRDMPooler; ...
unit MarkDownHtmlU; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LazFileUtils, SynEdit, SynHighlighterHTML, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Clipbrd, MarkdownProcessor, MarkdownUtils, LCLIntf, ComCtrls, Buttons, StrUtils, HtmlView, HtmlGlobals, HTMLUn2; type { TMainForm } ...
{******************************************} { TeeChart. Draw Example } { Copyright (c) 1995-2001 by David Berneda } { All Rights Reserved } {******************************************} unit udraw; interface { THIS EXAMPLE SHOWS HOW TO DRAW ADDITIONAL CUSTOMIZED THINGS TO A CH...
unit QueryGroupUnit2; interface uses System.Classes, System.Contnrs, BaseEventsQuery, System.Generics.Collections, FireDAC.Comp.Client; type TQueryGroup2 = class(TComponent) private FEventList: TObjectList; FQList: TList<TQueryBaseEvents>; function GetActive: Boolean; function GetChangeCount:...
unit NsUtils; interface uses Windows, WinSock; const I_SIO_GET_INTERFACE_LIST = $4004747F; I_IFF_UP = $00000001; I_IFF_BROADCAST = $00000002; I_IFF_LOOPBACK = $00000004; I_IFF_POINTTOPOINT = $00000008; I_IFF_MULTICAST = $00000010; function WSAIOCtl(S: TSocket; Cmd: Dword; lpInBuffer: PChar; dwIn...
unit UnContasAPagar; {Verificado -.edit; -.post; } interface uses Db, DBTables, classes, sysUtils, painelGradiente, UnDadosProduto, UnDados, UnDadosCR, UnCaixa, UnClientes, SQLExpr,Tabela; // calculos type TCalculosContasAPagar = class private calcula : TSQLQuery; public co...
unit FormHlavneOkno; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus, ExtCtrls, StdCtrls, CheckLst; type TZastavka = record Nazov : string; Sur : TPoint; end; THlavneOkno = class(TForm) ScrollBox: TScrollBox; Image: TImage; CheckListBox: T...
unit DTMF; interface // translated from // http://www.answers.com/topic/goertzel-algorithm?cat=technology const Tones: Array[0..3, 0..3] of Char = ( ('1', '4', '7', '*'), ('2', '5', '8', '0'), ('3', '6', '9', '#'), ('A', 'B', 'C', 'D')); type PSmallIntArray = ^TSmallIntArray; TSmallIntArray = a...
// ************************************************************************************************** // Delphi Aio Library. // Unit Gevent // https://github.com/Purik/AIO // The contents of this file are subject to the Apache License 2.0 (the "License"); // you may not use this file except in compliance with th...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Rtti, Pessoa, uTabela, Attributes; type TfrmPrincipal = class(TForm) btnGetMethod: TButton; mmRtti: TMemo; btnG...
unit Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TForm1 = class(TForm) procedure FormPaint(Sender: TObject); procedure FormActivate(Sender: TObject); procedure FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); proc...
unit u_DM; {$mode objfpc}{$H+} interface uses Classes, SysUtils, sqlite3conn, sqldb, FileUtil; type { TDMFrm } TDMFrm = class(TDataModule) SQLite3Connection1: TSQLite3Connection; SQLQuery1: TSQLQuery; SQLTransaction1: TSQLTransaction; procedure DataModuleCreate(Sender: TObje...
{*********************************************} { TeeGrid Software Library } { Base abstract Grid class } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit Tee.Grid; {$I Tee.inc} int...
unit UI.ParserCommand; interface uses System.Classes, System.TypInfo, System.SysUtils, System.Generics.Collections, App.Types, UI.CommandLineParser, UI.Types; type TCommandsParser = class private FDelegate: TProc<strings>; Commands: TObjectDictionary<TCommandsNames, TCommandLinePattern>; ...
(* *************************************************************************** * * * 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 ...
unit Ths.Erp.Database.Table.SysApplicationSettingsOther; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TSysApplicationSettingsOther = class(TTable) privat...
PROGRAM ZahlenMitBasen; type NumbRange = 'A'..'Z'; FUNCTION ValueOf(digits: string; base: INTEGER): INTEGER; var helpChars: array of NumbRange; var i: integer; var endSum: integer; BEGIN (* ValueOf *) IF ((base < 2) OR (base > 36)) THEN BEGIN Exit(-1); END; (* IF *) IF (base > 10) THE...
unit caClasses; {$INCLUDE ca.inc} {.$DEFINE LOG_CREATE_DESTROY} {.$DEFINE LOG_REF_COUNT} interface uses // Standard Delphi units  Classes, Sysutils, // ca units  caLog; type {$IFDEF D5} IInterface = IUnknown; {$ENDIF} TcaColRow = packed record Col: Integer; Row: Integer; end; Eca...
unit ncSerializeADO; interface uses System.Classes, System.SysUtils, System.Variants, Data.DB, Data.Win.ADODB, System.Win.ComObj, Winapi.ADOInt, Winapi.ActiveX; // SysUtils: Need TBytes // Classes: Need TBytesStream // ADODB: Need TPersistFormat // ADOInt: Need function PersistFormatEnum // ActiveX: Need I...
unit uLexer; interface uses uText, IniFiles, SysUtils; const cLexemeTypeEnd = 0; type TLexeme = record LexemeType : Byte; Pos : TPosInText; Data : string; end; ILexer = interface function GetLexeme: TLexeme; end; ILexemeList = interface end; TKeyWordList = class(T...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 16384,0,0} { by Behdad Esfahbod Algorithmic Problems Book September '1999 Problem 36 O(N3) StronglyConnectedComponents Method } program TransitiveReduction; const MaxN = 100; var N, E : Integer; A, B, C : array [0 .. MaxN, 0 .. MaxN] of Integer; ...
unit fraDSSQLEdit; interface {$I ..\FIBPlus.inc} uses Windows, Messages, SysUtils, Classes, {$IFDEF D_XE2} Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.StdCtrls, {$ELSE} Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, {$ENDIF} fraSQLEdit, DB, ...
{$codepage utf8} { by Plasmoxy } program quadratic; uses crt, sysutils, math, ucomplex; { ---- OBJ ---- } // najprv si zhotovim nastroj na pocitanie type SolveQuadratic = class private a,b,c,d : double; complexRoots : array of Complex; retarded : boolean; procedure addRoot(_root : double...
{ Module of simple window manipulation routines. These routines all take * a window object as their first argument. } module gui_win; define gui_win_resize; define gui_win_root; define gui_win_child; define gui_win_clipto; define gui_win_clip; define gui_win_clip_push; define gui_win_clip_push_2d; define gui_win_c...
unit GetProcAddressR; interface type FARPROC = function:Integer; function GetProcAddressR_(hModule:THandle;const lpProcName:PAnsiChar ):FARPROC;stdcall; implementation uses Windows,SysUtils; function DEREF_32(name:Cardinal):DWORD; begin Result:=PDWORD(name)^; end; function DEREF_16(name:Cardinal):Word; begin R...
unit UpdateParamValueRec; interface uses System.Generics.Collections; type TUpdParamSubParam = class private FFamilyID: Integer; FParamSubParamID: Integer; public constructor Create(AFamilyID, AParamSubParamID: Integer); function IsSame(AUpdParam: TUpdParamSubParam): Boolean; property Fam...
unit ufrmAbout; interface {$I ThsERP.inc} uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.AppEvnts, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Samples.Spin // , dxGDIPlusClasses, ; type TfrmAbout ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TfrmInfo = class(TForm) Label1: TLabel; lblAmbient: TLabel; lblDiffuse: TLabel; Label3: TLabel; lblSpecular: TLabel; Label4: TLabel; Label2: TLabel; lblR...
unit MonthCalendarImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ComCtrls; type TMonthCalendarX = class(TActiveXControl, IMonthCalendarX) private { Private declarations } FDelphiControl: TMonthCalendar; FEvents:...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2020-2020 Skybuck Flying // Copyright (c) 2020-2020 The Delphicoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
unit Dbexcept; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, ExtCtrls, Db, DBTables; type TDbEngineErrorDlg = class(TForm) BasicPanel: TPanel; DetailsPanel: TPanel; BDELabel: TLabel; NativeLabel: TLabel; DbMessageText: TMemo; DbResult: TEdit; ...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
program examen2014; Const MAXFila = 10; type TipoCelda = record case vacia : boolean of true : (); false : (valor : integer); end; RangoIndice = 1 .. MAXFila; TipoFila = array [RangoIndice] of TipoCelda; procedure CorrerHaciaIzquierda(var fila : TipoFila; var cambios : boolean); var j : integer; ...
{: This example unit declares TMyItemList based on the _DZ_LIST_TEPLATE_ template storing TMyItem objects and implementing the IMyItemList interface } unit u_MyItemList; interface uses Classes, u_MyItem, u_dzQuickSort, i_MyItemList; {$DEFINE __DZ_OBJECT_LIST_TEMPLATE__} type {: This is the...
unit UI.Ani; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Generics.Collections, System.Rtti, System.SyncObjs, FMX.Ani, FMX.Utils, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Platform, IOUtils; type /// <summary> /// 动画类型 /// </summary> ...
unit CBRWaiterDeskPresenter; interface uses CustomPresenter, db, EntityServiceIntf, CoreClasses, CBRConst, UIClasses, UIStr; const ENT = 'CBR_WD_VIEW'; ENT_TBL = 'CBR_TBL'; COMMAND_ROOM_NEXT = '{AEDD37FF-27CE-422C-A271-7B0030EA9D6B}'; COMMAND_TABLE_INFO_SHOW = '{B8BF467A-774E-41E4-8CC1-DF575BEC6322}'; COM...
unit int_not_i16; interface implementation var I: Int16; procedure Test; begin I := 16000; I := not I; end; initialization Test(); finalization Assert(I = -16001); end.
unit FC.StockChart.UnitTask.ValueSupport.Statistics; {$I Compiler.inc} interface uses SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation uses FC.StockChart.UnitTask.ValueSupport.Statistics...
unit fODActive; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ORFn, uCore, StdCtrls, CheckLst, ComCtrls,ExtCtrls,rOrders,fOrders,uOrders, fFrame,ORCtrls,fAutoSz, VA508AccessibilityManager; type TfrmODActive = class(TfrmAutoSz) lblCaption: TLabel; pnlClient: ...
unit ArchAccsFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, Db, DBTables, DBGrids, ExtCtrls, DBCtrls, BtrDS, Menus, AccountsFrm, SearchFrm, StdCtrls, ComCtrls, Common, Basbn, Utilits, CommCons; type TArchAccsForm = class(TDataBaseForm) Data...
unit JWT.HS; interface uses System.Hash, System.SysUtils, JWT; type TJWTSigner_SHA2 = class abstract(TInterfacedObject, IJWTSigner) protected class function GetSHA2Version: THashSHA2.TSHA2Version; virtual; abstract; function Sign(Key, Input: TBytes): TBytes; function Validate(Key, Input, Signatur...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLCoordinates<p> Coordinate related classes.<p> <b>History : </b><font size=-1><ul> <li>20/11/12 - PW - Added CPP compatibility: replaced direct access to some properties by a get.. and a set.. methods <li>30/06/11 - DaStr - Ad...
unit SearchComponentGroup; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC...
unit uDemo; interface uses System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, // GLS GLScene, GLTeapot, GLCoordinates, GLObjects, GLGeomObjects, GLMaterial, GLSimpleNavigation, GLCadencer, GLWin32Viewer, GLCrossPlatform, GLBaseCl...
unit ufrmAnsiToUnicodeMain; (* * by: David E. Cornelius * of: Cornelius Concepts * on: Feburary, 2010 * in: Delphi 2009 * to: convert a whole folder of Windows ANSI files to Unicode *) interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCt...
unit set_1; interface implementation type TEnum = (v1 = 1, v2, v3, v4, v5); TSet = set of TEnum; var S1, S2: TSet; procedure Test; begin S1 := [v2, v3]; S2 := S1; end; initialization Test(); finalization Assert(S2 = S1); end.
unit DelphiSpec.DataTable; interface uses SysUtils, Classes, Generics.Collections; type IDataTable = interface function GetColumns(const Name: string): TStrings; function GetRowCount: Integer; function GetColCount: Integer; function GetName(I: Integer): string; property Columns[const Name: s...
{ Shengjin's Formulas Univariate cubic equation aX ^ 3 + bX ^ 2 + cX + d = 0, (a, b, c, d < R, and a!= 0). Multiple root discriminant: delta1 = b^2-3*a*c; delta2 = b*c-9*a*d; delta3 = c^2-3*b*d, The total discriminant is delta=delta2^2-4*delta1*delta3. When delta1 = delta2 = 0, Shengji...
{ GS1 interface library for FPC and Lazarus Copyright (C) 2020-2021 Lagunov Aleksey alexs75@yandex.ru This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License,...
program myTableTop; type Rectangle = object private length, width: integer; public procedure setlength(l: integer); function getlength(): integer; procedure setwidth(w: integer); function getwidth(): integer; procedure draw; end; TableTop = object (Rectangle)...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit FC.Trade.Alerter.Factory; {$I Compiler.inc} interface uses Windows,Classes,SysUtils, Baseutils, Serialization, Generics.Collections, Collections.List,Collections.Map, FC.Definitions,FC.Trade.Alerter.Base; type TStockAlerterInfo = class (TInterfacedObject,IStockAlerterInfo) private FName: string; ...
// ==================================================================== // // Unit uDSProcessMgmtWCUtils.pas // // This unit contains utilities for redading the class of the warrior // (player). This unit, like the uDSProcessMgmtNameUtils, is separated // just for a clear coding. // // Esta unit contém utilid...
{****************************************************************** JEDI-VCL Demo Copyright (C) 2004 Project JEDI Original author: Florent Ouchet [ouchet dott florent att laposte dott net] Contributor(s): You may retrieve the latest version of this file at the JEDI-JVCL home page, locat...
{ Double Commander ------------------------------------------------------------------------- Thread-safe asynchronous call queue. It allows queueing methods that should be called by GUI thread. Copyright (C) 2009-2011 Przemysław Nagay (cobines@gmail.com) This program is free software; you ca...
unit XRootWindow; {$mode objfpc}{$H+} interface uses Classes, X, XLib, XAtom, XFrames, ctypes, BaseWM, NetAtoms, XAtoms; type { TWMRootWindow } TWMRootWindow = class(TObject) private fIsRealRoot: Boolean; fOwner: TBaseWindowManager; fFrames: TXFrameList; fScreen: PScreen; fRootWindow...
unit Nathan.Resources.ResourceManager; interface uses System.Classes, System.Types; type /// <summary> /// https://msdn.microsoft.com/de-de/library/system.resources.resourcemanager(v=vs.110).aspx /// https://msdn.microsoft.com/en-us/library/system.resources(v=vs.110).aspx /// https://ms...
unit Variant_18_2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm22 = class(TForm) Edit1: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; Button1: TButton; Button2: TButton; procedure Button1Click(Sender...
unit Global; interface uses Windows, Classes; const //Имя файла настроек INI_NAME = 'EDITITEM.INI'; //Количество свойств по умолчанию DEFAULT_COUNT_PROP = 0; // Количество физических параметров в свойстве COUNT_FYS_PROP = 4; // Количество дополнительных параметров в свойстве COUNT_ADD_PROP = 2;...
unit VistaAltFixUnit; interface uses Windows, Classes; type TVistaAltFix = class(TComponent) private FInstalled: Boolean; function VistaWithTheme: Boolean; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; end; procedure Register; implementation uses ...
unit matrix; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Grids, Dialogs, Math; const sirka : integer = 300; vyska : integer = 200; type TSimplePole = array of real; TPole = array of array of real; { TMatrix } TMatrix = class Pole: Tpole; constructor Create(x, y: integer)...
unit XMLClipboard; interface function DataSetToXML(Data:TObject;Columns:String='';PutClipboard:Boolean=True):String; procedure XMLToDataSet(Data:TObject;AllowPlain:Boolean); implementation uses DB,DBGrids,Classes,JvSimpleXml,SysUtils,Clipbrd,DBClient,dbClipImport; type TRecordColumn = record Visible: Boolean;...
unit ccsqlbulkcopy; { BulkCopy - Delphi / Lazarus Library ------------------------------------ Author : Tigor M Manurung Email : tigor@tigorworks.com Library for copying table data from source to destination (same / different server) } interface uses sysutils,classes,ccbulkdbcore,ccbulkinsert; typ...
unit StringValidators; interface // String validators ----------------------------------------------------------- const csSpecial = ['-', ' ', '''', '.']; csDigit = ['0'..'9']; csLetterU = ['A'..'Z']; csLetterL = ['a'..'z']; csAccentedL = ['á', 'à', 'â', 'ä', 'é', 'è', 'ê', 'ë', 'í', 'ì', 'î', '...
unit classXTaxTable; interface uses XMLWorks2, Classes; type TXTaxLkpCollectionItem = class(TXMLCollectionItem) private FIncomeFrom: currency; FIncomeTo: currency; FTaxAmt: currency; FTaxPerc: integer; FIsOver65: boolean; FIsAnnual: boolean; procedure SetIncomeFrom(const V...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC Teradata metadata } { } { Copyright(c) 2004-2018 Embar...
unit SearchBodyVariationQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fir...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{ @abstract(Sets for GMLib.) @author(Xavier Martinez (cadetill) <cadetill@gmail.com>) @created(Septembre 30, 2015) @lastmod(Septembre 30, 2015) The GMSets unit contains all sets used by GMLib. } unit GMSets; interface type // @include(..\docs\GMSets.TGMLang.txt) TGMLang = (// unknown exception language...
unit procs; { Etienne van Delden, 0618959, 07-11-2006 } interface //**CONSTANT DEFINITION ********** const { Maxima } MaxnRijen = 25; // Het maximale aantal rijen in een matrix MaxnKolommen = 20; // Het maximale aantal Kolommen in een matrix MaxWaarde = 99; // De...
unit ExStrLib; interface uses SysUtils , Variants , Controls , StrUtils , Dialogs ,Classes , ExLibrary ; //============================================================================== // 암호화에 사용되는 기본 키값 //============================================================================== //const MYKEY_old = 7756; E...
{**********************************************************} { } { Borland Visibroker for Delphi } { } { Copyright (C) 1999-2001 Borland Software Corporation } { ...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book September '1999 Problem 23 O(N2) Dijkstra Alg. O(N3) BellmanFord Alg. O(N3) FloydWarshal Alg. } program ShortestPathInWeightedGraph; const MaxN = 178; var N, V : Integer; G : array [1 .. Ma...
{**********************************************} { TChartObject (or derived) Editor Dialog } { Copyright (c) 1999-2004 by David Berneda } {**********************************************} unit TeeCustomShapeEditor; {$I TeeDefs.inc} interface uses {$IFDEF CLR} Classes, Borland.VCL.Controls, Borl...
unit ANovoEstagio; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, StdCtrls, ExtCtrls, DBCtrls, Localizacao, Mask, Tabela, DBKeyViolation, Buttons, BotaoCadastro, Componentes1, PainelGradiente, DB, DBClient, CBancoDados; type TFNovoEstagio = cla...
{*************************************************************** * * Project : TCPStreamServer * Unit Name: ServerMain * Purpose : Indy TCP Stream Server Demo * Version : 1.0 * Date : October 6, 2000 * Author : Don Siders <sidersd@att.net> * History : * Tested : Wed 25 Apr 2001 // Allen O'Neill <allen...