text
stringlengths
14
6.51M
unit XLSReadWriteII2; {- ******************************************************************************** ******* XLSReadWriteII V3.00 ******* ******* ******* ******* Copyright(C) 1999,2006 Lars Arvidsson, Axol...
unit U_StoredProceduresInterface; interface uses Data.Win.ADODB, Data.DB, classes, U_User, graphics, SysUtils ; type TMessageList = TList; TMessageInfo = class private FID: Integer; FLine: String; FSender: Integer; FReciver: Integer; Fdate: TDate; Fstate: Bool...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.IniFiles, System.Math, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.Jpeg, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, OpenGL1x, ...
PROGRAM Chess; (* char 9 to int 9 => ord(char) - 49 == int *) (* ist aber eingebaut *) FUNCTION Length(s:STRING): BYTE; BEGIN Length := Ord(s[0]); END; TYPE ChessFigureColor = (Black, White); (* = 2bytes *) ChessFigure = (None, Pawn, Bishop, Knight, Rook, Queen, King); ChessBoardField = RECORD figure: Che...
unit CatBase64; { Catarinka - Base64 encode/decode functions Copyright (c) 2003-2017 Felipe Daragon License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details Base64 encode and decode functions by Lukas Gebauer (BSD license, included below) } interface {$I Catarinka.inc} uses {$IFD...
(* ----------------------------------------------------------- Name: $File: //depot/Reporting/Mainline/sdk/VCL/Delphi/UCrpeClasses.pas $ Version: $Revision: #16 $ Last Modified Date: $Date: 2004/01/27 $ Copyright (c) 1995-2003 Crystal Decisions, Inc. 895 Emerson St., Palo Alto, California...
unit CCMFMakerFrm; interface uses Winapi.Windows, Winapi.Messages, Winapi.ShellApi, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Buttons, GR32, GR32_Layers, GR32_Image, GLFileTG...
unit uSecondCopy; interface uses Winapi.Windows, System.SysUtils, UnitSendMessageWithTimeoutThread, uConstants, uRuntime, uSplashThread, uShellIntegration, uTranslate; procedure FindRunningVersion; procedure AllowRunSecondCopy; implementation var HSemaphore: THandle = 0; ...
unit ThreadRefreshQuery; interface uses Classes, Windows, Messages, SysUtils, Variants, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, DB, Ora, ExFunc; type TThreadRefreshQuery = class(TThread) FqOld, FqNew: TOraQuery; FMethod: TThreadMethod; FActiveThread, FCreateQNew, FCreateLog: boolean...
unit uColorTheme; interface uses Graphics, uUtils, Classes, SysUtils; { For serialization } type ColorThemeRecord = record interact, active, text, textfield, warn, title, background, coordBG, coordGrid, coordPoint, coordOutline, coordLine, coordText, coordAxis, scrollbarBG: TColor; name:...
program HelloWorld; //{IFNDEF UNIX} {r GameLauncher.res} {ENDIF} uses sgTypes, SwinGame; procedure TestRectLineCollision(); var lns: array [0..3] of LineSegment; r: Rectangle; i: Integer; begin r := RectangleFrom(50, 50, 50, 50); DrawRectangle(ColorWhite, r); lns[0] := LineFrom(PointAt(55, 55), MousePos...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [FIN_CONFIGURACAO_BOLETO] The MIT Lic...
unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, jpeg, Buttons; type TfrmMain = class(TForm) Label1: TLabel; Label2: TLabel; imgSystemInfo: TImage; Label3: TLabel; Label4: TLabel; Panel1: TPanel; btnCo...
(***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * 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 distrib...
unit ibSHStatisticsFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, DB, VirtualTrees, ImgList, ExtCtrls, Math, Clipbrd, SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, ibSHComponentFrm, ibSHMessages, ibSHConsts, ibSHValues, SynEdit, pSHSynEdit, ComCtrls...
(* Category: SWAG Title: SCREEN HANDLING ROUTINES Original name: 0092.PAS Description: Nice little Percentage Meter Author: CJ CLIFFE Date: 09-04-95 10:58 *) { I've seen a LOT of programs which Say they are doing something like Reading/Writing to files, and you wonder if they have crashed or what, ...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, MercuryShield_TLB, Transaction_TLB, MSEnum_TLB, System_Windows_Forms_TLB; type TForm1 = class(TForm) btnProcess: TButton; ...
unit DSA.Tree.BSTMap; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Rtti, DSA.Interfaces.Comparer, DSA.Interfaces.DataStructure, DSA.Utils, DSA.List_Stack_Queue.ArrayList; type { TBSTMap } generic TBSTMap<K, V, TKeyComparer> = class(TInterfacedObject, specialize IMap<K, V>) privat...
// RemObjects CS to Pascal 0.1 namespace UT3Bots.UTItems; interface uses System, System.Collections.Generic, System.Linq, System.Text, UT3Bots.Communications; type UTBotSelfState = public class(UTBotState) private //Self state variables var _currentAmmo: Integer; var _inventory...
unit uDMPDV; interface uses SysUtils, Classes, DB, ADODB,ComCtrls, ExtCtrls, uFormasPagamento, DBClient, Provider, Variants, uPreSale, siComp, siLangRT, IniFiles, Forms, uFilePersistence, uTransferFile, uMsgBox; const ATiposPagto: array[1..9] of String = ('Dinheiro', 'Cartão Crédito', 'Outros', 'Cheque', 'Cr...
(* Axes, Armour & Ale - Roguelike for Linux and Windows. @author (Chris Hawkins) *) unit main; {$mode objfpc}{$H+} {$IfOpt D+} {$Define DEBUG} {$EndIf} interface uses Classes, Forms, ComCtrls, Graphics, SysUtils, map, player, globalutils, Controls, LCLType, ui, items, player_inventory; type { TGameWindow...
(* Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES Original name: 0020.PAS Description: ROMAN2.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:53 *) { >Anyone know of how to make a Program that will convert any >Integer entered into roman numeral Format? } Program Roman_Numeral_Test; Type st_4 = Str...
//*******************************************************// // // // DelphiFlash.com // // Copyright (c) 2004-2008 FeatherySoft, Inc. // // info@delphiflash.com // // ...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit uICCProfile; interface uses System.Classes, System.SyncObjs, System.SysUtils, Generics.Collections, Winapi.Windows, Vcl.Graphics, Vcl.Imaging.PngImage, uMemory, lcms2dll; const IS_INPUT = $1; IS_DISPLAY = $2; IS_COLORSPACE = $4; IS_OUTPUT = $8; IS_ABSTRACT = $...
unit Shape; interface uses Vcl.Graphics, System.Math.Vectors, Ray, Material, Nullable, Intersection, System.Math, Generics.Collections, SysUtils; type TBounds = record PMin, PMax: TVector; constructor Create(const PMin, PMax: TVector); end; type EShape = (Sphr, Plne, Tria, Aabb, ObjB); TShape = r...
unit MVVM.Messages.Engine.Scheduler; interface uses System.Classes, System.SyncObjs, System.Generics.Defaults, Spring.Collections, MVVM.Patched.ThreadedQueue, MVVM.Messages.Engine.Interfaces; type TMessagesScheduler = class sealed(TThread) const CTE_INITIAL_QUEUE_SIZE = 10; CTE_PUSH_TIMEOU...
// Inertial navigation system error estimator demo {$APPTYPE CONSOLE} program INSErr; uses Kalman; const g = 9.81; Re = 6378e3; dt = 0.1; A = 100.0; beta = 1e-4; deg = pi / 180; hr = 3600; tstop = 2 * hr; type TModel = record dV, Phi, omega, z...
unit uFrmEstimatedItemNew; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, Mask, SuperComboADO, uFrmBarcodeSearch, uSystemTypes, DB, ADODB, PowerADOQuery, uFrmEstimated, LblEffct, SuperEdit, Supe...
unit CustomSelectTool; interface uses System.Math, System.SysUtils, System.Classes, Winapi.Windows, Vcl.Controls, Vcl.Graphics, Vcl.StdCtrls, Vcl.ComCtrls, Dmitry.Controls.WebLink, ToolsUnit, ImageHistoryUnit, uMemory; type TCustomSelectToolClass = class(TToolsP...
unit ufrmDialogModule; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, StdCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, Sys...
{*****************************************************************************************} { } { XML Data Binding } { ...
// // Generated by JavaToPas v1.5 20160510 - 150028 //////////////////////////////////////////////////////////////////////////////// unit java.lang.Throwable; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JThrowable = interface; JThrowableClass = interface(JObjectClass) ['{44B721EE...
{ Clever Internet Suite Version 6.2 Copyright (C) 1999 - 2006 Clever Components www.CleverComponents.com } unit clStreams; interface uses Classes, SysUtils; type EclStreamError = class(Exception); TclMultiStream = class(TStream) private FPosition: Integer; FList: TList; function GetStream...
unit UDWindowParent; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Buttons, StdCtrls, ExtCtrls, Dialogs, UCrpe32; type TCrpeWindowParentDlg = class(TForm) pnlBtnBar: TPanel; cbZoom: TComboBox; sbClose: TSpeedButton; pnlStatus: TPanel; pnlReportName: TPanel;...
unit uAddModifAdr2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFormControl, uCharControl, uSpravControl, uFControl, uLabeledFControl, uDateControl, StdCtrls, Buttons, uInvisControl, cxRadioGroup, uAdr_DataModule, uLogicCheck, uSimpleCheck, uAddModifForm...
unit Modules.Data; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.SQLite, FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs, FireDAC...
unit uDateTimeFunctions; interface uses Sysutils, uMsgBox; Type TEnglishShortMonth = array[1..12] of String; TEnglishLongMonth = array[1..12] of String; TEnglishShortDay = array[1..7] of String; TEnglishLongDay = array[1..7] of String; TPortuguesShortMonth = array[1..12] of String; ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, Buttons; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; ProgressBar1: TProgressBar; Edit1: TEdit; Edit2: TEdit; SpeedButton1: TSpeedBut...
unit TesseractOCR; {(C) Copyright 2007, J. Oosting 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
unit KonstantenUnit1; interface const cStrFirma = 'Baumann'; cStrTitel = 'Titel'; cStrEinstellungen = 'Einstellungen'; cStrFehlermeldung = 'Meldung'; cIIdle = 0; cILeseKurz = 1; cILeseLange = 2; cILeseExtrem = 4; // je ein eindeutiges BIT be...
unit Grijjy.Accounts.iOS.API; interface uses Macapi.ObjectiveC, iOSapi.CocoaTypes, iOSapi.Foundation; const libAccounts = '/System/Library/Frameworks/Accounts.framework/Accounts'; const ACAccountCredentialRenewResultRenewed = 0; ACAccountCredentialRenewResultRejected = 1; ACAccountCredentialRenewResul...
// // Created by the DataSnap proxy generator. // 02/02/2014 13:09:35 // unit uCC; interface uses Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReade...
unit uDM; interface uses SysUtils, Classes, DB, DBClient, Forms, IdBaseComponent, IdComponent, IdTCPServer, uInvoicePollDisplayConst, IniFiles, IdSocketHandle, Dialogs, uInvoicePollDisplay, uDMThread; const ADV_BITMAP = 0; ADV_JPG = 1; ADV_VIDEO = 2; ADV_FLASH = 3; ADV_WEB = 4; ADV_BITMAP_EX...
// // Generated by JavaToPas v1.5 20180804 - 082459 //////////////////////////////////////////////////////////////////////////////// unit android.provider.FontsContract_FontRequestCallback; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.graphics.Typeface; type JFontsContract_FontReque...
program LightFileStreamExample; {$mode Delphi}{$H+}{$J-}{$I-}{$R-} uses SysUtils, LightFileStream; type TDataRec = record S: Single; B: Boolean; C: AnsiChar; end; const DAA: array[0..5] of Double = (1.11, 2.22, 3.33, 4.44, 5.55, 6.66); DRA: TDataRec = (S: 1.0; B: True; C: 'A'); var D: Double;...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin; //Clas TVehicle type TVehicle = class private FColor :String; FName : String; FSpeed :Integer; ...
unit InflatablesList_ItemShopParsingSettings_Base; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses AuxTypes, InflatablesList_Types, InflatablesList_HTML_ElementFinder; type TILItemShopParsingSettings_Base = class(TObject) protected // internals fStaticSettings: TILStaticManagerSettings; ...
unit RestClientTest; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, IdBaseComponent, IdComponent, ComCtrls, XMLIntf, XMLDoc, RestObject, util1; type TRestForm = class(TForm) AddressMemo: TMemo; Panel1: TPanel; Get: TButto...
{..............................................................................} { Summary Iterates Rules from the current PCB document. } { } { Copyright (c) 2008 by Altium Limited ...
unit GLDPlaneObjectsFrame; interface uses SysUtils, Classes, Controls, Forms, Buttons, StdCtrls, GLDTypes, GLDSystem; type TGLDParamsFrameType = (GLD_PARAMS_FRAME_NONE, GLD_PARAMS_FRAME_PLANE, GLD_PARAMS_FRAME_DISK, GLD_PARAMS_FRAME_RING); TGLDPlaneObjectsFrame = class(TFrame) ...
unit FAbortPrint; (*==================================================================== This is a non-modal window showed during print so that the user can click on the ABort button. ======================================================================*) interface uses SysUtils, {$ifdef mswindows} ...
//--------------------------------------------------------------------------- // Copyright 2012 The Open Source Electronic Health Record Agent // // 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...
unit Main; // Demonstration project for TojVirtualStringTree to generally show how to get started. // Written by Mike Lischke. interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ojVirtualTrees, StdCtrls, ExtCtrls; type TMainForm = class(TForm) VST: TojVirtualStringTre...
unit uPopupActionBarEx; interface uses Winapi.Windows, System.Types, System.UITypes, System.SysUtils, System.Classes, System.Actions, Vcl.Graphics, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnMan, Vcl.ActnMenus, Vcl.ActnCtrls, Vcl.Controls, Vcl.Menus, Vcl.ActnList, Vcl....
unit UConversao; interface type TConversao = class strict private FResultado: String; strict protected procedure setResultado(Text: String); Virtual; function getResultado: String; Virtual; public procedure Converter(Texto: String); Virtual; Abstract; property Resultado: Strin...
unit ibSHServer; interface uses SysUtils, Classes, Controls, Forms, Dialogs, Graphics, SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, ibSHComponent; type TibSHServer = class(TibBTComponent, IibSHServer, ISHServer, ISHRegistration, ISHTestConnection, ISHDataRootDirectory) private FDRVService:...
unit u_imports; {$mode objfpc}{$H+} interface uses Classes, SysUtils, u_writers, u_common; type TImportLibrary = class(TObject) public LibraryPath: string; Imports, Methods: TStringList; constructor Create(lpath: string); destructor Destroy; override; end; TImportSection = class(TObject) ...
{*******************************************************} { 单元名: UntSocketServer.pas } { 创建日期:2006-2-28 20:36:19 } { 创建者 } { 功能: Tcp服务抽象基类 } { ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright (c) 1995 Borland International } { Portions copyrigh...
unit DPM.IDE.MessageForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.Diagnostics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ActnList, Vcl.ExtCtrls, VSoft.Awaitable, DPM.IDE.Options, DPM.Controls.LogMemo, ...
unit uCounters; interface uses Generics.Collections, System.DateUtils, System.SysUtils, System.Math, Winapi.Windows, uMemory; type TSpeedSctimatePeriod = class(TObject) private FTimeInterval: Cardinal; FBytesDone: Int64; public constructor Create(Interval: Cardinal; By...
unit uDBDrawing; interface uses System.Classes, System.SyncObjs, Winapi.Windows, Vcl.Graphics, Dmitry.Utils.Files, Dmitry.Graphics.LayeredBitmap, UnitDBDeclare, uDBIcons, uDBEntities, uConstants, uRuntime, uMemory; type TDrawAttributesOption = (daoEXIF, daoNonImage,...
unit uniteTestLecteurFichierBinaire; interface uses SysUtils,TestFrameWork, uniteLecteurFichierBinaire; type TestLecteurFichierBinaire = class (TTestCase) published procedure testGetTypeJpg; procedure testGetTypeJpeg; procedure testGetTypeGif; procedure testGetTypeAutres; procedure te...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit uMultiplierBase; {$I ..\Include\IntXLib.inc} interface uses uStrings, uIMultiplier, uIntX, uIntXLibTypes; type /// <summary> /// Base class for multipliers. /// Contains default implementation of multiply operation over <see cref="TIntX" /> instances. /// </summary> TMultip...
//********************************************************************************************************************** // $Id: udPromptReplace.pas,v 1.6 2006-08-27 19:11:06 dale Exp $ //---------------------------------------------------------------------------------------------------------------------- // DKLang T...
// // Generated by JavaToPas v1.5 20160510 - 150134 //////////////////////////////////////////////////////////////////////////////// unit android.hardware.Camera; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.hardware.Camera_CameraInfo, android.view.SurfaceHolder, android.graphics.S...
unit DPM.IDE.MessageService; interface uses Vcl.Forms, VSoft.Awaitable, DPM.IDE.MessageForm, DPM.IDE.Options; //TODO : Make the message service own the TStringList that the Logmemo on the form currently owns? //that way we don't need the form all the time, only when we need to display it. type TMessageTas...
unit ThImageItem; interface uses System.Types, System.Classes, System.UITypes, System.SysUtils, System.UIConsts, FMX.Types, FMX.Objects, FMX.Controls, FMX.Graphics, ThTypes, ThItem; type TThImageItem = class(TThItem, IBitmapObject, IItemHighlightObject, IItemSelectionObject) private FItemData: TThFileIte...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLMeshCSG<p> Constructive Solid Geometry in GLScene. The CSG system uses BSP to optimize what triangles it considers. Its kept on a mesh basis to simplyfy things, it allways generates new BSP's, even if the meshes allready had BSP op...
unit ufrmDialogProdSupplier; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, StdCtrls, Mask, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.ComCtrls, dxCore, cxDateU...
unit untCollectionsReflect; interface uses Generics.Collections, REST.JsonReflect; type SerializeObjectListAttribute = class(JsonReflectAttribute) constructor Create; end; implementation uses Rtti; type TListOfObjectInterceptor = class(TJSONInterceptor) function ObjectsConverter(Data: TObject; F...
unit uDlgDocument; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxGraphics, cxButtonEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox, cxMaskEdit, c...
unit TESTCOTACAOITENS.Entidade.Model; interface uses DB, Classes, SysUtils, Generics.Collections, /// orm ormbr.types.blob, ormbr.types.lazy, ormbr.types.mapping, ormbr.types.nullable, ormbr.mapping.classes, ormbr.mapping.register, ormbr.mapping.attributes, TPAGFORNECEDOR.Entidad...
unit SysRegistryDAO; interface uses SysRegistryCls, Classes, DB, ADODb, SysUtils; type TSysRegistryDAO = class private FConnection: TADOConnection; registry: TSysRegistry; public constructor create(connection: TADOConnection); function select(aAttributeName: string; aRows: TList ): Bo...
unit L_util; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, StdCtrls, Gauges, FileCtrl, Forms, _Strings; CONST ERRLFD_NOERROR = 0; ERRLFD_NOTEXISTS = -1; ERRLFD_NOTLFD = -2; ERRLFD_BADLFD = -3; TYPE LFD_INDEX = record MAGIC : array[1..4] of char; NAME : array[1..8] of cha...
unit uPrK_PROT_ZACH_SelFakDep; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, FIBDatabase, pFIBDatabase, FIBDataS...
{ PROG: shelf2 LANG: PASCAL } {$I-,Q-,R-,S-} {Problema 12: Estante 2 [Neal Wu, 2007] El Granjero Juan compro recientemente otro estante para la librería vacuna, pero el estante se está llenando rápidamente, y ahora el único espacio disponible es el de arriba. GJ tiene N vacas (1 <= N <= 20) cada una de alguna altu...
unit Lnk; {* Additional unit. Has two procedures to get system folder by its CSIDL and to create shortcut to the specified file object. Sources are from public place. Actually, made on base of sample from MSDN. Adapted to use with KOL. Last update: 17-May-2007 (with KOL v 2.61) } interface {$I KOLDEF.INC...
unit ShopByItemsForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, CheckLst, Menus, InflatablesList_ShopSelectArray, InflatablesList_Manager; type TfShopByItemsForm = class(TForm) lblItems: TLabel; clbItems: TCheckListBox; ...
unit MainForm; {$mode objfpc}{$H+} interface uses SysUtils, Forms, Controls, Dialogs, StdCtrls, ActnList, main_datamodule, lclintf, Menus, ComCtrls, ExtCtrls, Buttons, SynHighlighterSQL, SynEdit; type { TApplicationMainForm } TApplicationMainForm = class(TForm) ActionOpenReportsFolder: TAction; ...
// This software is Copyright (c) 2014 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of one of Embarcadero's developer tools products. // This software is considered a Redistributable as defined under // the software license agreement that comes with the Embar...
unit weather_types; interface type TWeatherRec = record Location: string; Time: string; Wind: string; Visibility: string; SkyConditions: string; Temperature: string; DewPoint: string; RelativeHumidity: string; Pressure: string; Status: string; end; implem...
unit MainUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, CoolTrayIcon, Menus,ShellApi,Ini; const WM_TrayIcon = WM_USER + 1280; type TMain = class(TForm) Timer: TTimer; Logs: TMemo; CoolTrayIcon: TCoolTrayIcon...
unit uFrUsuario; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFrPadrao, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DA...
unit DSA.Tree.AVLTreeMap; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Interfaces.DataStructure, DSA.List_Stack_Queue.ArrayList, DSA.Tree.AVLTree; type { TAVLTreeMap } generic TAVLTreeMap<K, V, TKeyCmp> = class(TInterfacedObject, specialize IMap<K, V>) private type TAVLTr...
unit SDL2_SimpleGUI_Console; {:< The console object and its supporting types - NOT IMPLEMENTED YET IN SimpleGUI - } { Simple GUI is based upon Lachlans GUI (LK GUI). LK GUI's original source code remark is shown below. Written permission to re-license the library has been granted to me by the original au...
unit QR_ISO88592; // ISO 8859-2 (Latin 2) encoder class for TDelphiZXingQRCode interface uses DelphiZXIngQRCode; const ENCODING_ISO88592 = 8; type TIso88592Encoder = class(TEncoder) protected function FilterContent(const Content: WideString; Mode: TMode; EncodeOptions: Integer): WideString; overr...
// -------------------------------------------------------- // converted from Select C++ header file (source) // 1/3/03 3:56:54 PM // -------------------------------------------------------- //=========================================================================== // // NAME: pd_dsp_es.h // // DESCRIPTION: Power...
(* Category: SWAG Title: MATH ROUTINES Original name: 0024.PAS Description: Factoring Program Author: LOU DUCHEZ Date: 08-27-93 21:17 *) {LOU DUCHEZ > Could anybody explain how to Write such a routine in Pascal? Here's a dorky little "Factoring" Program I wrote to display the factors of a number: } Progr...
unit servidor; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ScktComp, StdCtrls, ExtCtrls; type TfrmServidor = class(TForm) Panel1: TPanel; Panel2: TPanel; Memo2: TMemo; ListBox1: TListBox; Splitter1: TSplitter; Panel3: TPanel; Button1: TBu...
unit uAAText; interface uses Graphics, sysutils, classes, IntfGraphics; const MAX_NUM_SUPERSAMPLING = 2; procedure DrawAAText(Dest: TBitmap; DX, DY: Integer; Text: String); implementation type TRGBTriple = record rgbtRed, rgbtGreen, rgbtBlue : Byte; end; pRGBLine = ^TRGBLine; ...
unit uClassDBDataSet; interface uses uClassDBConnection, Data.SqlExpr, Datasnap.Provider, Datasnap.DBClient, Data.DB, System.Generics.Collections, uClassDBToJson; type TBaseDBDataSet = Class private sqlConn : TBaseDBConnection; sqlBase : TSQLDataSet; dspBase : TDataSetProvider; cdsBase : TClien...
unit LblEffct; { This unit implements a label component with 3D effects. Written by Keith Wood - 27 May 1995. The label has a highlight and a shadow. The colours of these can be controlled through properties as can their distance from the label and their direction. There are also preset combinations of ...
unit ufrmDialogAdjustmentCashback; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, StdCtrls, ComCtrls, System.Actions, Vcl.ActnList, ufraFooterDialog3Button, cxGraphics, cxControls, cxLookAndFeels, cxLookAn...
Unit ippsovr; { ippsovr devrait rendre plus facile l'utilisation de ipps.pas en utilisant les overload Exemple: ippsAddC_16s_I, ippsAddC_32f_I, ippsAddC_64f_I, ... deviennent ippsAddC Toutefois, toutes les déclarations de ce genre n'ont pas pu être mises en overload (listes de paramètres identiques) } INTERFA...
unit FDbInfo; (*==================================================================== Dialog box displaying information about the database. ======================================================================*) interface uses SysUtils, {$ifdef mswindows} WinTypes,WinProcs, {$ELSE} LCLIntf, LC...
(* Category: SWAG Title: OOP/TURBO VISION ROUTINES Original name: 0043.PAS Description: Defining array sizes Author: KEN.BURROWS@TELOS.ORG Date: 08-25-94 09:10 *) { RJS> Just a quick question... In the variable declaration field, you define RJS> an array with array [0..9] of foo, But let's say I didn't kn...
unit MainUnit; {$mode objfpc}{$H+} (* Olimex WPC 50 Find the centre of a circle with a 50 pixel diameter in a 100 x 100 window. *) interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, Arrow, ExtCtrls, StdCtrls, Buttons; type { TMainForm } TMainForm = class(TForm) ...