text
stringlengths
14
6.51M
{ This unit defines the structure of the model. There are four functions. The first function, called counts, defines the number, names, and units of the model, the state variables, the process variables, the driver variables and the parameters. The second function, called processes, is the actual equations whic...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit uBookStore; interface type IBasket = interface(IInvokable) ['{22B4BAF3-88E6-456D-9DE5-F6BAC743A655}'] function Total:extended; end; function NewBasket(aBasket: TArray<Integer>): IBasket; implementation uses System.SysUtils, System.Generics.collections, System.Math; const seriesBooks = '12345'; c...
unit UNotePad; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Menus, Web.HTTPApp, ShellApi; type TFrmNotePad = class(TForm) RichEdit: TRichEdit; MainMenu: TMainMenu...
unit uPrincipal; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.ListView...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Description: Client program demonstrating receive of binary and delimited text data. Works with BinTcpSrv demo. Creation: 28 November 2008 Version: 6.00 EMail: ...
unit HJYDBAccesses; interface uses Classes, DBClient, HJYStoreProcParams; type IHJYDBAccess = interface ['{B8296D48-39DB-4BBD-8CF4-291BEEE4E88C}'] function GetRetMsg: string; function GetConnected: Boolean; procedure SetConnected(const Value: Boolean); function Query(ACds: TClientDataSet; ASQL...
{******************************************************************************* Falcon Sistemas www.falconsistemas.com.br suporte@falconsistemas.com.br Written by Marlon Nardi - ALL RIGHTS RESERVED. *****************...
unit OptionsUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, StorageUnit; type { TOptionsForm } TOptionsForm = class(TForm) PageControl: TPageControl; CommonSheet: TTabSheet; ReportSheet: TTabSheet; ReportsCo...
{*************************************************************** * * Project : Connection Alive * Unit Name : Main * Purpose : Pinger like * NOtes : Demo for Windows only * Date : 21/01/2005 * Author : Sebastiano Dimartina * History : * ************************************************...
unit AsyncEchoClient.Impl; interface uses System.SysUtils, AsyncIO, AsyncIO.ErrorCodes, AsyncIO.Net.IP; type EchoClientProgressHandler = reference to procedure(const Status: string); AsyncTCPEchoClient = interface {$REGION Property accessors} function GetService: IOService; {$ENDREGION} procedure...
unit Stopwatch; interface uses WinProcs; Type Stopwatch_struct = record running: boolean; last_time: double; total: double; end; PStopwatch = ^Stopwatch_struct; function seconds(): double; procedure Stopwtach_reset(Q: PStopwatch); function new_Stopwatch(): PStopwatch; procedure Stopw...
unit uthrImportarAero; interface uses System.Classes, Dialogs, Windows, Forms, SysUtils, clUtil, clEntregador, clStatus, clAgentes, clEntrega, Messages, Controls, System.DateUtils; type TCSVEntrega = record _agenteTFO: String; _descricaoAgenteTFO: String; _nossonumero: String; _cliente: String; _nota...
unit rcSets; {$mode objfpc}{$H+} interface uses Classes, SysUtils; //const //ADD_PROJECT:cardinal = 4; type TRedminePermissions = set of (rcEdit, rcRead); type TRCPermissions = set of (ADD_PROJECT, EDIT_PROJECT, SELECT_PROJECT_MODULES, MANAGE_MEMBERS, MANAGE_VERSIONS, ADD_SUBPROJECTS, ...
// source: http://stackoverflow.com/questions/6003018/make-disabled-menu-and-toolbar-images-look-better // Author: Rodrigo Ruz { Including this unit makes disabled images look better in menu's. It displays them as grey-scaled. } unit uCustomImageDrawHook; interface uses Winapi.Windows, Winapi.CommCtrl, Syste...
unit CommonIDObjectEditFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommonFrame, ComCtrls, StdCtrls, ExtCtrls, BaseObjects, BaseGUI; type TfrmIDObjectEditFrame = class(TfrmCommonFrame) gbxObjectInfo: TGroupBox; edtName: TLabeledEdit; edtS...
unit Demo.Forms.Serialization.Schema; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Generics.Collections, System.json, Demo.Forms.Serialization.Base, Demo.Frame.Configu...
unit uReleaseClientLib; interface type TReleaseClientNewReleaseProc = reference to procedure(DownloadURL: string); TReleaseClientNoNewReleaseProc = reference to procedure; TReleaseClientHTTPErrorProc = reference to procedure(StatusCode: Integer; StatusText: string); TReleaseClientLib = class ...
unit TabData; interface uses System.Classes, SysUtils, Controls, Bible, Htmlview; type TViewTabLocType = (vtlUnspecified, vtlModule, vtlFile); TViewTabInfoStateEntries = ( vtisShowStrongs, vtisShowNotes, vtisHighLightVerses, vtisResolveLinks, vtisFuzzyResolveLinks, vtisPendingReload); ...
{@unit RLRichText - Implementação dos componentes de impressão de texto no formato RichText.} unit RLRichText; interface uses Classes, SysUtils, Contnrs, Math, Windows, Types, Graphics, RLMetaVCL, RLReport, RLUtils, RLMetaFile; const MaxTabs = 255; TabSize = 48; type TRLRichFont=class pub...
{$G+} program NukeWar; (*Rick Barnes and Tim Kun*) uses Graph,Crt; const Count1:Array[1..17] of PointType = ((x:260;y:210),(x:265;y:180),(x:270;y:220), (*country at bottom left*)(x:275;y:220),(x:300;y:250),(x:295;y:298), (x:290;y:280), (x:260;y:285), ...
unit test01; interface uses System.SysUtils; procedure StoreMessage(const aTemplateFolder: string; const TemplateFileName: string); implementation procedure FileFromString(const aLines: string; const aFileName: string); begin end; procedure StoreMessage(const aTemplateFolder: string; const TemplateFileName:...
unit UnitMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Datasnap.DBClient; type // TProc = reference to procedure; > System.SysUtils TClientDataSetHelper = class Helper for TC...
unit Utils.Messages; interface uses Classes, SysUtils , System.Messaging ; type TAppView = (Init, Home, CreateGame, JoinGame, GreenRoom, Judging, Submitting); TCurrentViewChanged = class(TMessage<TAppView>); TGameUsersChanged = class(TMessage); TGamesChanged = class(TMessage); TUsersPollingStopped = cl...
unit acPathDialog; {$I sDefs.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, sBitBtn, ComCtrls, {sTreeView, }acShellCtrls, sSkinProvider, sEdit, sTreeView, sScrollBox, ImgList, sLabel, acAlphaImageList; type TPathDialogForm = class(TForm) ...
// ---------------------------------------------------------------------------- // Unit : PxRemoteStreamServer.pas - a part of PxLib // Author : Matthias Hryniszak // Date : 2005-02-01 // Version : 1.0 // Description : Remote stream - server part // Changes log : 2005-02-01 - initial versio...
(****************************************************************************** * * * Network -- Some network routines * * * ...
unit SshKey; interface type HCkSshKey = Pointer; HCkString = Pointer; function CkSshKey_Create: HCkSshKey; stdcall; procedure CkSshKey_Dispose(handle: HCkSshKey); stdcall; procedure CkSshKey_getComment(objHandle: HCkSshKey; outPropVal: HCkString); stdcall; procedure CkSshKey_putComment(objHandle: HCkSshKey; newPr...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit UTDMSManager; interface uses System.SysUtils,System.Generics.Collections,UTDMSSegment,System.Classes,UROWDataInfo, UTDMSChannel; type TDMSManager = class private fileSize:Integer; segNum:Integer; buffer:TFilestream; public segmenList:TList<TDMSSegment>; constructor Create(); proced...
unit UManutAnuidades; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UnitModeloInserir, WinSkinData, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, DB, DBClient; type TfrmManutAnuidades = class(TModeloInserir) DBGrid1: TDBGrid; btPagar: TBitBtn; c...
unit ToolsUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.MPlayer, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Menus, Vcl.ExtCtrls, Vcl.Imaging.jpeg, Vcl.Buttons, Vcl.FileCtrl, Vcl.WinXCtrls, mmsystem, ...
unit Model.EMPRESA; interface uses Data.DB, SimpleDAO, SimpleInterface, Model.Entity.EMPRESA, Model.EMPRESA.Interfaces, SimpleQueryFiredac, Model.Connection; type TModelEMPRESA = class(TInterfacedObject, iModelEMPRESA) private FEntidade : TEmpresa; FDAO : iSimpleDAO<TEmpresa>; F...
unit UModulo11; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Edit1: TEdit; Edit2: TEdit; procedure Button1Click(Sender: TObject); private { Private declarations } public { Pu...
unit Command.GenerateXml; interface uses System.SysUtils, System.Classes, DelphiAST, DelphiAST.Classes, DelphiAST.Writer; type TGenerateXmlCommand = class public class procedure Generate(const aFileName: string); static; end; implementation class procedure TGenerateXmlCommand.Generate(const aFi...
unit DBScriptExecutorImpl; interface uses Classes,Windows,SysUtils,AdoDb,Db,SQLDMO_TLB,Contnrs; type TSqlObjectType=(otUserDefineDataType,otSystemTable,otView,otUserTable,otStoredProcedure, otDefault,otRule,otTrigger,otUserDefinedFunction,otAllDatabaseUserObjects, otAllDatabaseObjects,otAllbutSyst...
(* * Copyright (c) 2009, Ciobanu Alexandru * 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 o...
{** * TcAppProtect * * Copyright 1999, 2000 by Sebastião Elivaldo Ribeiro * http://www.utranet.com.br/~elivaldo * e-mail: elivaldo@utranet.com.br *} unit ucAppProtect; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Registry; type TcAppProtect =...
unit VisibleDSA.AlgoVisualizer; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Forms, BGRACanvas2D, VisibleDSA.AlgoVisHelper, VisibleDSA.QuickSortData; type TAlgoVisualizer = class(TObject) private _width: integer; _height: integer; _data: TQuickSortData; _form: T...
unit UTerbilang; interface uses SysUtils; type TStr15= String[15]; function MyTerbilang(Bilangan:Double):String; const NL : ARRAY[0..9] OF STRING[8] = ( '','Satu','Dua','Tiga','Empat','Lima','Enam','Tujuh', 'Delapan','Sembilan'); implementation Function nolkiri(x:string;n:byte):string...
{***********************************************************} { } { XML Data Binding } { } { Generated on: 25/06/2010 09:41:39 } { G...
unit EncodeFormulaII; { ******************************************************************************** ******* XLSReadWriteII V1.14 ******* ******* ******* ******* Copyright(C) 1999,2002 Lars Arvidsson,...
unit uUser; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type PUser = ^TUser; TUser = record id: integer; ut_id: integer; fio: string; password: string; end; TUserList = class(TList) private sql:TString...
unit Aurelius.Schema.Oracle; {$I Aurelius.Inc} interface uses Aurelius.Drivers.Interfaces, Aurelius.Schema.AbstractImporter, Aurelius.Sql.Metadata; type TOracleSchemaImporter = class(TAbstractSchemaImporter) strict protected procedure GetDatabaseMetadata(Connection: IDBConnection; Databa...
unit Unit3; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, jpeg, ExtCtrls; type TfrmSplash = class(TForm) Image1: TImage; Label1: TLabel; Label2: TLabel; Timer1: TTimer; Panel1: TPanel; procedure FormCreate(Sender: TObje...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Model relacionado à tabela [FIN_LANCAMENTO_RECEBER] The MI...
unit ACBrDISDll; interface uses SysUtils, Classes, ACBrDIS; type TAtualizaCallback = procedure(Linha : Integer; TextoVisivel: PCHAR); cdecl; {Classe que armazena os EventHandlers para o componente ACBr} type TEventHandlers = class OnAtualizaCallback : TAtualizaCallback; procedure OnAtual...
unit UPadraoForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Math, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.StdCtrls, FMX.Controls.Presentation; type TFrmPadraoForm = class(TForm) layoutBase: TLay...
{********************************************************} { } { Zeos Database Objects } { Extra functions } { } { Copyright (c...
unit JPP.Memo; { Jacek Pazera http://www.pazera-software.com https://github.com/jackdp } {$I jpp.inc} {$IFDEF FPC} {$mode delphi} {$ENDIF} interface uses {$IFDEF MSWINDOWS}Windows,{$ENDIF} Messages, SysUtils, Classes, Types, {$IFDEF HAS_SYSTEM_UITYPES}System.UITypes,{$ENDIF} Controls, Graphics, StdCt...
unit MinimalCheckbox; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DrawUtils, Math; type TCheckType = (ctCheck, ctFill, ctCross); TMinimalCheckbox = class(TGraphicControl) private FChecked: boolean; FActiveColor: TColor; FCheckType: TCh...
unit ShareLib; interface uses Windows,SysUtils,Classes,Controls,Graphics,Messages,Math,FileCtrl, Forms,Registry,INIFiles,ComCtrls,CommCtrl,ShareSys; function XPixelsToATenthMilliMetre(Pixels:Integer):Integer; function YPixelsToATenthMilliMetre(Pixels:Integer):Integer; function XATenthMilliMetreTo...
unit Model.ParcelamentoRestricao; interface type TParcelamentoRestricao = class private var FRestricao : Integer; FParcela: Integer; FTotalParcelas : Integer; FDebitado: Integer; FValor: Double; FExtrato: Integer; FData: TDate; public property Restricao...
unit Word; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Word2000, Vcl.OleServer, Vcl.StdCtrls; type TForm1 = class(TForm) WordApplication1: TWordApplication; WordDocument1: TWordDocument;...
program Test4; var var1, var2 : real; var3 : boolean; begin (* Comment parenthesis *) { Comment braces } end.
unit JPP.BrushStyleComboBox; { Jacek Pazera http://www.pazera-software.com https://github.com/jackdp } {$I jpp.inc} {$IFDEF FPC} {$mode delphi} {$ENDIF} interface uses {$IFDEF MSWINDOWS}Windows,{$ENDIF} Messages, SysUtils, Classes, Types, {$IFDEF HAS_SYSTEM_UITYPES}System.UITypes,{$ENDIF} Controls, StdC...
{ Target driver routines that are specific to the PIC 12F6xx family. } module picprg_12f6; define picprg_erase_12f6xx; %include 'picprg2.ins.pas'; { ******************************************************************************* * * Subroutine PICPRG_ERASE_12F6XX (PR, STAT) * * Erase all erasable non-volatile mem...
unit uSimpleStubDemoTests; interface uses DUnitX.TestFramework , uSimpleStubDemo ; type [TestFixture] TDollarToGalleonConverterTest = class public [Test] procedure TestPointFiveCutsDollarsinHalf; [Test] procedure TestThatLoggerIsProperlyCalled; end; implementation uses D...
unit ACBrSMSDll; {$mode delphi} interface uses Classes, SysUtils, ACBrSMSClass, ACBrSMS; {CallBack Eventos} type TOnProgressoCallback = procedure(const AAtual, ATotal: Integer); cdecl; {Classe que armazena os EventHandlers para o componente ACBr} type TEventHandlers = class OnProgressoCallback...
{ ********************************************************************* * * 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/. * * Autor: Brovin Y.D. * E-mail: y.brov...
{9. Dado un archivo de números enteros no nulos, almacenar en un arreglo A aquellos que sean ascendentes. A partir de A generar B con la misma cantidad de elementos de A pero poniendo ceros en aquellas componentes simétricas donde la simétrica derecha no sea múltiplo de la izquierda. Escribir ambos arreglos. Ejemplo: A...
unit GeoCode; interface uses Classes, Contnrs; const CHAR_SPACE = ' '; CHAR_PLUS = '+'; STR_WEB = 'http://maps.google.com/maps/api/geocode/json?address='; STR_SENSOR = '&sensor=false'; STR_REGION = '&region=es'; type TCoordenadas = record Lat: Real; Lon: Real; end; TDireccion = recor...
//************************************************************************************************** // // Unit Vcl.Styles.WebBrowser // unit for the VCL Styles Utils // https://github.com/RRUZ/vcl-styles-utils/ // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");...
unit RTF_ListaPostojow; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, Buttons, JvUIB, JvUIBLib, RT_Tools; type TFrmListaPostojow = class(TForm) EdtQuickSearch: TEdit; BtnZamknij: TButton; BtnNowy: TBitBtn; Btn...
unit uMdlText; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, Menus, Buttons, DBCtrls, DB, FMTBcd, SqlExpr; type TfrmMdlText = class(TForm) Panel1: TPanel; popCopy: TPopupMenu; nCopy: TMenuItem; btnOK: TBitBtn; ...
(****************************************************************************** * * * Usermanager * * GUIHelpers -- <Kommentar> * ...
unit ObjectSearch; interface uses Winapi.Windows, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, JvExButtons, JvBitBtn, Vcl.ExtCtrls, BCControls.Edit, BCDialogs.Dlg, ComCtrls, DB, DBAccess, Ora, MemDS, ActnList, VirtualTree...
{ ****************************************************************************** } { * FFMPEG video Reader by qq600585 * } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
{$mode objfpc}{$h+} unit RGB16writer; interface uses FPImage, classes, sysutils, BMPComn; type PFastBitmapPixelComponents16Bit = ^TFastBitmapPixelComponents16Bit; TFastBitmapPixelComponents16Bit = packed record Blue: 0..31; // 5 bits Green: 0..63; // 6 bits Red: 0..31; // 5 bits end; TFPWriterRG...
{$N+} unit UGrafica; interface Uses Graph, CRT, UCalc3D, UCalcVec, UPoligon; {---------------------------------------------------------------} {---------------------------------------------------------------} var MidX, MidY: word; {Mijlocul ecranului} {---------------------------------------------------------------} f...
unit Server.Models.Ativo.Agenda; interface type TAgendaOperador = class Strict private fMANUAL: String; fCAMPANHA: String; fCOD_ERP: Integer; fCLIENTE: String; fCODIGO: Integer; fCONCLUIDO: String; fDT_AGENDAMENTO: TDateTime; fCODIGO_CLIENTE: Integer; fCOR: string; published ...
unit uRepositories; interface uses REST.Json.Types; type TRepository = class private [JSONName('id')] FId: Int64; [JSONName('name')] FName: string; [JSONName('html_url')] FUrl: string; [JSONName('description')] FDescription: string; public property Id: Int64 read FId; ...
unit RRManagerDiscoveredStructureInfo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CommonComplexCombo, RRManagerBaseObjects, RRManagerObjects, RRManagerBaseGUI, RRManagerCommon; type // TfrmDiscoveredStructureInfo = class(TFrame) TfrmDiscoveredStructure...
{ complete overstrike, improved to print fewer lines } program overstrike (input, output); const ENDFILE = -1; NEWLINE = 10; { ASCII value } BLANK = 32; BACKSPACE = 8; PLUS = 43; type character = -1..127; { ASCII, plus ENDFILE } { getc -- get one character from standard input } function ge...
unit UFrmBaseCrud; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmBasePrincipal, Vcl.ExtCtrls, Vcl.Buttons, Vcl.ToolWin, Vcl.ComCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, System.ImageList, Vcl.ImgList, Vcl....
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Cadastro de Parâmetros para o módulo Contabilidade The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
unit BPLA; interface uses Locations; type TBPLA = class(TObject) x,xprev:extended; y,yprev:extended; z,zprev:extended; Vxy:extended; //скорость в плоскости xz Vz:extended; //скорость по высоте Axy:extended; Az:extended; angle:extended; NextLocation:TLocation; procedure MoveX (t:extended;...
unit AllObjectsAsTreeFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Material, ComCtrls, Menus, ImgList, ActnList, StdCtrls; type TfrmAllObjectsTree = class(TFrame) GroupBox2: TGroupBox; cbbLst: TComboBox; actnListForTree: TActionList; ...
unit xml_db; {< Contains TXMLDBCreator.} {$mode objfpc}{$H+} interface uses Classes, SysUtils, tiOPFManager, tiObject, tiQuery ; type // ----------------------------------------------------------------- // Object classes // ----------------------------------------------------------------- ...
{ Detect circular previous info PNAM links in INFO records } unit CheckForCircularINFOs; var slINFOs: TStringList; function Initialize: integer; begin slINFOs := TStringList.Create; end; function Process(e: IInterface): integer; var info: IInterface; begin if Signature(e) <> 'INFO' then Exit; slINFO...
unit UDbfFieldDef; interface uses classes,UDbfCommon,db,SysUtils; {$i _dbfCommon.inc} type PDbfFieldDef = ^TDbfFieldDef; TDbfFieldDef = class(TCollectionItem) private _FieldName:string; _FieldType:tFieldType; _NativeFieldType:tDbfFieldType; _Size:integer; _Prec:Integer;...
{$include kode.inc} unit syn_s2_widgets; { red modamt orange amt yellow src green cyan type blue magenta modsrc } //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses...
{ Subroutine STRING_PROGNAME (PNAME) * * Return the name of the top level program running this process. * * This version is for any OS where we are given the entire command line and * parse it ourselves, and where the first token on that command line is * the program name. } module string_progname; define str...
unit ReportingDemoMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Sensors, Generics.Collections, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, Data.Bind.EngEx...
unit UnitMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, Menus, UnitSoko, StdCtrls, Buttons; type // TODO: Name of level in the top TFormGame = class(TForm) MainMenu: TMainMenu; NGame: TMenuItem; NLoad: TMenuItem; DrawSoko: TDra...
Program Aufgabe4(input, output); type tRefDVElement = ^tDVElement; tDVElement = record Wert : integer; next, prev : tRefDVElement end; var list : tRefDVElement; procedure printList (inList : tRefDVElement); begin while (inList <> nil) do begin write(inList^.wert); write(' next:'); ...
unit ServerUtilities; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 co...
function IsLeapYear(year: integer):boolean; begin if (year mod 4 = 0) and (year mod 100 <> 0) then Result:=true else if year mod 400 = 0 then Result:=true else Result:=false; end; begin //print(IsLeapYear(257)); end.
{*******************************************************} { Copyright(c) Lindemberg Cortez. } { All rights reserved } { https://github.com/LinlindembergCz } { Since 01/01/2019 } {******************************************...
unit TBGConnection.Model.DataSet.Proxy; interface uses Classes, TBGConnection.Model.Interfaces, System.Generics.Collections, Data.DB, TBGConnection.Model.DataSet.Interfaces; Type TTBGConnectionModelProxy = class(TInterfacedObject, iDriverProxy) private FCacheDataSet : TDictionary<string, iDataSet>; ...
unit uProjectDetailsFrame; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.ListView, FMX.Objects, FMX.Scro...
unit SpecialFolders; interface const CSIDL_INTERNET = $0001; CSIDL_PROGRAMS = $0002; CSIDL_CONTROLS = $0003; CSIDL_PRINTERS = $0004; CSIDL_PERSONAL = $0005; CSIDL_FAVORITES = $0006;...
// //利用SendInput模拟鼠标键盘的输入 //作者:yeye55 2010年1月31日 // //版权 2010,由 yeye55 拥有,保留所有权利。 //本文件中的代码是免费程序,无需任何授权或许可即可用于个人和商业目的。使用者一切后果自负。 // //如果你转载了本文件中的代码,请注明代码出处和代码作者; //如果你修改了本文件中的代码,请注明修改位置和修改作者。 // //本文件最早在http://www.programbbs.com/bbs/上发布 // unit SIMouseKeyboard; interface uses Windows; const //虚键码定义 VK_L...
unit GDIPAPI; interface uses Windows, AvL; type TStatus = (Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, No...
unit Plus.TWork; interface uses System.Classes, System.SysUtils, System.Generics.Collections, VCL.ActnList; type TWork = class; EInvalidWork = class(Exception); TWorkActionEvent = procedure(Sender: TObject; AWork: TWork) of object; TClassOfWork = class of TWork; TWorkAction = class(TAction) p...
unit uDMRequest; interface uses Winapi.Windows, Vcl.Dialogs, System.SysUtils, System.Classes, IPPeerClient, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, D...
unit uDBInf; interface uses ADODB, DB, ActiveX, SysUtils, Classes, uDBFieldData; type TDBInterface = packed record DBServer: string; DBPort: Integer; DBUserName: string; DBPassword: string; DBName: string; end; TDatabaseControl = class private //FADOQuery: TADOQuery; //FDataSou...
unit UnitMath3D; // Copyright (C) 2006-2017, Benjamin Rosseaux - License: zlib {$ifdef fpc} {$mode delphi} {$ifdef cpui386} {$define cpu386} {$endif} {$ifdef cpu386} {$asmmode intel} {$endif} {$ifdef cpuamd64} {$asmmode intel} {$endif} {$ifdef fpc_little_endian} {$define little_endian} {$...
unit Movimentacao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, JvSpeedButton, Buttons, ExtCtrls, StdCtrls, DB, Cadastro, TabListN, DBClient, UPersistentObject, Clipbrd, cxGraphics, cxGridDBTableView, cxGridCustomTableView, UPersistentObjectDBX; ty...
unit Calculadora.Interfaces; interface uses Calculadora.Eventos; type iCalculadora = interface; iOperacoesDisplay = interface; iOperacoes = interface ['{655C8757-9943-4A39-840C-D2DBC0B7039A}'] function Executar: String; function Display : iOperacoesDisplay; end; iOperacoesDisplay = interface ...