text
stringlengths
14
6.51M
unit xmltv.Gracenote; interface uses System.Generics.Collections, System.JSON; type // TGracenoteMovieEpisodeProgramData = record // runTime: integer; // duration, specified in ISO-8601 format; PTxxHyyM = xx hours, yy minutes // releaseYear: integer; // year of theatrical movie release, forma...
unit AST.Delphi.Project; interface uses AST.Intf, AST.Classes, AST.Pascal.Intf, AST.Pascal.Project, AST.Parser.Utils; type IASTDelphiProject = interface(IASTPascalProject) ['{07D970E0-C4D9-4627-AD95-A561286C049E}'] function GetSysInitUnit: TASTModule; property SysInitU...
unit LIniFiles; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IniFiles, FileUtil, LTypes, strutils, Graphics, LSize; type TLIniFile=class(TIniFile) public {types and variables} type TLIniFileArray=array of TLIniFile; public {functions and procedures} //constructor Create(const ...
unit UnitOpenGLImagePNG; // from PasVulkan, so zlib-license and Copyright (C), Benjamin 'BeRo' Rosseaux (benjamin@rosseaux.de) {$ifdef fpc} {$mode delphi} {$ifdef cpui386} {$define cpu386} {$endif} {$ifdef cpu386} {$asmmode intel} {$endif} {$ifdef cpuamd64} {$asmmode intel} {$endif} {$ifdef fp...
unit BMex1; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses Windows, SysUtils, Classes, Graphics,forms, math, util1,Gdos,DibG, GL,GLU, Glut; { TbitmapEx est un DIB TbitmapEx maintient une liste de bitmaps (des TbitmapEx) qui permettent de sauver/restaurer des petit...
unit ExPStat1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, StdCtrls, Apax1_TLB; type TForm1 = class(TForm) btnDial: TButton; edtDial: TEdit; btnSend: TButton; OpenDialog1: TOpenDialog; btnHangup: TButton; cbxProtocol: TComboBox; ...
//------------------------------------------------------------------------------ //MobMovement UNIT //------------------------------------------------------------------------------ // What it does- // A layer on top of MovementEvent to active AI // //...
unit fmeNewPassword; { copyright (c) tdk my code dual licenced under FreeOTFE licence and LGPL code marked as 'sdean' is freeotfe licence only description new kephrase, get KeyPhrase from KeyPhrase property IsValid true iff match } interface uses //delphi Winapi.Windows, Winapi.Messag...
unit AssociationListConst; interface const SErrKeyDuplicatesInAssociationList = 'Нарушение уникальности ключа в наборе %s.'; SErrIndexOutOfRange = 'Попытка обратиться к несуществующему элементу списка или очереди.'; DWordListUpperLimit = 134217727; BitMasks32: array[0..31] of LongWord = ($00000001,$00000...
{ -$Id: WorkModeCentral.pas,v 1.8 2009/07/31 15:13:14 mzagurskaya Exp $} {******************************************************************************} { Автоматизированная система управления персоналом } { (c) Донецкий национальный университет, 2002-2004 } {**...
unit _balloonform; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, System.Types; type TFormOrientation = (foLeftBottom, foLeftTop, foRightBottom, foRightTop); TBallloonCloseEvent = procedure(Sender: TObject; IsChecked: Boolean; const Da...
unit UserSession; { This is a DataModule where you can add components or declare fields that are specific to ONE user. Instead of creating global variables, it is better to use this datamodule. You can then access the it using UserSession. } interface uses IWUserSessionBase, SysUtils, Classes, MainDM; type ...
program StraightSelection; {* Straight Selection Sort Straight Selection is in some sense the opposite of straight insertion: Straight insertion considers in each step only the one next item of the source sequence and all items of the destination array to find the insertion point; straight selection considers all ite...
unit uI2XPlugin; interface uses Windows, Classes, MapStream, uStrUtil, Graphics, SysUtils, OmniXML, uDWImage, uI2XConstants, uFileDir, uHashTable, uI2XMemMap; const UNIT_NAME = 'uI2XPlugin'; type TI2XPlugin = class(TObject) private FDebugLevel : TDebugLeve...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmKeyBindingsEditForm Purpose : Runtime editing form for looking at the assigned key bindings. Date : 05-03-2000 Author : Ryan J. Mills Version : 1.92 =================...
// // Generated by JavaToPas v1.5 20150830 - 104052 //////////////////////////////////////////////////////////////////////////////// unit android.hardware.camera2.CameraDevice_StateCallback; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.hardware.camera2.CameraDevice; type JCameraDevi...
unit Sp_Viplat_Zarplata; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxClasses, cxControls, ...
unit DSA.Graph.KruskalMST; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Interfaces.DataStructure, DSA.Interfaces.Comparer, DSA.Tree.PriorityQueue, DSA.Tree.UnionFind6, DSA.List_Stack_Queue.ArrayList, DSA.Graph.Edge; type generic TKruskalMST<T> = class private type TArr_bool...
unit PlayerInputThread; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ThreadQueue, Pipes; type { TPlayerInputThread } TPlayerInputThread = class(TThread) private FInputStream: TOutputPipeStream; FQueue: TThreadQueue; // // queue of eoln-terminated pstrings protected procedure Execute...
unit DPM.Core.Tests.Types; interface uses DPM.Core.Types, DUnitX.TestFramework; type {$M+} [TestFixture] TCoreTypesTests = class public // [SetupFixture] // procedure FixtureSetup; // // [TearDownFixture] // procedure FixtureTearDown; [Test] [TestCase('XE2', 'XE2'...
unit UnitINI; interface uses System.SyncObjs, System.Classes, System.SysUtils, System.Win.Registry, System.IniFiles, Winapi.Windows, Dmitry.CRC32, uLogger, uConstants, uMemory, uRuntime; type TMyRegistryINIFile = class(TIniFile) public Key: string; end; typ...
(* @abstract Implements a multi pattern enabled Format function @link(TMultiPattern.Format) that supports plurals, genders and selects. Most languages have a singular and plural forms. However this is not case with every language. Asian languages do not have plural form at all. They only have singular form. Mo...
unit WcExceptions; { Exception/warning logging routines for complicated cases where you have lots of parsing and lots of exceptions } //{$DEFINE JCLDEBUG} { Use JclDebug to add stack traces where appropriate. Requires detailed map file. } interface uses SysUtils, Generics.Defaults, Generics.Collections{$IFDE...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, wcrypt2; type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1...
// Copyright (c) 2009, ConTEXT Project Ltd // 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 must retain the above copyright notice, this list of condition...
{******************************************************************************} { CnPack For Delphi/C++Builder } { 中国人自己的开放源码第三方开发包 } { (C)Copyright 2001-2017 CnPack 开发组 } { ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Scene Editor, for adding + removing scene objects within the Delphi IDE. } unit FSceneEditor; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Act...
unit uDBScheme; interface uses Winapi.ActiveX, Generics.Collections, System.SysUtils, System.Classes, Data.DB, Dmitry.Utils.System, Dmitry.Utils.Files, uConstants, uMemory, uLogger, uTranslate, uThreadTask, uDBConnection, uDBClasses, uDBBaseTypes, uSplashThread,...
unit uIBXCommonDBErrors; interface resourcestring E_IBXCommonDB_DBIsNil = 'IBDatabase is nil!'; E_IBXCommonDB_AlreadyStarted = 'TIBXDBTransaction.Start: already started!'; E_IBXCommonDB_CommitNotInTran = 'TIBXDBTransaction.Commit: not in transaction!'; E_IBXCommonDB_RollbackNotInTran = 'TIBXDBTransact...
unit uI2XProductThread; interface uses SysUtils, Classes, uI2XDLL, uDWImage, GR32, uI2XThreadBase, uStrUtil, uHashTable, uI2XConstants, uImage2XML, uI2XTemplate, uI2XOCR, Typinfo, uI2XImageProcJobThread, uI2XOCRProcThread, uI2XProduct ; type TI2XProductThread...
unit UnitLoading; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, ExtCtrls, jpeg, StdCtrls, sButton, sSkinProvider, sSkinManager, ComCtrls, acProgressBar, sLabel, sGauge; type TfrmLoading = class(TForm) con: TADOConnection; img...
unit UnitBandeiras; interface uses windows, SysUtils; function GetCountryCode(Abreviacao: WideString): integer; function GetCountryName(Abreviacao: WideString = ''; Code: integer = -1): WideString; function GetActiveKeyboardLanguage: WideString; function GetCountryAbreviacao: WideString; implementation functio...
unit HomeLibrary_MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, ExtCtrls, Graphics, Controls, Forms, Dialogs, Menus, AIMP_BaseSysUtils, MySkinCtrls, MySkinEngine, MySkinListView, MySkinEditors, MySkinMenus, MySqlite, HomeLibrary_Query, MyDialogs, ImgList, ActnList, MySkinTheme, MySki...
unit Edict; { Basic in-memory EDICT representation. Quite slow in loading and heavy in keeping around, but fast and works well if you just need a simple task done. For daily use, consider converting EDICT to some sort of database format. No deflexion support. } //{$DEFINE NO_KANA_KANJI_LINK} { Speeds up load...
program gspw; {$mode objfpc}{$H+} uses cthreads, Interfaces, Classes, SysUtils, CustApp, Graphics; type { TGetStringWidth } TGetStringWidth = class(TCustomApplication) protected procedure DoRun; override; public constructor Create(TheOwner: TComponent); override; destructor Destroy;...
program fpcprog; {$mode objfpc}{$H+} uses SysUtils, DynLibs; var h: TLibHandle; type TProc = procedure(); cdecl; var PrintBye: TProc; const GO_LIB = 'goDLL.dll'; PROC1 = 'PrintBye'; function LoadLib: boolean; var p: pointer; begin h := LoadLibrary(GO_LIB); writeln('handle: ', h);...
unit BsEditPlace; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, DB, cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox, cxLabel, cxControls, cxContainer, cxEdit, cxTextEdit, ActnList, FIBDataSet, pFIBDataSet,...
unit NewFrontiers.GUI.AutoBind; interface uses Classes, System.Rtti, NewFrontiers.GUI.Binding; type /// <summary> /// Diese Klasse kann verwendet werden um die Binding-Group automatisch /// einrichten zu lassen. Es wird nach Controls gesucht, deren Name einer /// Eigenschaft (Property) des C...
unit Supermarkt; interface uses System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Sortiment, Kunden, Kassensystem, Hilfsfunktionen; type TSupermarkt = class private FSortiment : TSortiment; FKassenSystem : TKassenSystem; FKundenVerwalter: TKundenVerwalter; ...
program HelloWorld; var length : real; weigth : real; height : real; Volume : real; begin writeln('Let build a pyramid'); writeln('Please insert the length and weight'); readln(length, weigth); writeln('Now insert the height '); readln(height); Volume:=(length * height * weigth)/3; wr...
unit Funcionario; interface uses Cargo; type TFuncionario = class private FCodigo: string; FNome: string; FCargo: TCargo; public property Codigo: string read FCodigo write FCodigo; property Nome: string read FNome write FNome; property Cargo: TCargo read FCargo write FCargo; constr...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit MVVM.Interfaces; interface uses System.RTTI, System.Classes, System.SysUtils, System.SyncObjs, System.Generics.Collections, System.UITypes, Data.DB, Spring, Spring.Collections, MVVM.Types; type // Platform Services Interfaces {$REGION 'PLATFORM'} {$REGION 'IPlatformServices'} IPlatform...
unit URegularFunctions; interface uses UConst; function normalize(x: array of real): array of real; function convert_mass_to_volume_fractions(mass_fractions: array of real; density: array of real := UConst.DeNSITIES): array of real; function convert_mass_to_mole_fractions(mass_fractions: array of real; ...
unit DSA.Interfaces.Comparer; interface uses System.Generics.Defaults; type IComparer<T> = interface ['{E7B0E421-33B7-4BF7-8490-7DBFA040BE94}'] function Compare(const Left, Right: T): integer; end; TComparer<T> = class(TInterfacedObject, IComparer<T>) private __c: System.Generics.Defaults.ICo...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: DrawCalendar function Version: 3.05 Description: Functions to draw a calendar on a canvas Legal...
unit ideSHWindowListFrm; interface uses SHDesignIntf, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ideSHBaseDialogFrm, StdCtrls, ExtCtrls, VirtualTrees, AppEvnts, ImgList, ToolWin, ComCtrls; type TWindowListForm = class(TBaseDialogForm) Panel1: TPanel;...
unit tpGrid; interface uses SysUtils, Classes, Controls, Graphics, Forms, DB, ADODB, VirtualTrees, LrGraphics, LrTextPainter, htDatabases, htDocument, htComponent, htControls, htGeneric; type TtpGrid = class(ThtCustomControl) private FDataSet: TAdoDataSet; FGrid: TVirtualStringTree; FDat...
(* Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES Original name: 0014.PAS Description: HEXINFO.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:53 *) { > I am learning Pascal and don't understand something. How does the > following Function make a Word into Hex: It's Really doing two things, it's con...
(* Category: SWAG Title: SORTING ROUTINES Original name: 0004.PAS Description: BUBBLE1.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:57 *) { > Does anyone know of a routine or code that would allow For a > alphabetical sort? Depends on what Type of sorting you want to do- For a very small list, a simple ...
unit Ils.PlanFact.Status; interface uses Ils.MySql.EnumPublisher; type TWaypointStatus = ( wsNotVisited, //не посещена wsVisitInProgress, //обслуживается wsVisited, //посещена wsVisitedOutrunning, //посещена с допустимым опережением wsVisitedDelay, ...
unit MeshOptimizationTool; interface uses Geometry, BasicMathsTypes, BasicDataTypes, BasicRenderingTypes, NeighborDetector, StopWatch, IntegerList, GLConstants, Dialogs, SysUtils, BasicFunctions, VertexTransformationUtils, IntegerSet, TriangleNeighbourSet, math3d; {$INCLUDE source/Global_Conditionals.inc} ...
unit WriteSettings; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit, FMX.StdCtrls, Simplex.Types, FMX.Controls.Presentation; type TfrmWriteSettings = class(TForm) GroupBox1: TGroupBox; ...
unit UFlow; interface uses URegularFunctions, UConst; type Flow = class mass_flow_rate: real; mole_flow_rate: real; volume_flow_rate: real; mass_fractions: array of real; mole_fractions: array of real; volume_fractions: array of real; temperature, density, molar_mass, heat_ca...
unit ExportIn1C; { --------------------------- Created by Urise 06.10.2004 --------------------------- Все данные о том, что нужно экспортировать находятся в хранимых запросах в EXE_SQL. Каждый хранимый хапрос может иметь заголовок, то есть ряд строк начиная с первой, которые начинаются с -- Запросы, кото...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: Alcinoe winsock function Version: 3.05 Description: Misc function that use winsock (for exempple...
unit f_form_base; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.jpeg, Vcl.ExtCtrls; type Tfrm_form_base = class(TForm) procedure FormClose(Sender: TObject; var Action: TCloseAction); proc...
unit IWBSImage; interface uses Data.Db, Vcl.Graphics, IWRenderContext, IWHTMLTag, IWDBExtCtrls; type TIWBSImage = class(TIWDBImage) protected procedure CheckData; override; public function RenderCSSClass(AComponentContext: TIWCompContext): string; override; function RenderHTML(AContext: TIWCo...
unit uFrmMasterCad; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireD...
{*******************************************************} { } { Copyright(c) 2003-2018 Oamaru Group , Inc. } { } { Copyright and license exceptions noted in source } { ...
program insertion_sort; const N = 10; // Max number of array elements type array1d = Array[1..N] of Integer; { Start pf procedure switchElements } procedure switchElements(var el1, el2 : Integer); var temp : Integer; begin temp := el1; el1 := el2; el2 := temp; end; { End of procedure swi...
unit PhpEditView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls, ExtCtrls, dcstring, dcsystem, dcparser, dccommon, dcmemo, dxDockControl, dxDockPanel, dfsSplitter, EasyClasses, EasyParser, EasyEditor, EasyEditSource, {EasyEditorActio...
unit VisitFoldersUtil; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StrUtils, FileUtil, PreFile, PreFileList; type TVisitFoldersUtil = class private listPreFile: TPreFileList; separatorFile: char; function mountBigSize(nTam: Int64): String; function mountSize(nTam: Ex...
namespace proholz.xsdparser; interface type NamedConcreteElement = public class(ConcreteElement) private var name: String; assembly constructor(element: XsdNamedElements; aname: String); public method getName: String; virtual; method getElement: XsdAbstractElement; override; end; implementation const...
unit uIntXSettings; {$I ..\Include\IntXLib.inc} interface uses uEnums, uIntXGlobalSettings; type /// <summary> /// <see cref="TIntX" /> instance settings. /// </summary> TIntXSettings = class sealed(TObject) private /// <summary> /// <see cref="TToStringMode" /> Instance. ...
unit BVE.SVGEditorVCL; // ------------------------------------------------------------------------------ // // SVG Control Package 2.0 // Copyright (c) 2015 Bruno Verhue // // ------------------------------------------------------------------------------ // The ...
unit UFile; interface uses UTipe,UTanggal,UUI,sysutils; var LoadSukses:boolean; LoadInventoriSukses:boolean; function parse(NamaFile:string):Tabel; {Menerima input nama file lalu output tabel sementara(data bentukan Tabel) berisi data dari file} function getBahanMentah(Input:Tabel):DaftarBahanMen...
unit docs.region; interface uses Horse, Horse.GBSwagger; procedure registry(); implementation uses schemas.classes; procedure registry(); begin Swagger .Path('regiao/{id_regiao}') .Tag('Regiões de atendimento') .GET('listar uma região', 'listar região especifica') .AddPar...
PROGRAM BioRain; uses CRT; var Surface: array[1..20, 1..20] of integer; Redness: array[1..20, 1..20] of char; BacCount, EmptyCount, bac, Energy, T: integer; F, C, J, I {aux} :Byte; BEGIN CLRSCR; TextColor(LightRed); WRITELN('EN/ WELCOME TO THE BIOLOGICAL RAIN SIMULATOR.'); WRITELN('EN/ This program simulates a biologic...
unit Demo.TreeMapChart.Sample; interface uses System.Classes, System.Variants, Demo.BaseFrame, cfs.GCharts; type TDemo_TreeMapChart_Sample = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_TreeMapChart_Sample.GenerateChart; var Chart: IcfsGChartProd...
unit ibSHDDLParser; interface uses SysUtils, Classes, Types, SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, ibSHComponent; type TibBTDDLParser = class(TibBTComponent, IibSHDDLParser) private FDRVSQLParser: TComponent; FDRVSQLParserIntf: IibSHDRVSQLParser; public constructor Crea...
unit abWinsock; interface uses Windows, Winsock; type TClientSocket = class(TObject) private FAddress: PChar; FData: Pointer; FTag: Integer; FConnected: Boolean; protected FSocket: TSocket; public property Connected: Boolean read FConnected; property Data: Pointer...
unit uMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, IniFiles, Registry, ComCtrls, Buttons, Email, uDataBaseOperation, uSQLFileReader, Grids, uOperationSystem; type TFrmMain = class(TForm) pnlTop: TPanel; Label1: TLabel; Label2: ...
unit uForm1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.Edit, FMX.EditBox, FMX.SpinBox, FMX.Controls.Presentation, ...
unit f1df_AddReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxLabel, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit, FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase, pFIBData...
namespace proholz.xsdparser; interface type UnsolvedReference = public class(ReferenceBase) private var ref: String; var isTypeRef: Boolean; assembly constructor(element: XsdNamedElements); public constructor(refType: String; element: XsdNamedElements); method getRef: String; virtual; method isTyp...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NFCE_MOVIMENTO] The MIT License ...
unit Objekt.Prg2CopyData; interface uses SysUtils, Classes, Vcl.Controls, Winapi.Messages; type TNewMessage = procedure(Sender: TObject; aNewMessage: string) of object; type TPrg2CopyData = class(TComponent) private fOnNewMessage: TNewMessage; procedure WMCopyData(var Msg: TWMCopyData); message WM_...
unit TpDbListSource; interface uses Windows, SysUtils, Classes, Controls, Graphics, Types, ThWebControl, ThTag, ThDbListSource, TpControls, TpDb; type TTpDbListSource = class(TThDbListSource) private FDataSource: TTpDataSource; protected procedure SetDataSource(const Value: TTpDataSource);...
unit UpPremiaFOrderEditPeriod; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, Buttons, uFControl, uLabeledFControl, uSpravControl, uCommonSP, UpPremiaFOrderForm, c...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
//------------------------------------------------------------------------------ //InventoryList UNIT //------------------------------------------------------------------------------ // What it does - // A list of Inventory Items // // Changes - /...
{..............................................................................} { Summary A demo of how to assign nets to PCB objects. } { } { 1/ Look for a Net object that has the GND name. ...
unit SpPeople_ZMessages; interface uses Classes, SysUtils, Dialogs, Graphics, Forms, StdCtrls; const MakeOld_Message = 'Ви дійсно бажаєте відмітити цей запис як застарілий?' + #13 + 'У такому разі він не буде відображатись в довіднику.'; const MakeUsual_Message = 'Ви дійсно бажаєте відмітити цей запис як нез...
unit uPensionAdd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Mask, CheckEditUnit, StdCtrls, ComCtrls, SpComboBox, SpCommon, FieldControl, ExtCtrls, Buttons, EditControl, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalenda...
unit UExpression; interface function infixToPostfix(expression: String):String; function calculateInfix(expression: String; operands: String; var errors: Integer):Extended; function check(expression: String; operands: String):Integer; overload; function check(expression: String):Integer; overload; implementation ...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. Licensed under the Apache License, Version 2.0 (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.apa...
unit UserBusiness; interface uses UserModel; function GetUser(id : String) : TUser; implementation uses GlobalObjects, DatabaseConnection, SysUtils, SimpleDS, DB; function IsoStrToDate(isoDateStr : String) : TDateTime; var format : TFormatSettings; begin format.ShortDateFormat := 'yyyy-mm-dd'; format.DateSe...
unit exNetbios; interface uses Windows, Winsock, untFunctions, untOutputs, untCrypt; type TUserAccountType = ( fltrDuplicate, // Enumerates local user account data on a domain controller. fltrNormal, // Enumerates global user account data on a computer. fltrPro...
unit ufrmDialogUserGroup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, System.StrUtils, StdCtrls, ComCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, cxButtons, cxContai...
unit ReeDepVo_UDMPrint; interface uses SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase, frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants, Unit_SprSubs_Consts, ZProc, ZSvodTypesUnit, Controls, FIBQuery, pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, ZSvodPro...
unit frmLearningGroupEdit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, dbfunc, uKernel; type TfLearningGroupEdit = class(TForm) Panel1: TPanel; Label5: TLabel; Lab...
unit mComportList; interface uses Classes, SysUtils, Windows, System.Generics.Collections; type EComportList = class(Exception); TComPortList = class(TStringList) private public procedure Search; end; implementation uses System.Win.Registry ; { TComPortList } procedure TComPortList.Search; co...
unit UtilityPasZlib; // by Andrea Russo - Italy - 2005 // email: andrusso@libero.it interface //Unit zlib is icluded into the latest version of Delphi (from Delphi 6), but in old versions is //included into the Delphi cd. // Otherwise if do you want to use paszlib library change the uses. //If do you wan...
// Copyright (c) 2009, ConTEXT Project Ltd // 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 must retain the above copyright notice, this list of condition...
unit dragdrop; interface uses files, OLE2, classes; Type TGiveFiles=class data:IDataObject; copied:boolean; FContainer:TContainerFile; Constructor Create(Container:TContainerFile); Destructor Destroy;virtual; Procedure SelectFiles(files:TStringList); Procedure CopyIt; {Copies to clipboard} Procedure ...
unit AnotherProcessor; interface type TAnotherProcessor = class end; implementation uses SomeRegistry; initialization GetSomeRegistry.RegisterClass(TAnotherProcessor); finalization GetSomeRegistry.DeregisterClass(TAnotherProcessor); end.
unit URepositorioTipoMovimentacao; interface uses UEntidade ,UTipoMovimentacao ,URepositorioDB ,SqlExpr ; type TRepositorioTipoMovimentacao = class (TrepositorioDB<TTIPOMOVIMENTACAO>) public Constructor Create; procedure AtribuiDBParaEntidade (const coTipoMovimentacao: TTIPOMOVIMENTACAO); overrid...
var a, b, answer: integer; function gcd(m, n: integer): integer; var modulo: integer; begin modulo := m mod n; if modulo = 0 then gcd := n else gcd := gcd (n, modulo) end; begin a:=114; b:=66; writeln('Number 1: ', a); writeln('Number 2: ',...
unit Registration; interface procedure Register; implementation uses Classes, StdCtrls, ComCtrls, ExtCtrls, ClassInfo, htPanel, htFlowPanel, htColumnsPanel, htLabel, htImage, htGeneric, htButton, htInput, htSelect, htAjaxPanel, htTurboBox, htTurboSplitter; procedure Register; begin //Regis...