text
stringlengths
14
6.51M
unit uModelBillIntf; interface uses DBClient, uParamObject, uBaseInfoDef, uModelBaseIntf; type IModelBillOrder = interface(IModelBill) //单据-订单 ['{2F34D9A2-B1C1-4DB8-99C9-7CE7D5D69AFC}'] end; IModelBillBuy = interface(IModelBill) //单据-进货单 ['{C2586F34-A232-4C40-A3C9-547C8BC66F12}'] end; IMode...
(* * DGL(The Delphi Generic Library) * * Copyright (c) 2004 * HouSisong@gmail.com * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the ab...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2011 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a Redis...
namespace org.me.helloworld.manualui; //Sample app by Brian Long (http://blong.com) { This example is a simple Android application with a button that displays a dialog However there is no UI layout file - the (admittedly simple) UI is built up in code } interface uses java.util, java.text, a...
unit uframeChrome; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, uCEFChromium, uCEFWindowParent, uCEFInterfaces, uCEFConstants, unConfig, uCEFTypes, Dialogs; type TframeChrome = class(TFrame) CEFWindowParent1: TCEFWindowParent; Chromium1: TChromium; Spl...
{ Compiler for tinypas. Everything is rolled in a single file. } program tinypascal; uses SysUtils; const _PROGRAM = 1; _USES = 2; _WHITE_SPACE = 3; _NUMBER = 4; _IDENTIFIER = 5; _LBRACE = 6; _RBRACE = 7; _IF = 8; _SEMICOLON = 9; _BEGIN = 10; _END = 11; _THEN = 12;...
unit InflatablesList_Manager_IO_00000009; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses Classes, AuxTypes, InflatablesList_Manager_IO_00000008; type TILManager_IO_00000009 = class(TILManager_IO_00000008) protected procedure InitSaveFunctions(Struct: UInt32); override; procedure InitLoadFu...
{ ******************************************************************************* Title: T2Ti ERP Description: Controller relacionado aos procedimentos de venda The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
{ RRRRRR ReportBuilder Class Library BBBBB RR RR BB BB RRRRRR Digital Metaphors Corporation BB BB RR RR BB BB RR R...
//Вводится последовательность из N элементов. Подсчитать количества положительных, отрицательных и нулевых элементов последовательности. //Вывести исходную последовательность и результаты ее обработки program lab_3_15; var A: array of real; n, i, k1, k2, k3: integer; x: real; begin write('введите...
unit ULinkedListClass; // defines a simple linked-list class using pointers //for completion by students interface type PLList=^TListNode; // a pointer to a node TListNode= record // node definition: data:string; // to hold the name namescore:integer; //to hold the names...
namespace com.example.android.accelerometerplay; {* * Copyright (C) 2007 The Android Open Source Project * * 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.a...
Unit FillterForm; Interface Uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Generics.Collections, RequestFilter, ExtCtrls, ComCtrls {$IFDEF FPC} ,ColorBox {$ENDIF} ; Type EFilterComboboxType = ( fctType, fctColumn, fctOperator, fctVa...
unit Demo.Eval; { Eval example. Evaluate an expression. } interface uses Demo, Duktape; type TDemoEval = class(TDemo) private class function NativeEval(const ADuktape: TDuktape; const AUserData: Pointer): TdtResult; cdecl; static; class function NativeToString(const ADuktape: TDuktape; ...
unit Current_Filter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxCheckBox, StdCtrls, cxButtons, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxControls, cxGroupBox, cxSpinEdit, cxDropDownEdit, GlobalSpr, IBase, Pac...
unit UnitPropertyLoadGistogrammThread; interface uses Windows, Classes, Graphics, SysUtils, uDBForm, uMemory, uBitmapUtils, uDBGraphicTypes, uDBThread, uDBEntities, uImageLoader; type TPropertyLoadGistogrammThreadOptions = record FileName: string; Password: str...
{----------------------------------------------------------------------------- Least-Resistance Designer Library The Initial Developer of the Original Code is Scott J. Miles <sjmiles (at) turbophp (dot) com>. Portions created by Scott J. Miles are Copyright (C) 2005 Least-Resistance Software. All Rights...
unit GetSecurityCenterInfo; interface uses SysUtils, Windows, ActiveX, ComObj, Variants; type TSecurityCenterInfo = Class companyName: string; displayName: string; enableOnAccessUIMd5Hash: String; //Uint8; enableOnAccessUIParameters: String; instanceGuid: String; pathToEnableOnAcc...
unit DeviceIntegration; interface uses SysUtils, Dialogs, uXML, ProcessorInterface, uMRPinPad, uCreditCardFunction; type TDeviceIntegration = class(TInterfacedObject) protected FCashBack: Currency; FexpDate: String; Ftrack2: String; FcardSwiped : WideString; Fprocessor: IPr...
unit ContentMngr; //ContentManager // Original code november 2002 Gerard Slurink // May be distributed and modified freely // Still under construction! // Contains: // TContentManager for access to zip-archive or similar content // Use the global ContentManager instance that is created automatically // In...
unit Vector; {$MODE Delphi} // // Vector calculations unit, (c) Roelof Oomen, 2007 // // Coordinate system // // Cartesian // z| // | / y // | / // __________|/_________ x // /| // / | // / | // // // Spherica...
unit LrIDEController; interface uses SysUtils, Classes, ActnList, ImgList, Controls, Dialogs, PngImageList, LrDocument; type TLrIDEControllerModule = class(TDataModule) ActionList: TActionList; PngImageList: TPngImageList; LrOpenAction: TAction; LrNewAction: TAction; LrSaveAction: TActio...
// *************************************************************************** // // cfs.GCharts: Google Chart Producer // cfsCharts is a Delphi library of components to generate Charts in uniGUI Framework using the Google Charts API // // Copyright (c) 2021 Josep Pagès // // https://github.com/JosepPages7/Delphi-GCha...
unit uWinList; interface uses Classes ,windows,SysUtils,DBClient,DB,Dialogs ,ShellAPI,Forms,IMCode; type //TFindListType = (fwFindDirectory,fwFindWindows,fwFindProgram); TFindListType = (fwFindDirectory,fwFindWindows,fwFor1000copy); TFindList = class(TClientDataset) protected procedure Init ;vi...
program questao9; { Autor: Hugo Deiró Data: 02/06/2012 - Este programa converte uma temperatura em Fahrenheit para Celcius Fórmula: C = (5*(F-32))/9. } var fahrenheit : real; begin write('Insira uma temperatura em Fahrenheit: '); readln(fahrenheit); writeln; writeln(fahrenheit:6:2,'°F = ',(5*(fahre...
//FPC 2.6.2 program HelloWorld; begin writeln('Hello World'); end.
unit uFrmScaleInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uPai, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, uBalanca; type TFrmScaleInfo = class(TFrmPai) btnOK: TButton; tmrScale: TTimer; GroupBox2: TGroupBox; Label8: TLabel; L...
unit sp_Product_Add; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxCheckBox, cxRadioGroup, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit; type Tsp_Product_Add_Form...
unit cmtwriter; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, sqlite3conn, sqldb, sqlite3ds, rtfutil, LazFileUtils; const NUM_BIBLE_REFS: Integer = 32357; type TOnLog = procedure(msg: String) of object; TOnProgress = procedure(perc1, perc2: Integer) of object; TCmtWriter...
unit uFormEditObject; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, uDBForm; type TFormEditObject = class(TDBForm) CbColor: TColorBox; lbColor: TLabel; LbNoteText: TLabel; MemText: TMemo; BtnOk: TButton; BtnCa...
unit UCRCS; //------------------------------------------------------------------------------ // модуль посчёта различных контрольных сумм //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ interface //-----...
unit utility; { DPL 2004-03-22 } { uninitialized variable correction in function grep; RDT 2022-07-27 } { Utilities, mainly aids to parsing } interface function equalsIgnoreCase(s1, s2: string): boolean; function startsWithIgnoreCase(s1, s2: string): boolean; function endsWith(s1, s2: string): boolean; function sta...
namespace RemObjects.Elements.EUnit; interface uses RemObjects.Elements.EUnit.Reflections; type Assert = public partial static class {$IF NOUGAT}mapped to Object{$ENDIF} private method TypeToString(aType: NativeType): String; public method Throws(Action: AssertAction; Message: String :=...
{ @abstract Implements routines that help you internationalize menus. If you use runtime language switch the short cut text of menu items do not change. This is because VCL stores the initial resource string in an array and if you change the language the array still holds the resource strings in default lang...
unit Ils.Stat.Sender; interface uses blcksock, SysUtils ; type TIlsStatSender = class protected FSock: TUDPBlockSocket; public // procedure Send(AHost: string; AMessage: string); overload; procedure Send(AMessage: string); //overload; constructor Create(AHost: string); destructor Destroy;...
unit ModflowRCH_WriterUnit; interface uses SysUtils, Classes, Contnrs, CustomModflowWriterUnit, ScreenObjectUnit, ModflowBoundaryUnit, ModflowPackageSelectionUnit, OrderedCollectionUnit, ModflowCellUnit, PhastModelUnit, ModflowBoundaryDisplayUnit; Type TModflowRCH_Writer = class(TCustomTransientArrayWriter) ...
unit uSistema; interface uses System.IniFiles; type TSistema = class private class var fIniSistema : TIniFile; public class procedure SetUltimoAcesso(Usuario: String); class function GetUltimoAcesso : String; class function GetUsuarioAcesso : String; end; implementation uses Vcl.Forms, ...
unit WarodaiTemplates; { Обработка шаблонов и примеров. Шаблоны: ~にする мариновать в мисо; Примеры: 味の抜けた безвкусный; } interface uses Warodai, FastArray; {$INCLUDE 'Warodai.inc'} { Возвращает номер символа подстановки в шаблоне или 0 } function FindTemplate(const ln: string): integer; { Некоторы...
unit IdWebsocketServer; interface uses IdServerWebsocketHandling, IdServerSocketIOHandling, IdServerWebsocketContext, IdHTTPServer, IdContext, IdCustomHTTPServer, Classes, IdIOHandlerWebsocket, IdGlobal, IdServerIOHandler; type TWebsocketMessageText = procedure(const AContext: TIdServerWSContext; const aText: ...
unit TestUPlanoContasVO; interface uses TestFramework, SysUtils, Atributos, UUnidadeVO, UCondominioVO, Generics.Collections, UGenericVO, Classes, Constantes, UPessoasVO, UPlanoContasVO; type TestTPlanoContasVO = class(TTestCase) strict private FPlanoContasVO: TPlanoContasVO; public procedure Set...
PROGRAM balancedtree; TYPE Node = ^NodeRec; NodeRec = RECORD value: INTEGER; left, right: Node; END; Tree = Node; PROCEDURE InitTree (VAR t: Tree); BEGIN t:= NIL; END; PROCEDURE InitArray (VAR arr: ARRAY OF Node); VAR count : INTEGER; BEGIN FOR count := 1 TO High(arr) DO arr[count] := NIL; EN...
unit uXMLUtils; interface uses XMLDoc, XmlIntf; type TXMLUtils = class private FXML: IXMLDocument; FRootNode: IXMLNode; public property XML: IXMLDocument read FXML write FXML; constructor Create(rootName: string); function AddElement(ElemName: string; ElemValue: string = ''): IXMLNode; o...
unit DAW.View.DeviceEdit; interface uses DAW.Model.Device.New, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Edit, FMX.Layouts, FMX.Controls.Presentation; type TViewDevic...
unit ibSHProcedure; interface uses SysUtils, Classes, Contnrs, Menus, SHDesignIntf, ibSHDesignIntf, ibSHDBObject; type TibBTProcedure = class(TibBTDBObject, IibSHProcedure) private FParamsExt: TStrings; FReturnsExt: TStrings; FHeaderDDL: TStrings; FParamList: TComponentList; ...
unit GLDBendParamsFrame; interface uses Classes, Controls, Forms, ComCtrls, StdCtrls, GL, GLDTypes, GLDSystem, GLDAxisFrame, GLDModifyLimitEffectFrame, GLDUpDown; type TGLDBendParamsFrame = class(TFrame) GB_Bend: TGroupBox; L_Angle: TLabel; E_Angle: TEdit; UD_Angle: TGLDUpDown; ...
unit uRDM; interface uses SysUtils, Classes, uRORemoteService, uROClient, uROWinInetHttpChannel, uROBinMessage; const ClientCfgFile = 'WMPJ.Cfg'; type TDMWMServer = class(TDataModule) ROMessage: TROBinMessage; ROChannel: TROWinInetHTTPChannel; RORemoteService: TRORemoteService; procedure Dat...
{ Slim Services and EventLog support for Windows Author: Wanderlan Santos dos Anjos, wanderlan.anjos@gmail.com Date: jun-2008 License: <extlink http://www.opensource.org/licenses/bsd-license.php>BSD</extlink> } unit Services; interface uses {$IFDEF FPC}Windows{$ELSE}WinSvc{$ENDIF}, Classes; {$R *.res}...
//============================================================================= // sgNamedIndexCollection.pas //============================================================================= // // This private SwinGame library unit is responsible for managing named // collections of indexes. // // This can be used to tr...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit rtti_serializer_uXmlStore; interface uses rtti_broker_iBroker, DOM, XMLRead, XMLWrite, SysUtils, xpath, fgl, rtti_broker_uData; const cSID = 'SID'; cRefID = 'refid'; cValue = 'Value'; cRoot = 'root'; cStoreSettings = 'storesettings'; cLastSid = 'lastsid'; cMemo = 'memo'; type...
unit FRepair; (*==================================================================== Progress window for repairing the database. Implements the repair in the Run procedure ======================================================================*) interface uses SysUtils, {$ifdef mswindows} Windows {...
unit layers_unt; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxPC, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxEdit, cxTextEdit, cxVGrid, cxInplaceContainer, dxDockControl, ...
namespace MetroSearchApplication; interface uses System, System.Collections.Generic, System.IO, System.Linq, Windows.Foundation, Windows.Foundation.Collections, Windows.UI.Xaml, Windows.UI.Xaml.Controls, Windows.UI.Xaml.Controls.Primitives, Windows.UI.Xaml.Data, Windows.UI.Xaml.I...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
//****************************************************************************** // Пакет для добавленя, изменения, удаления данных о свойствах людей // параметры: ID - идентификатор, если добавление, то идентификатор человека, иначе // идентификатор свойства человека. //************************************************...
unit ModelBankItem; interface {$INCLUDE source/Global_Conditionals.inc} uses Model, ModelVxT, BasicFunctions, {$IFDEF VOXEL_SUPPORT}Voxel, HVA,{$ENDIF} Palette, GlConstants, ShaderBank; type TModelBankItem = class private Counter: longword; Editable : boolean; ...
unit VH_Timer; //Note: this is just the Q3MapView Timer but renamed. interface uses windows; type THiResTimer = class(TObject) private FFrequency : int64; FoldTime : int64; // last system time public TotalTime : double; // time since app started FrameTime : double; //...
unit uForm5; 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.ListView, FMX.Controls.Presentation, FMX.StdCtrls; type TFor...
(********************************************************) (* *) (* Bare Game Library *) (* http://www.baregame.org *) (* 0.5.0.0 Released under the LGPL license 2013 *) (* ...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ExtCtrls, RzPanel, ComCtrls, RzListVw, RzButton, ImgList, ToolWin, RzBmpBtn, RzStatus, JSocket, RzBHints, Clipbrd, StdCtrls, IniFiles, RzRadChk, WinHTTP, IdAntiFreezeBase, IdAntiFreeze, IdBaseC...
unit untTCPIPPatcher; interface uses Windows; procedure ptcpip; implementation function checkos: boolean; var verinfo :tosversioninfo; begin result := false; verinfo.dwOSVersionInfoSize := sizeof(tosversioninfo); getversionex(verinfo); if (verinfo.dwMajorVersion = 5) and ...
unit CustomList; interface uses Classes; type TBaseList = class internalList : TList; protected procedure Add(index: Integer; item : Variant); overload; //procedure Remove(item : Variant); overload; function GetCount : Integer; function First : Variant; function Last : Varian...
unit fi_utils; interface uses classes; generic procedure SortArray<T>(var a: array of T); function ReadCStr(stream: TStream): String; function TagToString(tag: LongWord): String; procedure SwapUnicodeEndian(var s: UnicodeString); function MacOSRomanToUTF8(const s: String): String; implementation uses sysu...
namespace com.example.android.snake; // Extra functionality added by Brian Long (htt://blong.com) // Supports screen swipe gestures to enhance the original game // that required a D-Pad interface uses android.util, android.view; type SnakeGestureListener = public class(GestureDetector.SimpleOnG...
unit uStopWatch; { TStopWatch Implementation By Zarko Gajic http://delphi.about.com/od/windowsshellapi/a/delphi-high-performance-timer-tstopwatch.htm } interface uses Winapi.Windows, System.SysUtils, System.DateUtils; type TStopWatch = class private fFrequency: TLargeInteger; fIsRunning: boolean...
unit FileSystemHelper; interface // Writes a given text to a given file function WriteToFile(filePath, text : String) : Boolean; // Combines all given parts in a path function CombinePath(pathParts : array of string) : String; // Creates directory if it doesn't exist function CreateDirectory(directoryPath : String) :...
unit Model.Usuario; interface uses System.Classes, Model.Mapper, Model.Access, Model.TableNames, System.Generics.Collections; type TUsuario = class(TBaseModel) private FIdUsuario: Integer; FIdPerfil: Integer; FCodigo: Integer; FNomeUsuario: string; FLogin: string; FSenha: s...
unit uTemplateReceipt15; {текстовый пункт} interface uses SysUtils, Classes, Dialogs, ibase, DB, FIBDatabase, pFIBDatabase, FIBDataSet, pFIBDataSet, Forms; function GetTemplateString(hConnection: TISC_DB_HANDLE; id_session, id_item : Int64): String; stdcall; exports Get...
{------------------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --------------------------------------...
unit KanaConvTests; { Requires Hepburn.roma, Kiriji - Polivanov.roma, PinYin.rpy. JWBIO must be tested beforehand. } interface uses SysUtils, Classes, TestFramework, JWBIO, JWBStrings, KanaConv; type TConvTableTest = class(TTestCase) protected FTableNames: TStringArray; FConv: TRomajiTranslato...
unit MT5.RetCode; interface {$SCOPEDENUMS ON} type TMTRetCodeType = ( // --- successfully codes MT_RET_OK = 0, // ok MT_RET_OK_NONE = 1, // ok; no data // --- common errors MT_RET_ERROR = 2, // Common error MT_RET_ERR_PARAMS = 3, // Invalid parameters MT_RET_ERR_DATA = 4, // Invalid data...
UNIT TETRIS_PIECE; INTERFACE CONST TETRIS_PIECE_VOID = 0; TETRIS_PIECE_L = 1; TETRIS_PIECE_Z = 2; TETRIS_PIECE_S = 3; TETRIS_PIECE_Q = 4; TETRIS_PIECE_RL = 5; TETRIS_PIECE_T = 6; TETRIS_PIECE_I = 7; TYPE arrpiece = ARRAY[1 .. 4] OF ARRAY[1 .. 4] OF integer; ...
unit Objekt.SendMail; interface uses SysUtils, Classes, IdMessage, IdPOP3, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, Vcl.StdCtrls, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdGlobal, IdSASlLo...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCWe...
unit PmHelper; // CBcdStr: 显示的BCD字符串,1字节显示为2个字符 // BcdStr: 内部的BCD字符串,1字节2位 // CStr: 显示的字符串,1字节显示为2个字符 // BinStr: 内部的字符串 interface uses SysUtils, DateUtils; type TPmData16 = class private FMinute: Byte; FDay: Byte; FHour: Byte; FSecond: Byte; function GetValue: AnsiSt...
unit Render; interface uses Windows, dglOpenGL, RenderEnvironment, BasicFunctions; type TRender = class private FPSCap : longword; FirstRC : HGLRC; ShaderDirectory: string; FIsOpenCLAllowed, FEnableOpenCL: boolean; // Misc procedure ForceFP...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: Common RFC functions Version: 3.05 Description: Common functions to work with RFC standards. esp...
//******************************************************************************************************* // 哈尔滨新中新电子股份有限公司版权所有,2003.6 // // TPEAPI.H // // 第三方接口(TPE) 函数和数据结构定义 // // For( Delphi) 2003.11.04 // //************************************************************************************************...
// Windows API GUI definitions unit Windows; interface const WS_OVERLAPPEDWINDOW = $CF0000; SW_SHOWDEFAULT = 10; MB_OK = 0; MB_OKCANCEL = 1; WM_PAINT = $000F; WM_MOUSEMOVE = $0200; WM_DESTROY = $0002; MK_LBUTTON ...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) EMail: http://www.arkadia.com SVanderClock@Arkadia.com product: TALMultiPartMixedAttachment TALMultiPartMixedAttachments TAlMultiPartMixed...
unit UDDesignControls; interface uses Windows, Forms, Controls, Buttons, Classes, ExtCtrls, UCrpe32; type TCrpeDesignControlsDlg = class(TForm) pnlBBar: TPanel; pnlBBar2: TPanel; sbOpen: TSpeedButton; sbClose: TSpeedButton; sbDiscardSavedData: TSpeedButton; sbQuickPreview: TSpeedButton; ...
unit URepositorioProduto; interface uses UProduto , UUnidadeMedida , URepositorioUnidadeMedida , UGrupoProduto , URepositorioGrupoProduto , UFamiliaProduto , URepositorioFamiliaProduto , UEntidade , UMarca , URepositorioMarca , URepositorioDB , SqlExpr ; type TRepositorioProduto = class...
unit constants; interface const int1 = 0; hex1 = $FF; hex2 = -$0F1F; oct1 = &15; oct2 = -&22344; bin1 = %11011; bin2 = -%00101011; real1 = 1.02; real2 = 4.2323402e-2; real3 = -123.054542E-2; real4 = -167.102e42; real5 = 1E17; real6 = -6E22; real7 = 4E-12; r...
PROGRAM WorkWithQueryString(INPUT, OUTPUT); USES DOS; FUNCTION GetQueryStringParameter(Key: STRING): STRING; VAR first_name, last_name, age: STRING; BEGIN WRITELN('Content-Type: text/plain'); WRITELN; Name := GetEnv('QUERY_STRING'); END; BEGIN {WorkWithQueryStri...
unit uSimpleRenderer; interface uses Classes, Dialogs, Math, Controls, ExtCtrls, SysUtils, Graphics, Types, Forms, uMinesClasses; type TMinesRenderer=class Mines : TMines; Panel : TPanel; PanelList : TList; PanelsUpdated : integer; LastFocusPanel : TPanel; SquareSizeX, ...
unit TB97Tlwn; { Toolbar97 Copyright (C) 1998-2004 by Jordan Russell http://www.jrsoftware.org/ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone...
unit Datapar.Model.Main; interface uses Datapar.Conexao, Datapar.Conexao.Factory; type TDataparModelMain = class private { Private declarations } fModoConexao: TDataparModoConexao; fProvider: TDataparProvider; protected function getInstance: TDataparQuery; public { Pu...
unit Magento.GalleryContent; interface uses Magento.Interfaces, System.JSON, IdCoderMIME; type TMagentoMediaGaleryContent = class (TInterfacedObject, iMagentoMediaGaleryContent) private FParent : iMagentoMediaGalleryEntries; FJSON : TJSONObject; FJSONArray : TJSONArray; f...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 your option) any later v...
Unit UnitBytesSize; interface uses windows; function BytesSize(size: int64): string; function HertzSize(size: int64): string; implementation type TFormatSettings = record CurrencyFormat: Byte; NegCurrFormat: Byte; ThousandSeparator: Char; DecimalSeparator: Char; CurrencyDecimals: Byte; ...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
unit frmGameUnit; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Generics.Collections, System.IOUtils, System.Actions, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.Layouts, FMX.Ani, FMX.StdCtrls, FMX.Effects, FMX.TabControl, FMX.Act...
program iBeta; uses crt; {--------------------------------------------------------------------------------------} const {boutons servant aux mouvements et actions du curseur} UP = 'z'; DOWN = 's'; LEFT = 'q'; RIGHT = 'd'; {Barre espace, pour cliquer} CLIC = chr(32); {Bouton ESCAPE, pour quitter} QUIT = chr...
unit Fornecedor.Model; interface uses Fornecedor.Model.Interf, TPAGFORNECEDOR.Entidade.Model, ormbr.container.objectset.interfaces, ormbr.Factory.interfaces; type TFornecedorModel = class(TInterfacedObject, IFornecedorModel) private FConexao: IDBConnection; FEntidade: TTPAGFORNECEDOR; FDao: IContai...
unit ConnectionStore; interface uses SysUtils, Classes, Forms, ADODB, Db, dcfdes, dcsystem, dcdsgnstuff, ThComponent, ThDataConnection, TpPersistComponent; type // TTpConnectionString = string; // TConnectionStore = class(TTpPersistComponent) private FConnectionStrings: TStringList; FFilen...
uses easycrt,easygdi; { This program shows you how to use a memory bmp as a buffer for graphics. First, it creates a blank bmp in memory that is the same size as the EasyCRT window. Then, instead of drawing to the screen, it draws to the memory bmp it created After that it uses the copybmp command to co...
unit ibSHFunction; interface uses SysUtils, Classes, Contnrs, SHDesignIntf, ibSHDesignIntf, ibSHDBObject; type TibBTFunction = class(TibBTDBObject, IibSHFunction) private FParamList: TComponentList; FEntryPoint: string; FModuleName: string; FReturnsArgument: Integer; fun...
unit uUtils; interface uses Windows, Messages, SysUtils, Variants; function GetComputerName: string; implementation const NERR_Success = 0; function NetWkstaGetInfo(ServerName: LPWSTR; Level: DWORD; BufPtr: Pointer): Longint; stdcall; external 'netapi32.dll' Name 'NetWkstaGetInfo'; //function ProcessId...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmCaptionButtons Purpose : Allows for new caption bar buttons to be defined. Date : 06-18-1998 Author : Ryan J. Mills Version : 1.92 ====================================...
unit ThShapeItem; interface uses System.Generics.Collections, GR32, GR32_Polygons, GR32_VectorUtils, clipper, DMX.DesignPattern, ThTypes, ThUtils, ThClasses, ThItem; type TThShapeItemClass = class of TThShapeItem; TThShapeItemFactory = class(TClassFactory<string, TThShapeItemClass>) public clas...