text
stringlengths
14
6.51M
{***********UNITE************************************************* Auteur ...... : BM Créé le ...... : 04/09/2002 Modifié le ... : 28/02/2003 : Compatibilité CWAS Description .. : Classe pour la fusion de documents Mots clefs ... : *****************************************************************} unit ClassMenuNewEv...
unit unConsVisitasRealizadas; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, unCustomConsulta, FieldHider, ShortCutControl, Placemnt, artSeguridad, QueryPrint, QueryToFile, ExportDialog, SortDlg, Db, SDEngine, Grids, AnsiSql, DBGrids, RXDBCtrl, ArtComboBox, ArtDBGrid,...
{ LZRoundedImage Demo by Lainz Last modified: 2020-09-06 17:01 GMT-3 Changelog: - 2020-09-06: Showcasing the component. Using all the style variations and the OnPaintEvent. } unit umain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ...
{ Author: Niels A.D Project: Lape (http://code.google.com/p/la-pe/) License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html) Generate import/export wrappers using libffi libffi. } unit lpffiwrappers; {$I lape.inc} interface uses Classes, SysUtils, ffi, lptypes, lpvartypes, lpcompiler; type TFF...
unit test_66_threadsInThreads; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, OtlComm, OtlTaskControl; const WM_LOG = WM_USER; type TfrmThreadInThreads = class(TForm) btnOTLFromTask: TButton; btnOTLFromThread: TButton; lbLog: TListB...
unit untFactoryMethod; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, pngimage, ExtCtrls, StdCtrls, untFactoryMethodPattern; type TfrmFactoryMethod = class(TForm) imgProduct: TImage; btnGerar: TButton; rgAnimal: TRadioGroup; lbl1: TLabel; ...
unit PusherServer; interface uses ComObj, System.Generics.Collections, System.Threading, System.Classes, SysUtils, System.SyncObjs; type TOptions = set of (UseSSL); TPusherServer = class private PusherServerNative: OleVariant; public constructor Create(AppID, AppKey, AppSecret: string; C...
unit WriteGHBObservationsUnit; interface uses Sysutils, StdCtrls, Grids, WriteFluxObservationsUnit; type TGHBObservationWriter = class(TCustomObservationWriter) protected function GetLayerRoot : string; override; function GetEVF : double; override; function GetIOWTQ : integer; override; function ...
Program FancyWiper; uses crt; Type {I define the following type for all my virtual screens. Using this record allows me to write to any screen variable very easily} ScreenType = array [1..25,1..80] of record ch : Char; Attr : Byte; end; Var {define a variable which points to t...
unit unReasignacionAbogado; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, PatternEdit, unArtFrame, unFraCodigoDescripcion, ExtCtrls, Grids, DBGrids, ComCtrls, ToolWin, FormPanel, DB, SDEngine, unfraJuzgados, unfraCodigoDescripcionExt,...
unit EasyConsole.Output; interface uses System.Console, System.Sysutils, EasyConsole.Spinner; type TSequence = EasyConsole.Spinner.TSequence; Output = class public class function BusyIndicator<T>(aAction: TFunc<T>; aSequence: TSequence = TSequence.Sequence1): T; overload; class function...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 26/03/2004 Modifié le ... : / / Description .. : Source TOF de la FICHE : VIDEINSIDE () Mots clefs ... : TOF;VIDEINSIDE *****************************************************************} Unit UTOF_VideInside ; Inter...
unit Foundation.Test.Utils; // Configurar: Project Manager > Right Click > Check "TestInsight Project" // Visualizar: View Menu > TestInsight Explorer interface uses {$IFDEF TESTINSIGHT} TestInsight.Client, TestInsight.DUnit, {$ENDIF} DUnitTestRunner; function IsTestInsightRunning: Boolean; pro...
{ @abstract(Properties store class) Entity properties, collection of properties The contents of this file are subject to the license defined in the file licence.txt. } unit g3property; {$I g3config.inc} interface uses g3types, {!}Template, g3IO; type // Possible property types TPropertyType = ( ...
unit Unit1; interface uses Windows, Messages, DCPsha256, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit; Edit2: TEdit; Label1: TLabel; OpenDialog1: TOpenDialog; procedure Button1C...
unit Ping; interface uses Windows, SysUtils, Classes, commandprocessor; type EBadHost = class(Exception); TSunB = packed record s_b1, s_b2, s_b3, s_b4: byte; end; TSunW = packed record s_w1, s_w2: word; end; PIPAddr = ^TIPAddr; TIPAddr = packed record case integer of 0: (S_un_b: TS...
unit Migrations.DDL.Firebird; interface uses System.SysUtils, System.StrUtils, System.Generics.Collections, Migrations.Common, Migrations.Intf; type TDMigrationDDLFirebird = class(TInterfacedObject, IDMigrationDDL) public function GetColumnType(AColumn: IDMigrationColumn): string; function GetColumnDef(A...
{*******************************************************} { } { Vladimir Gaitanoff Delphi VCL Library } { vgDBUtl unit } { } { Copyright (c) 1...
{*******************************************************} { } { Arabic Delphi VCL Units } { } { Modified by : Orwah Ali Issa (www.orwah.net) } { ...
unit FrmBatchInput; interface uses Windows, Messages, SysUtils, StrUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls; type TFormBatchInput = class(TForm) GroupBox1: TGroupBox; rbImageAndXY: TRadioButton; rbImage: TRadioButton; rbXY: TRadioButton; ...
{***********UNITE************************************************* Auteur ...... : JP Créé le ...... : 08/11/2002 Modifié le ... : Description .. : Source TOF de la FICHE : AFTABBORDOLE Mots clefs ... : OLE;EXCEL *****************************************************************} Unit UTOFAFTABBORDOLE; Interface Uses...
(* http://it-blackcat.blogspot.com/2020/06/change-image-resolution.html *) procedure ScaleJpeg2(jpg: TJPEGImage; const NewWidth, NewHeight: Integer; const StretchMode: Integer = HALFTONE); var bmp: Vcl.Graphics.TBitmap; fScale: Double; PrevPt: TPoint; begin fScale := Min(NewWidth / jpg.Width, NewHeight / j...
unit CheckVersionFunction; interface uses AnePIE, FunctionPie, SysUtils; function CheckArgusVersion(const aneHandle : ANE_PTR; const MajorToCheck, MinorToCheck, UpdateToCheck : ANE_INT32; const VersionToCheck :Char) : Boolean; // returns true if the version of Argus ONE running the PIE // is greater than...
{*******************************************************} { } { EhLib v7.0 } { Tool controls } { (Build 7.0.41) } { ...
unit amqp_framing_h; interface uses Windows, Messages, SysUtils, Classes, amqp_h; (** @file amqp_framing.h *) {$ifndef AMQP_FRAMING_H} {$define AMQP_FRAMING_H} {$HPPEMIT '#include <amqp.h>'} const AMQP_FRAME_END2 = 207;//for compile function AMQP_BEGIN_DECLS : PChar; const AMQP_PROTOCOL_VERSIO...
UNIT WinReg; { AUTHOR: Brian Kellogg MIT licensed } {$mode objfpc}{$H+} INTERFACE USES Classes, SysUtils, registry, regexpr; TYPE TWinReg = CLASS PUBLIC FUNCTION GetOSVersion: AnsiString; FUNCTION GetUACStatus: AnsiString; FUNCTION GetRDPStatus: AnsiString; FUNCTION GetWDigestCle...
unit LoggerImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º Logger Implementation // Author£º lksoulman // Date£º 2017-7-1 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses Logger, ...
unit BoundaryContourUnit; interface uses Classes, SysUtils, VertexUnit; type TContourType = (ctNone, ctPoint, ctOpen, ctClosed); TBoundaryContour = class(TObject) private FVertexList : TList; function GetVertex(Index : integer) : TVertex; function GetVertexCount : integer; public ...
unit Xmpp.tls.StartTls; interface uses Element,XmppUri; type TStartTls=class(TElement) const TagName='starttls'; private function FGetRequired:Boolean; procedure FSetRequired(value:Boolean); public constructor Create;override; property Required:Boolean read FGetRequired write FSetRequired...
unit frmEasyValues; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, LiEasyForm, StdCtrls, ExtCtrls, ComCtrls; type TEasyValuesForm = class(TForm) lvValues: TListView; GroupBox1: TGroupBox; Label1: TLabel; edtName: TEdit; btnRe...
////////////////////////////////////////////////////////////////////////////// // // Unit: zlib_inflater // // Description: Inflater // This file is a part of the zlib data // compression library for delphi // (re-implementation of zlib-1.2....
program StringDictionaryExample; {EXSDICT.PAS} uses OpRoot; type NameDataPtr = ^NameData; NameData = record Age : Byte; Addr : String; end; var NamePtr : NameDataPtr; NameDict : StringDict; Status : Word; begin {Initialize a StringDict} if not NameDict.Init then begin Writeln('Failed to m...
unit unProduto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TProduto = class CodigoDeBarras : string; nome : string; descricao : string; preco : string; quantda...
unit AnketDataFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, AzStringGrid, StdCtrls, Buttons, ExtCtrls, DB, ActnList, Math, IBCustomDataSet, IBQuery, IBDatabase; type TAnketDataForm = class(TForm) Panel1: TPanel; SourceListBox: TListBox;...
(*!------------------------------------------------------------ * [[APP_NAME]] ([[APP_URL]]) * * @link [[APP_REPOSITORY_URL]] * @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]] * @license [[LICENSE_URL]] ([[LICENSE]]) *------------------------------------------------------------- *) unit Ho...
unit TestOtlParallel; interface {$IFDEF Unicode} uses TestFramework, GpStuff, Windows, DSiWin32, OtlContainers, SysUtils; type // Test methods for class IOmniBlockingCollection TestParallelFor = class(TTestCase) protected FTestData: array of integer; procedure TestRange(iFrom, iTo, iStep: integer); ...
{ MBR - (c)(r) 1995 by MZ Computer Systems Kopieren des Master Boot-Records } program write_mbr; uses dos; var BootPtr : Pointer; type SecPos = record { beschreibt die Position eines Sektors } Kopf : byte; { Schreib-/Lesekopf } SecZyl : word...
unit Estado; interface uses SysUtils, Contnrs; type TEstado = class private Fcodigo: integer; Fnome: String; Fsigla: String; procedure Setcodigo(const Value: integer); procedure Setnome(const Value: String); procedure Setsigla(const Value: String); public property codigo :inte...
unit PXL.Boards.Galileo; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free S...
Unit Land; Interface uses l_math,GLControl; type T2DCamera = Object Width,Height: integer; PRender : PglRender; Position : TVec3f; Procedure SetView; Procedure SetPosition( P: TVec3f ); Function PointInCamera( P: TVec3f ): boolean; Function SphereInCamera( P: TVec3f; Ra...
// Original code from https://sourceforge.net/projects/sapidll/ // Modified by Alexey (SynWrite) // removed SAPI4 usage unit SpeechMulti; interface uses Windows, SysUtils, Classes, sapi5cut, ActiveX; const DefaultVolume = 80; DefaultSpeed = 10; DefaultPitch = 0; MaxSpeed = 20; MinSpeed = 0; MaxVolume...
unit uiTT3D; (********************************************************************** File name: uitt3d.pas This file is part of: tt3d LICENSE 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...
(* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
unit UnitAnimationThreadProgress; interface uses Windows, Messages, Classes, SysUtils, Variants, Graphics, Controls, Forms, ExtCtrls; type TFunctionProgressValue = function(var aValue:Integer):Variant; TanimationThreadProgress = class(TThread) private FWnd: HWND; FInterval : integer; FLbProgres : TWi...
unit UTWordsDictionary; interface uses System.SysUtils,Generics.Collections,Generics.Defaults,UTSegY,UTTraceSegY; type TWordsDictionary = class Words:TDictionary<String,Double>; TraceSegY: TTraceSegY; multiplier:Double; constructor Create(TraceSegY: TTraceSegY;multiplier:Double); dest...
unit MT3DInitConc; interface uses SysUtils, ANE_LayerUnit, MT3DGeneralParameters; const kInitParam = 'Initial Concentration'; kSorbInitParam = 'Sorbed Initial Concentration'; kMT3DTopElev = 'Top Elevation'; kMT3DBottomElev = 'Bottom Elevation'; kMT3DPointInitConc = 'MT3D Point Initial Concentration Unit'; ...
unit mbProgrammerInterface; interface uses System.Classes, ChipAbstractInterface, DeviceModuleInterface; type ImbProgrammer = interface(IDeviceModule) ['{FADD8103-BF3F-45CB-BAE8-5E6A23676392}'] function ChipSupported(GUID : TGUID): boolean; stdcall; function SupportedChip :TGUID; stdcall; pr...
// Copyright(C): Advanced Card Systems Ltd // // File: ACOSBinary.dpr // // Description: This sample program outlines the steps on how to // implement the binary file support in ACOS3-24K // // Author: Jose Isagani R. Mission // // Date: June 20, ...
unit DateTimePickerEnhance; interface uses Classes, ComCtrls, CommCtrl, CalendarConfig, Windows; type TDateTimePickerEnhance = class private FConfiguration: TCalendarConfiguration; constructor Create; procedure onDropDown(Sender: TObject); public class function ...
Program ex5_1; var a, b, c : integer; var res1, res2 : integer; begin write('Ebter three integers: '); read(a, b, c); if a > b then res1 := a else res1 := b; if res1 > c then res2 := res1 else res2 := c; writeln('The greatest number is ', res2); end.
unit PXL.Types.DX11; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softw...
unit UntLogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,UntUser, BaseFrm, RzCmboBx; type TFrmLogin = class(TForm) Label1: TLabel; EdtName: TEdit; Label2: TLabel; EdtPwd: TEdit; BtnOK: TButton; BtnCancel: T...
{******************************************************************************* 作者: dmzn@163.com 2019-02-22 描述: 参数配置管理器 备注: *.参数文档结构: <description>参数结构描述</description> <parameters>参数数据</parameters> *. *******************************************************************************} unit UPa...
unit frameBuscaFormaPagamento; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, System.StrUtils, Dialogs, StdCtrls, Buttons, Mask, RxToolEdit, RxCurrEdit, ObjetoGenerico, FormaPagamento; type TBuscaFormaPagamento = class(TFrame) StaticText1: TStaticText; edtCodi...
unit ZChkLstDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ZDlg, StdCtrls, Buttons, ExtCtrls, ImgList, ComCtrls; const nCheckListKindNone = -1; nCheckListKindExecutable = 0; nCheckListKindLast = nCheckListKindExecutable; nCheckListStateNone = -1; ...
unit CRepObject; interface uses Classes, Rep, RepRecord, RepEntity, EntityList, RepPropertyKey, RepObjectBase, RepPropertyValue; type TCRepObject = class(TRep) private FRepEntityMapping: TEntityList; FGlobalRepRecord: TRepRecord; procedure MergeRepEntityToGlobal(AnEntity: TRepEntity);...
unit RepositorioColecao; interface uses DB, Auditoria, Repositorio; type TRepositorioColecao = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function GetIdentificador...
UNIT uCommonTypes; INTERFACE CONST cGenStringArray255Len = 255; cCharArray40Len = 40; cCharArray32Len = 32; cCharArray30Len = 30; cCharArray20Len = 20; cCharArray18Len = 18; cCharArray12Len = 12; cCharArray10Len = 10; cCharArray8Len = 8; cWordArray8Len...
unit uFuncoes; interface uses FMX.Dialogs, Data.DB, System.JSON, System.RegularExpressions, System.Notification, System.StrUtils, System.SysUtils,System.Classes, IdBaseComponent, IdComponent, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdTCPC...
{*******************************************************} { } { Logger } { } { 版权所有 (C) 2011 Codeup } { ...
unit FrameWB; {.$DEFINE TESTMODE} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, ExtCtrls, Forms, Dialogs, strUtils, LogFile, OtherLanguages, NSDatSettingsUtils, Registry, Constants, ceflib, cefvcl; type TWBFrame = class(TFrame) Chrm: TChromium; procedure ChrmAdd...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 20/06/2005 Modifié le ... : / / Description .. : Source TOF de la FICHE : CPLIENSETAB () Mots clefs ... : TOF;CPLIENSETAB *****************************************************************} Unit CLIENSETAB_TOM ; Inte...
unit ProjectFunctions; interface {ProjectFunctions defines the PIE functions for creating a new model, editing the non-spatial data of that model, saving and loading models, and freeing the model data when the model is closed. It has has a function to lock or unlock the recharge elevation as appropriate. The latt...
unit cbSgThread; interface uses Windows, Messages, SysUtils, Classes, SyncObjs, { App: } cbClientClass, cbThread, cbDesignPattern, cbSo, { ODAC: } MemDS, VirtualTable, { RemObject: } cbROClientModule, uROTypes; type TSgThread = class(TBaseThread) private { Private declarations } FEvent: TSimpleE...
(* Exemplo criado pela documentação oficial do freepascal. Link: http://www.freepascal.org/docs-html/rtl/sockets -->Servidor: http://www.freepascal.org/docs-html/rtl/sockets/accept.html Outras informações importantes: - uma string para pascal tem seu primeiro caractere igual ao seu tamanho. ref.: http://www.baskent.e...
unit SplitGuessAlgorithm; interface uses SplitGuess, Entity, SentenceList, Hypernym, PosTagger, GuessObject, SentenceAlgorithm, SkyIdList, TypesConsts, SplitterComponent, SkyLists; type TSplitGuessAlgorithm = class private const CONST_InfiniteMaxIterationsActual = 10; private FS...
(****************************************************************************** * BeRoTinyPascal * ****************************************************************************** * A self-hosting capable tiny pascal compiler for the Win32 x86 platform * ...
unit LockQueue; interface {x$DEFINE FAKE_QUEUE} {x$DEFINE SINGLETON_DEBUG} uses typex, debug, systemx, Signals, sharedobject, generics.collections.fixed, betterobject, tickcount, numbers; type TlockQueue = class;//forward; TLock = class(TBetterSignal) public threadid: ni; refcount: ni; Q: Tlo...
(* BitMath by Dark, 2004 *) (* Simply Binaty Math Unit ? *) unit bitmath; interface uses Windows; type Bit = 0..1; type TBitSet = array[0..7] of Bit; type RGBSet = record R, G, B: byte; end; type TColor = -$7FFFFFFF - 1..$7FFFFFFF; type TAsByteArray = array[0..8] of byt...
unit UcadastroCliente; 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.Edit, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC...
// ******************************************************** // Copyright (c) 2016 Rob Judd <judd@ob-wan.com> // Based on C version by Charles Childers et al // ISC License - see included file LICENSE // ******************************************************** program unu; {$mode objfpc}{$H+} uses SysUtils; pr...
unit vgRXVCL; {$D-,L-} interface uses SysUtils, Placemnt, ComCtrls; procedure SaveListViewColumns(Placement: TFormPlacement; List: TCustomListView); procedure RestoreListViewColumns(Placement: TFormPlacement; List: TCustomListView); implementation type TListViewHack = class(TCustomListView); proced...
unit HttpContext; //////////////////////////////////////////////////////////////////////////////// // // Description£º HttpContext // Author£º lksoulman // Date£º 2017-9-13 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses GFData, Windows...
UNIT Email; INTERFACE USES Registry, Utils, ACLUtils, MainStrings; PROCEDURE InitEmailProcesses; PROCEDURE SendEmail(Subject,Body,Recip,AttachmentPath,AttachmentName:AnsiString); IMPLEMENTATION CONST SOCKET_ERROR = -1; AF_INET = 2; SOCK_STREAM = 1; IPPROTO_IP = 0; Code64 = 'ABCDEFGHIJKLMN...
unit IniFilesEx; interface uses IniFiles, SysUtils, Classes, {$IFNDEF FPC} Graphics, {$ENDIF} BaseUtils; type // TIniFileEx = class(TIniFile) TIniFileEx = class(TMemIniFile) private FDontSave: Boolean; FFileWasModified : Boolean; {$IFDEF FPC} FInDestroy : boolean; {$ENDIF} public ...
{==============================================================================| | Project : Ararat Synapse | 001.001.001 | |==============================================================================| | Content: Trivial FTP (TFTP) client and server ...
unit Game_Object; interface uses Vect_2D; Type Surface = (Bois, Metal, Piere, Brique, Plastique); type GameObject = record Texture : Surface; Position : Vect2D; end; procedure setObjTexture(var X : GameObject; TextureT : Surface); procedure setObjPosition(var X : GameObject; VecteurV : Vect2D); function getObjTextu...
unit MFDrain; interface {MFDrain defines the "Line Drain Unit[i]" and "Area Drain Unit[i]" layers and associated parameters and Parameterlists.} uses ANE_LayerUnit, SysUtils; type TDrainElevationParam = class(T_ANE_LayerParam) class Function ANE_ParamName : string ; override; function Units : string; ove...
unit OpenCV_Utils; interface uses Windows, Sysutils, Math, Graphics, Types, OpenCV_Types, OpenCV_ImgProc, OpenCV_Core; Function cvQueryHistValue_1D(hist: pcvHistogram; idx0: Integer): Float; Function cvQueryHistValue_2D(hist: pcvHistogram; idx0, idx1: Integer): Float; Function cvQueryHistValue_3D(hist:...
{*******************************************************} { } { Vladimir Gaitanoff Delphi VCL Library } { ConstsRC - Dutch Consts messages } { } { Copyright (c) 1...
unit FormWizard; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FormPropertyDialog, Vcl.ExtCtrls, typex, systemx, Vcl.StdCtrls, FrameHostPanel, FrameWizardPage, generics.collections; type TfrmWizard = class...
unit FMainList; interface {$I .\..\..\package\jedi.inc} uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, ComCtrls, StdCtrls, {$IFDEF DELPHIX_TOKYO_UP} System.ImageList, Vcl.CheckLst, {$ELSE} CheckLst, {$ENDIF} CWMIBase, CPrinterInfo; // Mensages...
unit DemoPagesU; interface uses EasyConsole.Types, EasyConsole.Framework; type TFruit = (Apple, Banana, Coconut); TMainPage = class(TMenuPage) public constructor Create; end; TInputPage = class(TMenuPageInput<TFruit>) public constructor Create; reintroduce; function W...
unit IOCPUtil; interface uses Windows, SysUtils, Classes, WinSock2, IOCPLibrary, AnsiStrings; const C_ERROR_IOPC_WSAStartup_1 = '致命错误!初始化失败!(%S)'; // 下面定义的是定时器队列要用的常数 WT_EXECUTEONLYONCE = $00000008; // 只触发一次 WT_EXECUTEINTIMERTHREAD = $00000020; // 在定时器队列线程里执行 // 下面定义的是定时器队列相关函数,delphi的windows.pas没有声明 /...
unit BCEditor.Editor.Caret.Offsets; interface uses System.Classes; type TBCEditorCaretOffsets = class(TPersistent) strict private FOnChange: TNotifyEvent; FX: Integer; FY: Integer; procedure DoChange(Sender: TObject); procedure SetX(Value: Integer); procedure SetY(Value: ...
{*************************************************************************************************** Zydis Code Generator Original Author : Florian Bernd * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to dea...
{ TPointingDeviceInfo Component Version 3.0 - Suite GLibWMI Copyright (©) 2020, by Germán Estévez (Neftalí) La clase Win32_PointingDevice representa un dispositivo de entrada usado para señalar y seleccionar zonas de la pantalla en un equipo Win32. Cualquier dispositivo usado para controlar un puntero o señalar en ...
(* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
unit main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TArg<T> = reference to procedure(const Arg: T); TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; ...
unit UserPositionSetImpl; //////////////////////////////////////////////////////////////////////////////// // // Description£º UserPositionSet Implementation // Author£º lksoulman // Date£º 2018-1-17 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interfac...
unit MenuItem; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MenuItemBase, ExtCtrls, StdCtrls, MenuTipos; type TfrMenuItem = class(TfrMenuItemBase) pnEsquerdo: TPanel; pnPrincipal: TPanel; lbPrincipal: TLabel; imgPrincipal: TImage; pnSepa...
unit AbstractLocker; interface uses betterobject, typex, systemx, sharedobject, generics.collections, tickcount, numbers, classes; type TAbstractLock = class(TBetterObject) function CollidesWith(l: TAbstractLock): boolean;virtual;abstract; function ToPersistentString: string;virtual; procedure FromPe...
{ Chain-4 mode example - scrolling 640x400 screen } { By Paradise / Fate (paradise@bachus.umcs.lublin.pl } uses Palette,Pal,Scr1,Scr2,Scr3,Scr4; procedure InitVga4; assembler; asm mov ax, 0013h { Use bios to enter standard Mode 13h } int 10h mov dx, 03c4h { Set up DX to one of t...
unit uNFSeBanco; interface uses SysUtils, Classes, FMTBcd, DB, SqlExpr, DBClient, Provider, MidasLib; type TdmNFSeBanco = class(TDataModule) sdsEnviarLote: TSQLDataSet; sdsEnviarLoteID: TIntegerField; sdsEnviarLoteCNPJ: TStringField; sdsEnviarLoteMUNICIPIO: TStringField; sdsEnviarLoteLOTE: TS...
program dz_5_1; uses SysUtils; Type TIntArray = Array of integer; var i : integer; sum : integer = 0; InputArray: TIntArray; function array_input(InputArray: TIntArray) : TIntArray; var UserInput: string; Ind : integer = 1; begin writeln('Введите значения элементов массива, подтверждая в...
unit CanvasU; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TfmExample = class(TForm) Panel1: TPanel; bbClose: TBitBtn; pbUfo: TPaintBox; Timer1: TTimer; procedure Timer1Timer(Sender: TObject); private ...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Creation: April 11, 2009 Description: WebAppServer is a demo application showing the HTTP application server component (THttpAppSrv). Version: 1.06 EMail: francois.piette@overbyte.b...
unit enOrder; interface uses SysUtils; type TENOrder = class(Tobject) private id : Integer; operationId : Integer; bill : String; summ : Double; fromW : String ; ground : String ; summInWord : String ; summCent : Integer; chiefAccountant : String ; ...
unit ExceptionRaiserTestCaseUnit; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, E...
unit RSSReader; interface uses System.Generics.Collections, RSSParser; type {$SCOPEDENUMS ON} TRSSerror = (OK, GetFailed, CantReadFile, InvalidFormat); {$SCOPEDENUMS OFF} TRSSReader = class strict private FItems: TList<TRSSItem>; FRSS: string; strict protected function Parse(const sRss: ...