text
stringlengths
14
6.51M
unit Module.DataSet.ConfigMemento; interface uses System.Generics.Collections, FireDac.Comp.Client, Module.DataSet.ConfigMemento.ArmazenarConfiguracao; type IConfigMemento = interface(IInterface) ['{8A9C1E4D-0A2B-44E3-BE3A-8DB31A46E870}'] function GuardarConfig: IConfigMemento; end; TConfigMement...
{ How to add a new design control type to the demo (example: add a TEdit): - In the Initialization section register the new class. Add the line "RegisterClass(TEdit);" - Add the palette icon of the new class to the ImageList of the demo. You can find the palette icons of the LCL components in the fol...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit BucketMem_ASM; (* (c) 2001-2005 Robert Houdart, Link Software This code can be freely used and/or modified, as long as you kindly acknowledge the origin. BucketMem is a replacement Memory Manager for Delphi 5,6,7,2005 and Kylix that does not suffer from fragmentation and delivers much better performance ...
unit ClientList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseDocked, Vcl.StdCtrls, RzLabel, Vcl.ExtCtrls, RzPanel, DockedFormIntf, Data.DB, Vcl.Mask, RzEdit, Vcl.Grids, Vcl.DBGrids, RzDBGrid, System.R...
unit xClientInfo; interface uses System.Classes, System.SysUtils, System.IniFiles, xStudentInfo, xFunction, xClientType, xConsts; type TLoginEvent = procedure(Sender: TObject; nStuID : Integer) of object; type TClientInfo = class private FClientIP: string; FIsConnected: Boolean; F...
unit logfile; interface uses sysutils; procedure LogfileWriteLn(level, str: string); procedure LogfileWriteException(e: Exception); implementation uses JclDebug, classes, vcl.forms, winapi.windows; var _logfile: TextFile; ProcessID: Cardinal; //procedure EventLogWriteLn(level, str: string; EventId: Word ...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
unit camform; (****************************************************************************** Exemplo de Aplicativo com Webcam Autor: Fotógrafo Fernando VR Site: www.FernandoVR.com.br Sobre mim: Sou fotógrafo profissional, programador web PHP, e aprendiz no Delphi. Ainda estou iniciando meus estudo...
{=============================================================================== Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司 All rights reserved. 错误接线,接线错误类单元 + TWIRING_ERROR 接线错误类 ===============================================================================} unit U_WIRING_ERROR; interface uses ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit upaymo; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fphttpclient, jsonConf, fpjson, jsonparser, Dialogs, DateUtils; const PAYMOAPIBASEURL = 'https://app.paymoapp.com/api/'; PAYMOAPIKEYURL = 'https://app.paymoapp.com/#Paymo.module.myaccount/'; type TPaymoResponseStatus = (prOK, prERROR, prT...
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+} unit Config1; interface procedure cfgSystemConfig; implementation uses Crt, Global, Output, Strings, Input, Files, Config, Misc, StatBar, Logs, Users; procedure cfgMainBBSConfig; begin cfgDraw := True; cfgOver := False; repeat ...
#skip unit TList_1; interface uses System; type TPointerList = array of Pointer; TDirection = (dLeft, dRght); TList = class private FList: TPointerList; FCount: Integer; FCapacity: Integer; protected function Get(Index: Integer): Pointer; procedure Grow; virtual; procedure Put(Inde...
UNIT schedule; INTERFACE USES graph; Type GrafMaker=object last_x11, last_y11, last_x12, last_y12, last_x21, last_y21, last_x22, last_y22: real; n1,n2,n3,n4:integer; Constructor Init; Procedure DrawPlate; Procedure DrawLine(x, y : real; GRAF_TYPE, SOURCE_NUM, STEP : integer); ...
(* WildCardPatternMatching: MM, 2020-03-20 *) (* ------ *) (* Code to use wildcards in pattern matching *) (* ========================================================================= *) ...
unit Planner; interface uses Contnrs, MetroBase; type //---------------------------------------------------------------------------- // A route segment is a 4 tuple (from, line, dir, to), where // - from is a station // - line is a line // - direction is a station (one of the end points of...
unit AutoLoadPicturesAndDocuments; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids, Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus, RPCanvas, RPrinter, RPDefine, RPBase, RPFiler, locatdir, FileCtrl; ty...
unit IdComponent; interface uses Classes, IdAntiFreezeBase, IdBaseComponent, IdGlobal, IdStack, IdResourceStrings, SysUtils; type TIdStatus = ( hsResolving, hsConnecting, hsConnected, hsDisconnecting, hsDisconnected, hsStatusText...
unit Controle; interface uses System.SysUtils, System.Generics.Collections, InterfaceCommandos, ComandoPadrao; type TControle= class private BotoesLigar: TList<IComandos>; BotoesDesligar: TList<IComandos>; Undo: IComandos; Padrao: TComandoPadrao; public constructor Create; procedure...
program TP04p1; uses CRT; const MAX=100; type TProducto = record Codigo:integer; Nombre:string[30]; Precio:real; Tipo:char; end; AProductos = Array[1..MAX] of TProducto; function BuscarProductoPorCodigo(Productos:AProductos; N:integer;Buscado:integer):integer; var i:integer; begin BuscarProductoPor...
unit UnitFormAppConfig; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.Generics.collections, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, ComponentBaloonHintU; type EWrongInputExcpetion = class(Exception)...
{ girnamespaces.pas Copyright (C) 2011 Andrew Haines andrewd207@aol.com 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 version. This ...
unit Ths.Erp.Database.TableDetailed; interface {$I ThsERP.inc} uses Forms, SysUtils, Classes, Dialogs, WinSock, System.Rtti, System.UITypes, StrUtils, FireDAC.Stan.Param, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.Error, Ths.Erp.Database, Ths.Erp.Database.Table; type {$M+} TTableDetailed = class(TTa...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit DescriptionTypesQuery; 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, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, ...
unit WkeJs; interface uses SysUtils, Classes, WkeTypes, WkeHash, WkeIntf; type TWkeJsExecState = class(TInterfacedObject, IWkeJsExecState) private FExecState: jsExecState; FGlobalObject: IWkeJsValue; FData1: Pointer; FData2: Pointer; private function GetWebView: TWebView; function Get...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.ListBox, FMX.StdCtrls, FMX.Controls.Presentation, System.IOUtils, FMX.Helpers.Android, Androidapi.Helpers, Androidapi.JNI.Gr...
unit PascalCoin.Frame.Unlock; 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.Controls.Presentation, FMX.Edit; type TUnlockFrame = class(TFrame) Panel1: TPanel; Label1: TL...
{ ---------------------------------------------------------------------------- } { FormulaJIT for MB3D } { Copyright (C) 2016-2017 Andreas Maschke } { ---------------------------------------------------------------------------...
unit TestSpacing; { AFS Jan 2003 Test the spacing processes } {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is TestSpacing, released May 2003. The Initial Developer of the Original Code is Anthony Steele. Portio...
unit uStack; {$mode delphi}{$h+} interface uses Classes, SysUtils; // kann noch Variabel gemacht werden type elementTyp = Char; { Der Stack soll nach aussen so wie stack<string> in C++ scheinen } const mxStackSize = 1000; type TStack = class private pTop: Cardinal; // markiert naechster Plat...
unit osErrorHandler; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, db, osCIC, richedit, RegExpr, System.Types; type TErrorType = (etError, etCritical, etWarning); TosErrorHandlerForm = class(TForm) lbErros: TListBox; btnFech...
// // This unit is part of the GLScene Project, http://glscene.org // {: FRMaterialPreview<p> Material Preview frame.<p> <b>Historique : </b><font size=-1><ul> <li>12/07/07 - DaStr - Improved Cross-Platform compatibility (Bugtracker ID = 1684432) <li>06/06/07 -...
unit UTFrmHistorialSalarios; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom...
unit testbdsvdunit; interface uses Math, Sysutils, Ap, rotations, bdsvd; function TestBDSVD(Silent : Boolean):Boolean; function testbdsvdunit_test_silent():Boolean; function testbdsvdunit_test():Boolean; implementation var FailCount : AlglibInteger; SuccCount : AlglibInteger; procedure FillIde...
{$O+,F+} Unit Crc16; Interface { Note: Your crc Variable must be initialized to 0, before } { using tis routine. } { Translated to Turbo Pascal (tm) V4.0 March, 1988 by J.R.Louvau } { Translated to assembler by trixter@oldskool.org 20111106 } Function UpdCrc(cp:...
unit JD.Weather.OpenWeatherMaps; interface uses System.Classes, System.SysUtils, System.Generics.Collections, Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Imaging.PngImage, Vcl.Imaging.GifImg, JD.Weather, JD.Weather.Intf, SuperObject; type TOWMEndpoint = (oeConditions, oeForecast, oeAlerts, oeMaps); TOWMWeatherThr...
program simplify; //Example program to simplify meshes // https://github.com/neurolabusc/Fast-Quadric-Mesh-Simplification-Pascal- //To compile // fpc -O3 -XX -Xs simplify.pas //On OSX to explicitly compile as 64-bit // ppcx64 -O3 -XX -Xs simplify.pas //With Delphi // >C:\PROGRA~2\BORLAND\DELPHI7\BIN\dcc32 -CC -B simp...
unit buku_handler; interface uses tipe_data; { KONSTANTA } const nmax = 1000; // Asumsi bahwa size terbesar dari database adalah 1000 { DEKLARASI TIPE } type buku = record ID_Buku, Judul_Buku, Author, Jumlah_Buku, Tahun_Penerbit, Kategori : string; end; tabel_buku = record ...
UNIT SaveScrn; {saves and restores a text screen} interface uses CRT, DOS; PROCEDURE SaveScreen; PROCEDURE RestoreScreen; implementation TYPE ScrnBlock = ARRAY[1..2000] of Integer; VAR Screen : ^ScrnBlock; ScreenData : ScrnBlock; I : Byte; Regs : Registers; PROCEDURE SaveScreen; BEGIN...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995,99 Inprise Corporation } { ...
unit Group; interface type TGroupAttributes = class strict private FMaxTotalAmount: real; FMaxConcurrent: integer; FIdentityDocs: integer; private function GetHasConcurrent: boolean; public property MaxTotalAmount: real read FMaxTotalAmount write FMaxTotalAmount; property MaxConcurrent...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.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 to use this software for any purpose...
unit uThreadImportacao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, JvExStdCtrls, JvGroupBox, ExtCtrls, IOUtils, FMTBcd, DB, SqlExpr, DateUtils, xmldom, XMLIntf, msxmldom, XMLDoc, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPCl...
{Hint: save all files to location: C:\adt32\eclipse\workspace\AppCameraDemo\jni } unit unit1; {$mode delphi} interface uses Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls, Laz_And_Controls_Events, AndroidWidget; type { TAndroidModule1 } TAndroidModule1 = class(jForm) jBitmap...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} {/* * (c) Copyright 1993, ...
unit DatasetCopy; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.DBCtrls; type TfDatasetCopy = class(TForm) dbgr1: T...
unit Mock.OSFile.IoControl; interface uses OSFile; type TCreateFileDesiredAccess = (DesiredNone, DesiredReadOnly, DesiredReadWrite); TIoControlFile = class(TOSFile) protected procedure CreateHandle(const FileToGetAccess: String; const DesiredAccess: TCreateFileDesiredAccess); virtual; funct...
unit uConstants; {$I ..\Include\IntXLib.inc} interface uses {$IFDEF DELPHI} Generics.Defaults, Generics.Collections, {$ENDIF DELPHI} uStrRepHelper, uIntXLibTypes; type /// <summary> /// Constants used in <see cref="TIntX" /> and helping classes. /// </summary> TConstants = class sealed(TObject) ...
unit uConst; interface uses Controls; const CONFIGFILE='SalesPromotion.ini'; ALLBTYPEID = '00000'; ALLBFULLNAME = '全部客户'; COLUMNUM=0; COLUMUSERCODE=1; COLUMFULLNAME=2; COLUMORGPRICE=3; COLUMTYPEID =4; COLUMDICCOUNTPRICE=5; COLUMStartDate=6; COLUMEndDate=7; COLUMSPID=8; ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit Optimizer.P2P; interface uses SysUtils, Optimizer.Template, Global.LanguageString, Registry.Helper; type TP2POptimizer = class(TOptimizationUnit) public function IsOptional: Boolean; override; function IsCompatible: Boolean; override; function IsApplied: Boolean; override; function GetNa...
(* SynTree: Rittberger, 2020-04-28 *) (* ------ *) (* checks the syntax of the given grammar *) (* ========================================================================= *) ...
unit Fonetiza; interface uses Fonetiza.Intf, Fonetiza.Core, Fonetiza.Utils, Fonetiza.CodigoFonetico.Core; type TFonetiza = class(TInterfacedObject, IFonetiza) private FFonetizaCore: TFonetizaCore; FCodigoFonetico: TCodigoFoneticoCore; FFonetizaUtils: TFonetizaUtils; { IFonetiza } function Fon...
unit uObjectGuideList; interface uses SysUtils, Types, Contnrs, uOtherObjects; type TGuideList = class(TObjectList) protected function GetItem(Index: Integer): TGuideObject; procedure SetItem(Index: Integer; FeaObj: TGuideObject); public property Objects[Index: Integer]: TGuideObject read GetItem w...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL; type TForm1 = class(TForm) memoRequest: TMemo...
unit ScaleData; interface uses Windows, SysUtils, Forms; const MX = 50; MY = 50; DEFAULT_SIZE_RULER = 3; SIZE_SCROLLBAR = 10; DEFAULT_SPACE = 3; SIZE_MARKER = 4; var // Шаг сетки STEP_GRID, // Размер логической точки в физических координатах PT_FYS, // Координаты вывода ...
{******************************************************************************* Title: T2Ti ERP Description: VO transiente. Montará os dados necessários para o registro R05. The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this so...
unit UnFabricaDeAplicacoes; interface uses Classes, { Fluente } Util, DataUtil, Configuracoes, UnAplicacao, UnFabricaDeModelos; type TFabricaDeAplicacoes = class private FAplicacoes: TStringList; FConfiguracoes: TConfiguracoes; FDataUtil: TDataUtil; FFabricaDeModelos: TFabricaDeModelos; F...
unit u_utils; interface function IntToStr(Int : Integer):String; function FloatToStr(Float : Single; Digs : Integer = 3) : String; implementation function IntToStr; begin Str(Int, Result); end; function FloatToStr; begin Str(Float:3:Digs, Result); end; end.
program Sample; type RType = record A : Integer; B : Integer; C : record D : Integer; E : Integer; end; end; var X : RType; begin X.A := 1; X.B := 2; X.C.D := 3; X.C.E := 4; WriteLn('X.A = ', X.A, ', X.B = ', X.B); WriteLn('X.C.D = ', X.C.D, ...
unit uDownloadFiles; interface procedure DownloadAndUpdate; implementation uses Windows, Classes, SysUtils, StrUtils, IniFiles, uGlobal, slmlog, jyDownloadFTPFile, jyURLFunc, uFileVersionProc, md5, uDelphiCompress, uUpdateService, uHash; {$DEFINE DEBUG1} const DEFAULT_UPDATE_LIST_FILE_URL = 'ftp...
unit UCtrlCompra; interface uses uController, DB, UDaoCompra; type CtrlCompra = class(Controller) private protected umaDaoCompra : DaoCompra; public Constructor CrieObjeto; Destructor Destrua_se; function Salvar(obj:TObject): string; override...
unit Device.PhysicalDrive; interface uses Windows, SysUtils, Device.PhysicalDrive.Bus, Device.PhysicalDrive.OS, OSFile, OSFile.Interfaced, Support, Support.Factory, Getter.PhysicalDrive.PartitionList, BufferInterpreter, Getter.PhysicalDrive.NCQAvailability, OS.Handle; type IPhysicalDrive = interface['{6D76...
unit uPlImagePluginInterface; interface uses Windows, OpenGL; const Class_PlImagePlugin: TGUID = '{0A2CA0B1-6073-449F-849F-17FED1C70AF1}'; type HIMAGE = Integer; HEFFECT = Integer; IPlImagePluginInterface = interface(IInterface) ['{E94A64FF-A587-4D28-81EF-394A6F248049}'] function IM...
unit ncDebug; { ResourceString: Dario 12/03/13 } interface uses Windows, SyncObjs, SysUtils; var AbriuArqDebug : Boolean = False; DebugAtivo : Boolean = False; arqDebug : TextFile; debugCS : TCriticalSection = nil; nomearqdebug : String = 'debug.txt'; // do not localize procedure DebugMsg(S...
unit SubsidiaryList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseGridDetail, Data.DB, RzButton, Vcl.StdCtrls, Vcl.Mask, RzEdit, Vcl.Grids, Vcl.DBGrids, RzDBGrid, RzLabel, Vcl.ExtCtrls, RzPanel, RzDBEd...
unit Unit1; interface uses System.Classes, System.SysUtils, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Controls, GLObjects, GLScene, GLCadencer, GLWin32Viewer, GLPolyhedron, GLCrossPlatform, GLCoordinates, GLBaseClasses, GLBehaviours; type TForm1 = class(TForm) GLSceneViewer1: TGLSceneViewe...
unit myutils; interface uses Grijjy.Bson, Grijjy.Bson.Serialization, classes, winapi.messages; type TJsonCD = class class function unmarshal<T>(Message: TMessage): T; static; end; IPrimitiveBox<T> = interface procedure setValue(value: T); function getValue(): T; end; T...
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.DAO.QueryGenerator.SQLite Description : DAO SQLite Query Generator Author : Kike Pérez Version : 1.0 Created : 22/06/2018 Modified : 31/03/2020 This fil...
unit sNIF.worker; { ******************************************************* sNIF Utilidad para buscar ficheros ofimáticos con cadenas de caracteres coincidentes con NIF/NIE. ******************************************************* 2012-2018 Ángel Fernández Pineda. Madrid. Spain. This work is licensed u...
unit scaleimageintensity; interface {$D-,O+,Q-,R-,S-} {$IFDEF FPC} {$mode delphi} {$ENDIF} uses define_types,nifti_hdr;//, nii_reslice, clustering; procedure RescaleImgIntensity(var lHdr: TMRIcroHdr ); procedure AbsImgIntensity32(var lHdr: TMRIcroHdr ); procedure HideZeros(var lHdr: TMRIcroHdr ); function ...
{----------------------------------------------------------------------------- Unit Name: cPyBaseDebugger Author: Kiriakos Vlahos Date: 23-Apr-2006 Purpose: History: Base debugger classes -----------------------------------------------------------------------------} unit cPyBaseDebugger; interf...
unit Xml.Internal.LangUtils; // LangUtils 1.0.4 // Delphi 4 to 2009 and Kylix 3 Implementation // February 2009 // // // 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 a...
{*******************************************************} { } { Turbo Pascal Runtime Library } { ShortString Handling Unit } { } { Copyright (C) 19...
unit AConhecimentoTransporteSaida; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, Componentes1, ExtCtrls, PainelGradiente, StdCtrls, Buttons, UnDados, Grids, CGrades, ConstMsg, Constantes, FunData, FunString, Localizacao, DBGrids, UnDadosProduto, UnN...
unit UPrincipal; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, Buttons, Menus, ImgList, XPMan; type elem=string; ArvB=^No; No=record esq: ArvB; chave: Elem; dir: ArvB; alt: Integer; niv: Integer; e...
unit VrtecForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MPlayer, ComCtrls, StdCtrls, Math, ExtCtrls, jvShape, VrtecConst, jpeg, Menus; type // sRazno: razne slike in zvoki (klovn-smeh, avto-brmbrm ...) TSection = (sLiki, sBarve, sZival...
unit Geo; interface type TDMSFormat = (D, DM, DMS); TDecimalPlaces = (Zero = 0, Two = 2, Four = 4); function FloatingPointMod(const Dividend, Divisor : double) : double; function ParseDMS(const value : string) : double; function ToDMS (const deg: double; const dmsFormat : TDMSFormat; const dp : TDecimalPl...
unit uRegisterMachine; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs, strutils; type commandLine = record command: string; Value: Word; end; type registerArray = array of Longword; commandList = array of commandLine; commandLog = record b : String; command: commandLine;...
unit PaymentMethod; interface type TMethod = (mdNone,mdCash,mdCheck,mdBankWithdrawal); type TPaymentMethod = class private FMethod: TMethod; FName: string; FCharge: real; public property Method: TMethod read FMethod write FMethod; property Name: string read FName write FName; property...
unit SecurityMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseDocked, Vcl.StdCtrls, RzLabel, Vcl.ExtCtrls, RzPanel, SaveIntf, NewIntf; type TSecurityForms = (sfmChangePassword,sfmUsers,sfmRoles, sfm...
unit WinAPI.WinRT.Utils; interface uses WinAPI.WinRT, WinAPI.CommonTypes; type TApplicationProcessMessagesProc = procedure of object; procedure Await(const asyncInfo: IInterface; const AApplicationProcessMessage: TApplicationProcessMessagesProc); /// <summary> /// Converts Delphi's TDateTime to WinRT's Windo...
unit fOCMonograph; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ORFn, ORCtrls, rOrders, VA508AccessibilityManager, ExtCtrls; type TfrmOCMonograph = class(TForm) monoCmbLst: TComboBox; monoMemo: TCaptionMemo; cmdOK: TButton; VA508S...
unit Monobank.Types; interface type /// <summary> /// Перелік курсів. Кожна валютна пара може мати одне і більше полів з rateSell, rateBuy, rateCross. /// </summary> TmonoCurrencyInfo = class private FcurrencyCodeA: Integer; FcurrencyCodeB: Integer; Fdate: Integer; FrateSell: Single; ...
object AzSnapshotBlob: TAzSnapshotBlob Left = 227 Top = 108 BorderStyle = bsDialog Caption = 'Create Snapshot Blob' ClientHeight = 462 ClientWidth = 512 Color = clBtnFace ParentFont = True OldCreateOrder = True Position = poScreenCenter PixelsPerInch = 96 TextHeight = 13 object Bevel1: TBevel ...
unit ExtraChargeExcelDataModule; interface uses System.SysUtils, System.Classes, ExcelDataModule, Excel2010, Vcl.OleServer, CustomExcelTable, Data.DB, FireDAC.Comp.Client, FireDAC.Comp.DataSet, ExtraChargeSimpleQuery, ExtraChargeInterface; type TExtraChargeExcelTable = class(TCustomExcelTable) private ...
unit araclar; interface uses System.SysUtils, System.Types, System.TypInfo, System.Classes, System.Zip; function TBytes2TByteDynArray(Bytes: TBytes): TByteDynArray; function TByteDynArray2TBytes(Bytes: TByteDynArray): TBytes; function EnumValues(const ATypeInfo: PTypeInfo): TStrings; function EnumValue(con...
{*******************************************************} { } { Borland Delphi Visual Component Library } { SOAP Transports } { } { Copyright (c) 2001 In...
(*****************************************************************************) { Project Android MQTT broker test Android Application to test a connection with a MQTT Broker There must be chosen a free MQTT broker, as "test.mosquitto.org"; //"broker.hivemq.com"; //"iot.eclipse.com"; //"mqtt.fl...
unit uSimpleDirections; interface uses SysUtils, Classes; type TSimpleStep = class(TObject) private fLocation: String; fDistanceHTML: String; fDescriptionHTML: String; fUniqueStepID: Integer; public property Location: String read FLocation write FLocation; property Des...
unit OpenGLEngine; interface uses Windows, OpenGL; // Устанавливаем формат пикселей procedure setupPixelFormat(DC:HDC); // инциализируем OpenGL procedure GLInit; implementation procedure setupPixelFormat(DC:HDC); const pfd:TPIXELFORMATDESCRIPTOR = ( nSize:sizeof(TPIXELFORMATDESCRIPTOR); // size nVersion...
{ *********************************************************************** } { } { Delphi Runtime Library } { } { Copyright (c) ...
unit CheckerBoardAdapter; interface uses ExtCtrls, CBTypes, // DeepBrew DataTypes, Thinker; type TCheckerBoardAdapter = class private //FTimer : TTimer; FThinker : TThinkerThread; FSearchStartedAt : Cardinal; FLastUpdateAt : Cardinal; FSearchTime : Cardinal; FOutp...
unit NtUtils.Sam.Security; interface uses Winapi.WinNt, Ntapi.ntsam, NtUtils.Exceptions, NtUtils.Security.Acl, NtUtils.Security.Sid; type TAce = NtUtils.Security.Acl.TAce; IAcl = NtUtils.Security.Acl.IAcl; TAcl = NtUtils.Security.Acl.TAcl; ISid = NtUtils.Security.Sid.ISid; { Query security } // Securit...
unit MongoDb; interface uses Bson; type TMongoClient = class(TObject) private FHandle: Pointer; procedure SetHandle(const Value: Pointer); public constructor Create(const url: string='mongodb://localhost:27017/'); destructor Destroy; override; property Handle : Pointer re...
{******************************************} { Design-Time Options Editor Dialog } { Copyright (c) 2003-2004 by David Berneda } { All Rights Reserved } {******************************************} unit TeeDesignOptions; {$I TeeDefs.inc} interface uses SysUtils, Classes, {$IFDEF CLX} ...
unit BCEditor.Editor.LeftMargin.Colors; interface uses Classes, Graphics, Consts, BCEditor.Consts; type TBCEditorLeftMarginColors = class(TPersistent) strict private FActiveLineBackground: TColor; FBackground: TColor; FBookmarkPanelBackground: TColor; FBorder: TColor; FLineNum...