text
stringlengths
14
6.51M
unit UDBLabel; interface uses classes, UDBPickUp, db, stdctrls, Ulabel, Forms,UDBView,UDBVAux, comctrls; type TUDBPickUpStyle = (psNoModal,psModal,psModalOnePick); type TUDBLabel = class(TCustomULabel) private P : TUDBPickUp; D : TUDBData; C : TUDBLook; P...
{*****************************************************************************} { This file is part of the Free Pascal's "Free Components Library". Copyright (c) 2005 by Giulio Bernardi This file contains classes used to dither images. See the file COPYING.FPC, included in this distribution, for d...
{###### Pf_Graph.PAS ###### ... a unit file of screen graphic and plotting routines - Windows 95 Delphi Version 3.0 Version 5.0 -- 21/05/02 Written by: Roy Harrison, Roy Harrison & Associates, Incorporating TECTONIC Software Engineers, MODBURY HEIGHTS, SA 5092, Rev...
unit UGrupoProdutos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, RbDrawCore, RbButton, ExtCtrls, StdCtrls, DBCtrls, DB, Mask, Grids, DBGrids, RXDBCtrl, RXCtrls, Buttons, rxToolEdit; type TFGrupoProdutos = class(TForm) PaginaControle: TPageC...
unit uDB; 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.VCLUI.Wait, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.MySQLDef, FireDAC.Ph...
unit Aspect; interface uses System.SysUtils, System.Rtti; type IAspect = interface ['{7647B37E-7BEA-42BD-ADEE-E719AF3C6CE9}'] function GetName: string; procedure OnBefore( instance: TObject; method: TRttiMethod; const args: TArray<TValue>; out invoke: Boolean; out r...
unit PerformanceDiagnostics.Interfaces; interface type IMethodProxy = interface ['{A30FC512-01B1-44FE-8A80-86080BD3F152}'] end; IMethodInterceptor = interface ['{9536B254-CD46-4778-AFBF-9136334E497F}'] end; IPerformanceDiagnostics = interface ['{E206BC61-8D6A-42DC-B89B-EDF21F4762E1}'] function...
unit configform; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, StdCtrls, ExtCtrls, ComCtrls, Forms, Dialogs, jpeg, Menus, Trayicon; type TConfigScreen = class(TForm) B_OK: TButton; B_Cancel: TButton; CB_ClearBackground: TCheckBox; TB_MouseSens: TTrackBar; L_MouseSen...
{----------------------------------- Vector operation with Intel SSE instruction implementation ------------------------------------- (c) 2017 Zamrony P. Juhara <zamronypj@yahoo.com> http://github.com/zamronypj/simd ------------------------------------- Tested on Ubuntu 14.04 64 bit Intel core i7 --------------------...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.WindowsStore, Vcl.StdCtrls, Vcl.ComCtrls, Math; type TForm1 = class(TForm) PageControl1: TPageControl; TabSheet3: TTabSheet; Label1...
// echo 'abc' | ./P1 // echo 'bac' | ./P1 // echo 'bca' | ./P1 // echo 'cba' | ./P1 // echo 'cab' | ./P1 // echo 'acb' | ./P1 { DP-3 сортирует 3-строку из INPUT в OUTPUT } PROGRAM MinSort3 (INPUT,OUTPUT); VAR Ch1, Ch2, Ch3: CHAR; BEGIN { MinSort3 } READ(Ch1, Ch2, Ch3); WRITELN('Входные данные ', Ch1, Ch2, Ch3); ...
unit uMenu; interface uses superobject, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.Edit, FMX.ComboEdit, FMX.ComboTrackBar, FMX.StdCtrls, FMX.WebBrowser, FMX.TabControl...
unit ZMDlg; (* ZMDlg.pas - DialogBox with buttons from language strings TZipMaster VCL by Chris Vleghert and Eric W. Engler v1.79 Copyright (C) 2005 Russell Peters This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publis...
{$G+,N+,F+} (**************************************************************************** mouse.pas: obsluga myszy autor: Lukasz Lasek (lasekl@softlab.ii.uj.edu.pl) kompilator: Borland Pascal v7.0 wymagania: mysz microsoft lub kompatybilna biblioteka moze byc rozpowszechniana w postaci niezmienionej...
{$i ../common/language.inc} {$IFDEF PORTUGUES} {: @abstract(Implementa um tag PLC numérico para uso geral.) @author(Fabio Luis Girardi fabio@pascalscada.com) } {$ELSE} {: @abstract(Unit that implements a numeric tag for general use.) @author(Fabio Luis Girardi fabio@pascalscada.com) ************...
unit Unit1; {$mode objfpc}{$H+} interface uses LCLType, LCLIntf, LCLProc, Classes, SysUtils, FileUtil, Forms, Controls,Unit2, Graphics, Dialogs, StdCtrls, ExtCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Label1: TLabel; Memo1: TMemo; ...
(**************************************************************************** redasm88.pas: assembler redcode, ICWS'88 autor: Lukasz Lasek (lasekl@softlab.ii.uj.edu.pl) kompilator: Borland Pascal v7.0 biblioteka moze byc rozpowszechniana w postaci niezmienionej wraz z kodem zrodlowym. autor nie bierz...
unit uInterception; interface const INTERCEPTION_MAX_KEYBOARD = 10; INTERCEPTION_MAX_MOUSE = 10; INTERCEPTION_MAX_DEVICE = ((INTERCEPTION_MAX_KEYBOARD) + (INTERCEPTION_MAX_MOUSE)); function INTERCEPTION_KEYBOARD(index: Integer): Integer; function INTERCEPTION_MOUSE(index: Integer): Integer; type Intercept...
// Judul program menukar_dua_buah_tanpa_variabel_bantuan; {I.S. : User masukan dua buah angka} {F.S. : Menampilkan dua buah angka yang telah bertukar} // Kamus var angka1, angka2 : integer; // Algoritma begin // Input(angka1, angka2) write('Masukkan angka1: '); readln(angka1); write('Masukkan angka2: '); read...
{********************************************************** Copyright (C) 2012-2016 Zeljko Cvijanovic www.zeljus.com (cvzeljko@gmail.com) & Miran Horjak usbdoo@gmail.com ***********************************************************} unit Elements; {$mode objfpc}{$H+} {$modeswitch unicodestrings} {$namespace zeljus.com.d...
unit TextReport; interface uses // VCL Classes, SysUtils, Variants, // Tnt TntClasses; type { TTextReport } TTextReport = class private FLines: TTntStrings; FCaptionLen: Integer; function GetText: WideString; public constructor Create(CaptionLen: Integer); destructor Destroy; ov...
unit SliceChain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, AnyiQuack, AQPControlAnimations; // AnyiQuack-Plugin type TForm1 = class(TForm) Button1: TButton; B...
{------------------------------------------------------------------------------- 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...
unit announcement; { TStationAnnouncement class implements logic of a station announcement in an area. } interface uses Generics.Collections, IdContext, Classes, SysUtils; const _ANN_TRAINTYPE_FORBIDDEN: array [0 .. 5] of string = ('Pn', 'Mn', 'Vn', 'Lv', 'Vle', 'Slu'); type TAvailableEvent = procedure(Sende...
{ ******************************************************************************* Title: T2Ti ERP Description: Controller do lado Servidor relacionado à tabela [PESSOA] 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...
{AVI file format} unit fmt_AVI; {$include compilers.inc} interface function ReadAVI(Info:UIntPtr):boolean; implementation uses wat_api, common, srv_format; type FOURCC = array [0..3] of AnsiChar; type TBitmapInfoHeader = record biSize : dword; biWidth : long...
unit UPipeServer; interface uses SysUtils, Classes, Windows, ActiveX, Messages, UThreadQueue; const PIPE_TIMEOUT = 1000; BUFFER_SIZE = 4096; type TNamedPipeServer = class; TInitializedThread = class(TThread) private FFatalError: TObject; protected procedure RaiseException; procedure Execu...
unit FormularioCadastroClientes; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, System.JSON, Vcl.Mask, XMLDoc, XMLInt...
unit menusystem; {$mode objfpc} interface uses Classes, SysUtils, webgl, Font, Camera; type TOnClickEvent = procedure of object; TButton = class private fLeft: integer; FOnClick: TOnClickEvent; fSize: double; fText: string; fTop: integer; public constructor Create; proper...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit PropertiesDemo; // Virtual Treeview sample form demonstrating following features: // - Property page like string tree with individual node editors. // - Incremental search. // Written by Mike Lischke. {$WARN UNSAFE_CODE OFF} // Prevent warnins that are not applicable interface uses Windows, Messages, Sys...
UNIT Sphere; INTERFACE {$IFDEF SSE} {$CODEALIGN LOCALMIN=16} {$CODEALIGN VARMIN=16} {$CODEALIGN RECORDMIN=16} {$ALIGN 16} {$ENDIF} USES Utils, Vector, Ray; CONST SurfaceType_Diffuse = 0; SurfaceType_Specular = 1; SurfaceType_Refractive = 2; TYPE TSphere = CLASS PUBLIC ...
unit Controller.FrmAgendaDiaFuncionario; interface uses model.agendar,model.funcionario,System.threading, {$ifdef Android}Androidapi.JNi.Toast,{$endif}FMX.ListView,FMX.ImgList,udao; Type IController = interface ['{86ADA9C9-B7C3-4554-B361-A22ECEE0275B}'] procedure ShowForm; function ListarFuncionarios(AListView:TListv...
unit SvREST.Method; interface uses SvHTTPClientInterface ,Generics.Collections ,Rtti ; type TSvRESTParameterType = (ptBody, ptHeader); TSvRESTMethodParameter = class private FName: string; FValue: TValue; FIsNameless: Boolean; FIsDisabled: Boolean; FParamType: TS...
unit ServerMethods; interface uses System.SysUtils, System.Classes, System.Json, Data.FireDACJSONReflect, Datasnap.DSServer, Datasnap.DSAuth, 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, F...
unit untPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.GIFImg, Vcl.Samples.Gauges, untPerguntas; type TfrmPrincipal = class(TForm) Status...
unit AST.Delphi.Parser; interface uses System.SysUtils, System.Types, System.StrUtils, System.Classes, OPCompiler, iDStringParser, AST.Classes, NPCompiler.Intf, NPCompiler.Operators, OPCompiler.Parser, NPCompiler.Messages, NPCompiler.Errors, NPCompiler.Clas...
unit base.cadastro.view; interface uses base.model, base.model.intf, base.DAO.intf, base.cadastro.view.intf, auxiliares.classes, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCt...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
{ HM NIS Edit (c) 2003 Héctor Mauricio Rodríguez Segura <ranametal@users.sourceforge.net> For conditions of distribution and use, see license.txt Replace text form } unit UReplace; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, D...
unit UWP.FluentForm; interface uses System.SysUtils, System.Classes, Vcl.Forms, Winapi.Windows, Winapi.Messages, Vcl.ExtCtrls; type TBoundCaption = class(TCustomPanel) private function GetTop: Integer; function GetLeft: Integer; function GetWidth: Integer; function GetHeight: Integer; pr...
unit uallTrapHook; interface uses windows, uallUtil, uallKernel; function TrapHook(pTargetFunction: Pointer; pCallbackFunction: Pointer; var pNewFunction: Pointer): Boolean; stdcall; implementation type PListItem = ^TListItem; TListItem = packed record pAddr: Pointer; pNextItem: PListItem; end; type...
//--------------------------------------------------------------------------- // 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/ ...
unit uclsProdutoServico; interface uses Classes, SysUtils, StrUtils, uProduto; type TcProdutoServico = class(TComponent) private fProduto : TProduto; protected class var _instance : TcProdutoServico; constructor Create(AOwner : TComponent); override; public class function Instance : TcPro...
program Promotion_POI2000; const maxn = 1000000; type pTHeap = ^THeap; THeap = object friend:pTHeap; partner,value : array[1..maxn] of longint; hsize:longint; procedure moveup(var k:longint); procedure movedown(var k:longint); procedure insert(v,vpart:lo...
unit FacilitaFiscal.View.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.WinXCtrls, Vcl.ExtCtrls, ACBrNFeDANFEFR, ACBrDFe, ACBrNFe, FaciliaDanfe.Controller.Dados, FacilitaDanfe.Control...
unit HaengeGestaenge; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Types, dglOpenGL, MyMath, Mesh, Stange; type { THaengeGestaenge } THaengeGestaenge = class(TObject) private fpos, fG_xy: TPointF; HaengeEisen, Stange_g, Stange_h: TStange; fWinkel: single; HEPos: record m...
program simplegame; {$mode objfpc}{$H+} uses cmem, raylib, math; //Types and Structures Definition type TGameScreen = (LOGO = 0, TITLE, GAMEPLAY, ENDING); const screenWidth = 800; screenHeight = 450; var CurrentScreen: TGameScreen; FramesCounter:integer; begin InitWindow(screenWidth, screenHeight, 'raylib...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit UTSuperPanel; interface uses SysUtils,Graphics,Controls,StdCtrls,ExtCtrls,Forms,NxGrid,NxCustomGridControl, propscrl,Types,AdvGrid,NxColumnClasses,Classes,NxColumns,Grids; type TSuperPanel=class private FsContrato,FsNumeroOrden:string; FIdentificador:string; iAuxPos,RowAnt, Co...
{***************************************************************************} { } { LeakCheck for Delphi } { } { ...
unit ujAlcohol; interface uses SysUtils, Classes, Windows; procedure AvailableImages(var inStrs : TStrings); procedure MountImage(Img : TFileName; onDrive : Char); Procedure UnMountImg(OnDrive : Char); implementation Uses JCLShell, Registry; {-----------------------------------------------------------------------...
unit VK.Classes; interface uses System.Classes, IdGlobal, IdHTTP, IdSSLOpenSSL; type TVKGroup = class private FHTTP:TIdHTTP; FGroupID:string; FLogin:string; FPassword:string; FToken:string; FLastPostId:string; FTokenAllow:Boolean; function GetToken(var AToken: string):Boolean; public ...
unit GeometryUnit; {$mode objfpc}{$H+} interface uses Math; type TPoint= record x, y: Extended; end; TLine= record a, b, c: Extended; end; TLineSegment= record L: TLine; S, E: TPoint; end; function CreatePoint(x, y: Extended): TPoint; function CreateLine(P, Q: TPoint): TLine...
{$G+,N+} unit MyGFace; interface uses NGraph, Mouse, Crt; const SCR_W = 800; SCR_H = 600; _MAX_BUTTONS = 231; _BUTTON_NONE = $ffff; type PWindow = ^TWindow; TWindow = object x, y, w, h: Word; constructor Init( _x, _y, _w, _h: Word ); procedure ...
(******************************************************************************* * Function Block "fbGetIpAddress" for MOVI-PLC (R) ******************************************************************************** * Provides functions for MOVI-PLC (R) * (c) 2009 by SEW-EURODRIVE Argentina S.A. *******...
unit iFormPrincipal; interface uses fFormPrincipal, Vcl.Controls, Vcl.StdCtrls; type TTipoLancamento = (ttlContasAPagar, ttlContasAReceber, ttlCaixa, ttlVeiculos, ttlEstoque, ttlFornecedores, ttlSalariosAPagar, ttlCapitalSocial, ttlEmprestimos, ...
unit ConfigurationBase; interface uses SysUtils, Classes, DelphiData, ConfigOptions; type TPersonalityOptions = class; TConfiguration = class(TPersistent) protected function GetName: string; virtual; abstract; function GetVersionStr: string; virtual; abstract; public function SupportsPersonali...
program ExampleCallback; {$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif} {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} uses SysUtils, IPConnection, BrickletAmbientLight; type TExample = class private oIPConnection: TIPConnection; oBricklet: TBrickletAmbientLight; public procedure IlluminanceCB(sender: TBr...
unit uTRBaixaACDAO; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,uTRBaixaACModel, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,uTipoAcrescim...
// MIT License // Copyright (c) 2019-2021 Wuping Xin. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
{$REGION 'documentation'} { Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } { Command to calculate directory size @created(10/02/2016) @author Vencejo Software <www.vencejosoft.com> } {$ENDREGION} unit ooFS.Dir...
{*******************************************************} { } { Audorra Digital Audio Library } { Copyright (c) Andreas Stöckel, 2009 } { Audorra is an "Andorra Suite" Project } { ...
unit GeneticBrain; {$mode objfpc} interface type TStartPopulationStrategy = ( SPS_BLANKET, SPS_SHOTGUN, SPS_FOCUS ); TSelectionTypes = ( ST_RANDOM, ST_SPECIFIED_GRAPH, ST_ELITE, ST_TOURNIR, ST_INBREADING, ST_GIBRIDISATION ); TCrossingoverTypes = ( CT_STANDARD_O...
unit Soccer.Voting.Domain; interface uses System.SysUtils, System.Generics.Collections, System.RegularExpressions, Soccer.Exceptions, Soccer.Preferences, Soccer.Domain.Abstract, Soccer.Domain.Factory, Soccer.Rule.Abstract, Soccer.Rule.Chooser, Soccer.Voting.Actions, Soccer.Voting.RulesDict; ...
unit TrainingReceiptPrinter; interface uses // VCL Windows, Classes, SysUtils, // This ReceiptPrinter, FiscalPrinterDevice, PrinterParameters, StringUtils, PrinterTypes, SharedPrinter, FiscalPrinterTypes, DeviceTables, MathUtils, WException, gnugettext; type { TTrainingReceiptPrinter } TTrainingRece...
unit Hintctrl; { These Hint Controls have been designed by Alexandre GUILLIEN They all show a Hint to complete a clipped Text in a control. The most useful are the THListBox and the THDBGrid. This is FREEWARE. However, should publish any modification, please notify me. E-Mail = AGuillien@csi.com Mail...
unit IntfGarageCommunication; interface uses System.Classes; type TGarageStatus = (gsUndefined, gsOpen, gsClosed, gsIntermediate); const CGarageStatus_Key : array[TGarageStatus] of string = ('', 'Open', 'Closed', 'unknown'); type IGarageCommunication = interface ['{E7C229C3-79E6-47BD-81FF-3B4B19CDC21C}...
UNIT TreeUtils; INTERFACE USES WordType; TYPE Tree = ^NodeType; NodeType = RECORD Word: WordString; Score: INTEGER; LLink, RLink: Tree; END; PROCEDURE WriteTreeContent(VAR Ptr: Tree; VAR FOut: TEXT); { Печатает в алфавитном порядке содержимое дерева в фа...
unit ActNumberEdit; interface uses Windows, Messages, SysUtils, Classes, Controls, StdCtrls, ExtCtrls, ActCustomEdit, ActHintBalloon; type TActNumberEdit = class(TActCustomEdit) private FValue: Integer; ActHint: TActHintBalloon; procedure SetValue(const Value: Integer); { Privat...
unit Unit2; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Ex_Grid, Vcl.ExtCtrls, Vcl.StdCtrls; type TGridColumnsDlg = class(TForm) Label1: TLabel; ColumnsGrid: TGridView; Label2: TLabel; Show...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit fmuFptrDirectIOStr; interface uses // VCL Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, // Tnt TntStdCtrls, TntSysUtils, TntClasses, // This untPages, OposFiscalPrinter, DirectIOAPI, Opos, CommandDef, CommandParam, BStrUtil, LogFile; typ...
unit ImgList; interface uses Types, Classes, Graphics; type TDrawingStyle = (dsFocus, dsSelected, dsNormal, dsTransparent); TImageType = (itImage, itMask); TOverlay = 0..3; TResType = (rtBitmap, rtCursor, rtIcon); HImageList = THandle; TCustomImageList = class; TChangeLink = class(TObject) ...
unit BlockLinker; { LINKER technological block definition. (úvazka) } interface uses IniFiles, Block, Menus, AreaDb, SysUtils, Classes, JsonDataObjects, IdContext, StrUtils, Area, Generics.Collections; type TBlkLinkerSettings = record parent: Integer; // reference na matersky blok (typu TTrat) end; TB...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PONTO_FECHAMENTO_JORNADA] 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 a...
Unit JcMainCt; { This file contains the main buffer controller for compression. The main buffer lies between the pre-processor and the JPEG compressor proper; it holds downsampled data in the JPEG colorspace. } { Original : jcmainct.c ; Copyright (C) 1994-1996, Thomas G. Lane. } interface {$I jconfig.inc} { No...
Program distanciaPontos; var x1, x2, y2, y1:integer; distancia:real; Begin writeln('Esse algoritmo calcula a distância entre dois pontos em um plano.'); writeln('A formula que calcula tal, é dada: distancia := sqrt(exp(2*ln(x2 - x1)) + exp(2*ln(y2 - y1)))'); writeln(); write('Sabendo...
unit uGlobalCriticalSection; interface procedure Enter; procedure Leave; implementation uses SyncObjs; var Lock : TCriticalSection; procedure Enter; begin Lock.Enter; end; procedure Leave; begin Lock.Leave; end; initialization Lock := TCriticalSection.Create; finalization Lock.Free; end.
unit MaskEditOO; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, extctrls; type {Define os tipos de maskeditOO trabalhados nos formularios} tipoMaskEditOO = (ftUnknown,ftInteger,ftFloat,ftString,ftDate,ftDateTime); type TMaskEditOO = class(TMaskEdit...
unit GPlcAyarTanim; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GSablon, cxGraphics, cxGridCustomPopupMenu, cxGridPopupMenu, Menus, cxEditRepositoryItems, cxEdit, cxPropertiesStore, cxStyles, cxContainer, DB, ADODB, ImgList, dxBar, dxBarExtItems, cxChec...
unit uUniqueName; {< this unit contains methods that will Create Unique Name} interface uses System.SysUtils, System.Classes, vcl.dialogs, System.RegularExpressions, StrUtils, uRSCommon, System.IOUtils, Vcl.Forms, uPSClasses; type TUniqueName = class(TDataModule) private function GetNumberInBrac...
{$REGION 'documentation'} { Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } { Drive object @created(10/02/2016) @author Vencejo Software <www.vencejosoft.com> } {$ENDREGION} unit ooFS.Drive; interface uses ...
{**************************************************************************************************} { } { Ray's JEDI Projects } { ...
{ ******************************************************************************* DW.CORE.TDWClientConnection is based in THttpAppSrv from Project Overbyte ICS http://www.overbyte.be/frame_index.html Delphi Web is Developped by Delcio Sbeghen @ SRP Sistemas delcio @ eavnet.com.br (remove spaces) under MIT ...
unit UntGetAssignment; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Generics.Collections, IdHTTP, IdGlobal, IntfMessageParser, CommunicationConst, CommunicationTypes, UntSimpleCommand, UntIpAddress, UntClientConfig, UntClientSession; type TErrorEvent = pr...
{$M+} unit PanamahSDK.Models.Meta; interface uses Classes, SysUtils, PanamahSDK.Types, PanamahSDK.Enums, Variants, uLkJSON; type IPanamahMeta = interface(IPanamahModel) ['{081B7FB0-7736-11E9-A131-EBAF8D88186A}'] function GetId: string; function GetMes: Double; function GetAno: Double; func...
unit Unit_ch17_1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; const n = 20; type array_n_elements = array[1..n] of integer; TForm1 = class(TForm) Memo1: TMemo; Edit1: TEdit; ...
Program DragPieceDemo;{Thu Dec 17, 1987, © HomeTown Software,1987 all rights reserved, this code not for distribution} {this program demonstrates use of our 'generic' DragPiece() procedure for animation of a 'piece' over a background. We're still trying to make the procedure truly independent. Currently it has some '...
unit CandidateFinder; interface uses IsotopeTable, MassSpectrum, System.Classes, System.SysUtils; const c_AssumeMissingThresh = 0.002; type TIsoMatch = class public FPeakIndex: Integer; FDistance: Double; end; TIso = class public FIsoMatches: TList; constructor Create; destructor Destroy;...
unit Modules.DbController; 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.MySQL, FireDAC.Phys.MySQLDef, FireDAC.VCLUI.Wait,...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit uItemMasterAdd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, DB, ffdb, NxEdit; type TfrmItemMasterAdd = class(TForm) Label2: TLabel; edtDescription: TEdit; Label4: TLabel; edtShortDesc: TEdit; Label1: TL...
unit KemenyDLLTests; interface uses System.SysUtils, System.Classes, System.Generics.Collections, DUnitX.TestFramework, Soccer.Voting.AbstractRule, Soccer.Voting.Preferences, Soccer.VotingRules.DLLRule; type [TestFixture] TKemenyDLLTests = class(TObject) private FKemeny: ISoccerVotingRule...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit ScintInt; { Delphi translation of Scintilla.h from Scintilla 2.21 by Jordan Russell $jrsoftware: issrc/Components/ScintInt.pas,v 1.3 2011/01/21 05:47:57 jr Exp $ } interface uses Windows; const INVALID_POSITION = -1; SCI_START = 2000; SCI_OPTIONAL_START = 3000; SCI_LEXER_STAR...
unit MassRemovalDopStatus; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, MemDS, VirtualTable, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, CRGrid, Vcl.StdCtrls, Vcl.Buttons, Vcl.ActnList, ActiveX, IntecEx...
unit CChartPropsFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CConfigFormUnit, StdCtrls, Buttons, ExtCtrls, Chart, CBaseFormUnit, ComCtrls, TeEngine, CPreferences, CChartReportFormUnit; type TMarksStyle = (msHidden, msValues, msLabels); TCChar...
unit rtEndereco; interface uses pFIBDatabase, pFIBQuery, SysUtils, Dialogs, Controls, DB, DBClient, Classes, rtTypes; type TDadosEnd = packed record id : Integer; CEP : String; UF : String; Cidade : String; Logradouro : String; Numero : String; Bairro ...