text
stringlengths
14
6.51M
unit ValidationRules.TDataTypeValidationRule; interface uses System.SysUtils, System.Variants, Framework.Interfaces, EnumClasses.TDataType, DataValidators.TBooleanDataValidator, DataValidators.TCurrencyDataValidator, DataValidators.TDateTimeDataValidator, DataValidators.TIntegerDataValidator,...
unit uGraph; interface uses Windows, SysUtils, Graphics, JPEG, GIFImage, PNGImage, // Own units UCommon; type TGraph = class(THODObject) private FJPG: TJpegImage; FGIF: TGIFImage; FPNG: TPNGObject; FFilePath: string; FBasePath: string; procedure SetBasePath(const Value: ...
unit StockDetailData_Save; interface uses BaseApp, StockDetailDataAccess; procedure SaveStockDetailData(App: TBaseApp; ADataAccess: TStockDetailDataAccess); procedure SaveStockDetailData2File(App: TBaseApp; ADataAccess: TStockDetailDataAccess; AFileUrl: string); implementation uses Windows, ...
// Dialog to select a macro template unit GX_MacroSelect; interface uses Classes, Controls, Forms, ExtCtrls, StdCtrls, ComCtrls, CommCtrl, GX_MacroFile, GX_BaseForm; type TfmMacroSelect = class(TfmBaseForm) pnlMain: TPanel; lvMacros: TListView; pnlHeader: TPanel; lblFilter: TLabel; ...
{$include lem_directives.inc} unit LemLevelSystem; interface uses Classes, UMisc, UTools, UClasses, {$ifdef flexi}LemDosStructures,{$endif} LemLevel; {------------------------------------------------------------------------------- Nested classes for levelpack system: system leve...
{******************************************************************************} {* This software is provided 'as-is', without any express or *} {* implied warranty. In no event will the author be held liable *} {* for any damages arising from the use of this software. ...
unit aeVectorBuffer; interface uses windows, classes, types, dglOpenGL, aeLoggingManager; type TaeVectorBuffer = class private // opengl buffer ID for this data _gpuBufferID: Cardinal; _data: Array of TVectorArray; _index: Cardinal; _critsect: TRTLCriticalSection; public constructor C...
{ duallist unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru and Lazarus team original conception from rx library for Delphi (c) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foun...
unit atLogger; // Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atLogger.pas" // Стереотип: "UtilityPack" // Элемент модели: "atLogger" MUID: (4808B6A20344) interface uses l3IntfUses , atInterfaces , Windows , SyncObjs , SysUtils ; type PFormatSettings = ^TFormatSettings; TatLogMessageType = ( ...
unit uXMLHelpers; { Ollivier Civiol - 2019 ollivier@civiol.eu https://ollivierciviolsoftware.wordpress.com/ } {$mode objfpc}{$H+} interface uses SysUtils, Variants, Classes, ComCtrls, Controls, Grids, uxmldoc; //MSAccess, dxmdaset; const CS_DATASETS = 'DataSets'; CS_MAXLEN_TEXT = 30; type TXMLPro...
unit UnitDataModule; interface uses SysUtils, Classes, DB, ADODB, frxClass, frxDBSet, frxExportRTF, frxExportXLS, frxExportPDF, StrUtils; type TDataModuleAjendam = class(TDataModule) frxPDFExport1: TfrxPDFExport; frxXLSExport1: TfrxXLSExport; frxRTFExport1: TfrxRTFExport; frxDBDataset1: TfrxDBD...
unit Model.Devolucao; interface uses Common.ENum, FireDAC.Comp.Client; type TDevolucao = class private FObjeto: Integer; FContainer: Integer; FExpedicao: TDateTime; FLacre: String; FNossoNumero: String; FVolumes: Integer; FAgente: Integer; FMotorista: String; FRetirada: TDateT...
unit DealTime; interface type TStockDealTimeType = ( dealNone, dealRestDay, // 休息日 dealDayBefore, // 1-- 8 前一天交易 dealPrepare, // 8 -- 9:15 dealRequestStart, // 9:15 -- 9:25 集合竞价 dealing1, // 交易中 上午 9:25 -- 11:30 dealNoontime, // 11:30 -- 1:00...
unit ErrorIntf; interface type IError = interface(IInterface) ['{AB77CB0C-C18F-4F30-AD02-4C9E07DDA708}'] function GetMessage: string; procedure SetMessage(const Value: string); property Message: string read GetMessage write SetMessage; end; implementation end.
unit UPRT; interface type TPRT_STATE = ( psInitial, psStarting, psClosed, psStopped, psClosing, pStopping, psReqSend, psAckRcvd, psAckSent, psOpened ); const IO_RX = $0001; IO_TX = $0002; IO_TXEMPTY = $0004; IO_UP = $0008; type TIME_STAMP = Int64;...
unit nsNativePara; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "f1DocumentTagsImplementation" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/f1DocumentTagsImplementation/nsNativePara.pas" // Нач...
unit MultipleDepotMultipleDriverTestDataProviderUnit; interface uses SysUtils, BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit, OptimizationParametersUnit; type TMultipleDepotMultipleDriverTestDataProvider = class(TBaseOptimizationParametersProvider) protected function MakeAddr...
{$I OVC.INC} {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} {$IFNDEF Win32} {$G+} {286 Instructions} {$N+} {Numeric Coprocessor} {$C MOVEABLE,DEMANDLOAD,DISCARDABLE} {$ENDIF} {********************...
unit AttributesKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы Attributes } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\AttributesKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "AttributesKeywordsPack" MUID: (312806286B17) {$Include w:...
(************************************************************************) unit main2; {$O+,F+} (************************************************************************) interface (************************************************************************) uses crt, dos, pxengine, utils; (************************...
unit uiform; interface uses ui, uimpl, uihandle; type TWinForm=class(TWinHandle) private protected public constructor Create(Owner:TWinHandle);override; procedure CreatePerform;override; procedure CustomPaint;override; end; TWinModal=class(TWinHandle) private protec...
unit ARelatoriosServico; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, UCrpe32, StdCtrls, Buttons, Componentes1, ComCtrls, ExtCtrls, PainelGradiente, Localizacao, Mask, DBCtrls, Tabela, DBTables, Db, Grids, DBGrids, numericos; type TFRelato...
unit VehicleActionsUnit; interface uses SysUtils, BaseActionUnit, System.Generics.Collections, VehicleUnit; type TVehicleActions = class(TBaseAction) public function Get(VehicleId: String; out ErrorString: String): TVehicle; function GetList(out ErrorString: String): TVehicleList; end; imple...
{ *************************************************************************** Copyright (c) 2015-2021 Kike Pérez Unit : Quick.JSON.Utils Description : Json utils Author : Kike Pérez Version : 1.4 Created : 21/09/2018 Modified : 09/03/2021 This file is part of QuickLib: https://...
unit uRamalVO; interface uses System.SysUtils, uTableName, uKeyField, uRamalItensVO, System.Generics.Collections; type [TableName('Ramal')] TRamalVO = class private FId: Integer; FDepartamento: string; FItens: TObjectList<TRamalItensVO>; procedure SetDepartamento(const Value: string); pro...
unit kwPopComboBoxGetItemIndex; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopComboBoxGetItemIndex.pas" // Родные Delphi интерфейсы (.pas) // Generate...
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ // Yawara static site generator // Static Site Generator unit // create CMS functionalities // @author : Zendrael <zendrael@gmail.com> // @date : 2013/10/20 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\...
unit uROHTTPWebsocketServer; interface uses Classes, IdServerIOHandlerWebsocket, IdIOHandlerWebsocket, uROIndyHTTPServer, uROClientIntf, uROServer, uROHTTPDispatch, IdContext, IdCustomHTTPServer, IdCustomTCPServer, uROHash, uROServerIntf; type TROIndyHTTPWebsocketServer = class(TROIndyHTTPServer) ...
unit uLogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFrmLogin = class(TFrame) Label1: TLabel; EdtAgencia: TEdit; Label2: TLabel; EdtContaCorrente: TEdit; BtnConfirmar: TButton; BtnCancelar: TButton; Label3: T...
unit fMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Memo.Types, FMX.Menus, System.Actions, FMX.ActnList, FMX.StdActns, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, F...
unit CviceniSNakresem; (* Trida TCviceniSNakresem *) interface uses Windows, SysUtils, Classes, Graphics, Controls, ComCtrls, Messages, Variants, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, jpeg, Cviceni,VzorGUI, MyUtils; type TCviceniSNakresem = class (TCviceni) private FPopis:TStringList; ...
unit NtUtils.Lsa; interface uses Winapi.WinNt, Winapi.ntlsa, NtUtils.Exceptions, NtUtils.Security.Sid; type TNtxStatus = NtUtils.Exceptions.TNtxStatus; TTranslatedName = NtUtils.Security.Sid.TTranslatedName; TLsaHandle = Winapi.ntlsa.TLsaHandle; TPrivilegeDefinition = record Name: String; LocalVal...
// Original Author: Piotr Likus // Replace Components form that lists mapping groups unit GX_ReplaceCompMapGrpList; interface uses Classes, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, GX_ReplaceCompData, GX_BaseForm; type TfmReplaceCompMapGrpList = class(TfmBaseForm) pnlButtons: TPanel; ...
unit ddRTFState; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "dd" // Модуль: "w:/common/components/rtl/Garant/dd/ddRTFState.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: <<UtilityPack::Cla...
unit AceDS; { ---------------------------------------------------------------- Ace Reporter Copyright 1995-2004 SCT Associates, Inc. Written by Kevin Maher, Steve Tyrakowski ---------------------------------------------------------------- } interface {$I ace.inc} uses {$ifdef AceBDE} db, ...
/// <summary> /// From Microsoft Docs: Azure Data Lake Store is an enterprise-wide /// hyper-scale repository for big data analytic workloads. Azure Data Lake /// enables you to capture data of any size, type, and ingestion speed in one /// single place for operational and exploratory analytics /// </summary> /...
unit untPages; interface Uses // VCL Windows, Classes, SysUtils, Forms, Grids, Controls, ComObj, StdCtrls, // This SizeableForm; type TPage = class; TPageClass = class of TPage; TChangeType = (ctStart, ctStop); { TPages } TPages = class private FList: TList; function GetCount: Integer; ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clSocks; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, WinSock, {$ELSE} System.Classes, System.SysUtils, Winapi.WinSock, {$ENDIF} clSocket, clSocketUtils, clUtils, cl...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clNntpUtils; interface {$I clVer.inc} const DefaultNntpPort = 119; type TclNntpModeType = (mtDefault, mtReader, mtStream); function GetNormMessageID(const AMessageID: string): string; funct...
// Last edited: 18.11.2020 // Version: 1.1.1 uses SysUtils, Classes; const // Начало периода рестарта сервера RestartTime: TDateTime = StrToDateTime('18:58:00'); // Продолжительность рестарта сервера "ЧЧ:ММ:СС" RestartDelay: TDateTime = StrToDateTime('00:05:00'); // Путь к файлу запуска L2 клиента gamePat...
unit lazeyes2form; {$mode objfpc}{$H+} interface uses Classes, Math, SysUtils, Graphics, Forms, LResources, StdCtrls, ExtCtrls, Controls, LCLType, LCLIntf, lazeyes2painter; type { TMainForm } TMainForm = class(TForm) public MyTimer: TTimer; FirstOnTimer: Boolean; WindowDragMousePos, Windo...
Unit TERRA_TestXML; {$I terra.inc} Interface Uses TERRA_TestSuite; Type TERRAXML_TestSimple = class(TestCase) Procedure Run; Override; End; TERRAXML_TestShortcuts = class(TestCase) Procedure Run; Override; End; Implementation Uses TERRA_String, TERRA_Utils, TERRA_XML; Procedure TERRAXML_TestSim...
unit MultEdit.Helpers; interface uses System.SysUtils, System.Classes; const REGEX_MAIL = '([a-z][a-z0-9\-\_]+\.?[a-z0-9\-\_]+)@((?![0-9]+\.)([a-z][a-z0-9\-]{0,24}[a-z0-9])\.)[a-z]{3}(\.[a-z]{2,3})?'; REGEX_URL = '(https?:\/\/)?((www|w3)\.)?([-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0...
unit cyhtAnalysisForm; interface uses Forms, BaseForm, Classes, Controls, SysUtils, StdCtrls, QuickSortList, QuickList_double, StockDayDataAccess, define_price, define_dealitem, define_datasrc, Rule_CYHT, Rule_BDZX; type TfrmCyhtAnalysisData = record StockDayDataAccess: TStockDayDataAccess; end; ...
unit ssWinVer; interface function IsWin95: Boolean; function IsWin98: Boolean; function IsWinMe: Boolean; function IsWinNT: Boolean; function IsWin2k: Boolean; function IsWinXP: Boolean; function IsNTPlatform: Boolean; implementation uses Windows; function IsWin98: Boolean; var WInfo: _OSVERSIO...
unit IWMainForm; {PUBDIST} interface uses IWAppForm, IWApplication, IWTypes, IWCompListbox, IWCompEdit, Classes, Controls, IWControl, IWCompButton, Menus, IWCompMenu, IWGrids, IWAnotherForm; type TformMain = class(TIWAppForm) IWGrid1: TIWGrid; btnShowGraphic: TIWButton; btnCloseMain: TIWButton; ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv...
unit ncsReplyDescription; // Модуль: "w:\common\components\rtl\Garant\cs\ncsReplyDescription.pas" // Стереотип: "SimpleClass" // Элемент модели: "TncsReplyDescription" MUID: (5461D6C30025) {$Include w:\common\components\rtl\Garant\cs\CsDefine.inc} interface {$If NOT Defined(Nemesis)} uses l3IntfUses , l3ProtoObje...
unit MVC_Blog.Model.Conexao; interface uses System.Classes,FireDAC.Comp.Client, 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.FB, FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, Data.D...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clEmailValidator; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils,{$IFDEF DEMO} Forms, Windows, clEncoder, clCertificate, clMailMessage,{$ENDIF} {$ELSE} System.Classes, Sy...
unit clProdutos; interface type TProdutos = class(TObject) private function getCodigo(): String; function getDescricao(): String; procedure setCodigo(const Value: String); procedure setDescricao(const Value: String); function getOperacao: String; procedure setOperacao(const Value: String)...
unit CustomersControllerU; interface uses MVCFramework, CustomersTDGU, ControllersBase; type [MVCPath('/api')] TCustomersController = class(TBaseController) private FCustomersTDG: TCustomersTDG; protected function GetDAL: TCustomersTDG; procedure MVCControllerBeforeDestroy; override; public ...
unit SpeedButtonMenu; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, menus; type TSpeedButtonMenu = class(TSpeedButton) private { Private declarations } fSpeedMenu : TPopupMenu; fItems : TStrings; fItemIndex : integer; ...
{ Date Created: 5/25/00 5:01:02 PM } unit InfoPAYECODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoPAYECODERecord = record PCode: String[4]; PDescription: String[30]; PAddress: String[30]; PCityState: String[25]; PZipCode: String[10]...
unit MvvmInterfaces; {$mode objfpc}{$H+} interface type IEventSource = interface end; IBindingSource = interface(IEventSource) function GetProperty(const PropertyName: string) : string; end; IBoundControl = interface ['{3704CD3E-27FF-48FC-9CE6-C8623D52716C}'] function GetBindingName() : strin...
//Exercicio 52: Faça um algoritmo para calcular a série Fibonacci até 0 N-ésimo termo. //A série tem a seguinte forma: 1,1,2,3,5,8,13,21,34,… { Solução em Portugol // A série de Fibonacci tem os 2 primeiros termos iguais a 1 e, a partir do Algoritmo Exercicio 52; // terceiro termo, o núm...
unit UTLBMembers; interface uses Winapi.ActiveX, System.SysUtils, System.Generics.Collections, UTLBClasses; type TAliasList = class strict private type TItem = record Idx: Integer; OldName: string; end; strict private FList: TDictionary<string, TItem>; public c...
unit PPMdSubAllocatorVariantI; {$mode objfpc}{$H+} {$packrecords c} {$inline on} interface uses Classes, SysUtils, CTypes, PPMdSubAllocator; const N1 = 4; N2 = 4; N3 = 4; N4 = ((128 + 3 - 1 * N1 - 2 * N2 - 3 * N3) div 4); UNIT_SIZE = 12; N_INDEXES = (N1 + N2 + N3 + N4); type PPPMdMemoryBlockVariant...
unit fmPasswordReset; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, ActiveDs_TLB, ADC.GlobalVar, ADC.Types, ADC.Common, ADC.DC, ADC.ADObject; const LockoutStatus: string = 'Сост...
unit TTSLDOCTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSLDOCRecord = record PLenderNum: String[4]; PCifFlag: String[1]; PLoanNum: String[20]; PDocCount: Integer; PDescription: String[30]; PDateStamp: String[10]; End; TTTS...
unit ReqPlanerForma; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridEhGrouping, ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, PlannersEh, SpreadGridsEh, PlannerCalendarPickerEh, EhLibVCL, GridsEh, DBAxisG...
{ Subroutine SST_R_PAS_STATEMENT (STAT) * * Process STATEMENT construction. STAT is returned with EOD status when end of * data is encountered. } module sst_r_pas_STATEMENT; define sst_r_pas_statement; %include 'sst_r_pas.ins.pas'; procedure sst_r_pas_statement ( {process STATEMENT construction} out ...
// islip - IneQuation's Simple LOLCODE Interpreter in Pascal // Written by Leszek "IneQuation" Godlewski <leszgod081@student.polsl.pl> // Variable class unit unit variable; {$IFDEF fpc} {$MODE objfpc} {$ENDIF} interface uses typedefs; type islip_type = (VT_UNTYPED, VT_INT, VT_FLOAT, VT_STRING, VT_BOOL...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, Windows, jwatlhelp32, iniFiles; type { TForm1 } TForm1 = class(TForm) miAbout: TMenuItem; miExit: TMenuItem; PopupMenu1: TPopupMenu; Timer1: TTimer; TrayIcon...
unit uFormSelectSource_FMX; {$I DelphiTwain.inc} interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.ListBox, FMX.Objects {$IFDEF DELPHI_XE4_UP}, FMX.StdCtrls{$ENDIF} {$IFDEF DELPHI_XE5_UP}, FMX.Gra...
unit clTipoContrato; interface uses clConexao, Vcl.Dialogs, System.SysUtils, clCentroCusto; type TTipoContrato = class(TObject) protected FContrato: Integer; FCCusto: Integer; FDescricao: String; conexao: TConexao; centrocusto: TCentroCusto; private procedure SetDescricao(val: String); ...
unit RTTIUtils; interface uses Data.DB, Vcl.Forms; type Bind = class(TCustomAttribute) private FField: String; FDisplayLabel: String; FDisplayWidth: Integer; procedure SetField(const Value: String); procedure SetDisplayLabel(const Value: String); procedure SetDisplayW...
Unit ZMMsg; // Built by ZipResMaker // DO NOT MODIFY // ZMMsg.pas - default messages and compressed tables (* ************************************************** TZipMaster VCL originally by Chris Vleghert, Eric W. Engler. Present Maintainers and Authors Roger Aelbrecht and Russell Peters. Copyright (C) 1997-2002...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
{$I ACBr.inc} unit pciotOperacaoTransporteW; interface uses SysUtils, Classes, pcnAuxiliar, pcnConversao, pciotCIOT, ASCIOTUtil; type TGeradorOpcoes = class; TOperacaoTransporteW = class(TPersistent) private FGerador: TGerador; FOperacaoTransporte: TOperacaoTransporte; FOperacao: TpciotOperaca...
unit InfoXTRANTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoXTRANRecord = record PCode: String[2]; PDescription: String[30]; PGroup: String[1]; PCertificateCoverage: Boolean; PActive: Boolean; PModCount: SmallInt; End; T...
{ apImgList: Simple image lister and selector Copyright by Andrej Pakhutin } unit apImgList; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtDlgs, ExtCtrls, StdCtrls, ActnList, ComCtrls, Menus, xLngManager, {$IFDEF USEDB} DB, DBTables, {$ENDIF} jpeg; ty...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
unit WinUtils; interface Uses Windows, SysUtils, Printers, TntClasses, Classes, Registry; procedure SaveOption(Name, Key, Value : String;Root : HKey); function LoadOption(Name, Key, Default : String;Root : HKey) : String; procedure DelOption (Name, Key : String;Root : HKey); implementation procedure SaveO...
unit DelForExTestOldNew; {$OPTIMIZATION off} interface uses Windows, Classes, SysUtils, TestFrameWork, GX_CodeFormatterTypes, GX_CodeFormatterSettings, GX_CodeFormatterDefaultSettings, GX_CodeFormatterEngine, GX_GenericUtils; type {Tests that compare the output of the original ...
unit NotifyUnit; {$Z4} //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "GblAdapterLib" // Модуль: "w:/garant6x/implementation/Garant/GblAdapterLib/NotifyUnit.pas" // Delphi интерфейсы для адаптера (.pas) // Generated from UML mod...
unit UFunctions; interface uses SysUtils, Classes, Windows, Sockets; const nl= #13+#10; sep = '***************************'; //send result SR_SENDED = 0; SR_NO_MORE_THEN_15 = 1; SR_UNKNOWN_ERROR = 255; SR_CANT_CONNECT = 2; //ProcessSMSText PSMST_OK = 0; PSMST_BIG_LEN = 1; //SMS...
unit uAlerts; interface uses SysUtils, Types, Graphics; procedure Alert(S: string); var AlertMessage: string = ''; AlertColor: TColor = clWhite; AMsgPos: Byte = 3; AMsgClr: Byte = 0; implementation uses uSCR, uGUI, uUtils, uResFont; procedure Alert(S: string); begin AMsgPos := S...
unit browsermodules; {$mode delphi} interface uses Classes, SysUtils; type TBrowserModuleUIElement = (bmueEnabledDisableMenu, bmueCommandsSubmenu); TBrowserModuleUIElements = set of TBrowserModuleUIElement; { TBrowserModule } TBrowserModule = class public ShortDescription: string; Activated: ...
unit MainFrm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, FMX.ScrollBox, FMX.Memo, DW.Firebase.InstanceId, DW.Firebase.Messaging; type ...
unit Com_Streams; interface uses Windows, Classes, SyncObjs, Sysutils, sysconst, IdGlobal, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL; type TStreamState = (ssDisconnected, ssInitialize, ssConnecting, ssConnected, s...
{!DOCTOPIC}{ Type » TBoxArray } {!DOCREF} { @method: function TBoxArray.Len(): Int32; @desc: Returns the length of the array. Same as 'Length(arr)' } function TBoxArray.Len(): Int32; begin Result := Length(Self); end; {!DOCREF} { @method: function TBoxArray.IsEmpty(): Boolean; @desc: Returns True if th...
unit LineNoMemo; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls; type TLineNoMemo = class(TMemo) private function GetColumNo: Integer; function GetLineNo: Integer; { Private declarations } protected { Protected declarations } public { Public ...
unit ADC.DC; interface uses System.SysUtils, System.Classes, System.Types, System.Variants, System.StrUtils, System.AnsiStrings, Winapi.Windows, Winapi.ActiveX, Vcl.ComCtrls, ActiveDs_TLB, JwaLmAccess, JwaLmApiBuf, ADC.LDAP, JwaDSGetDc, JwaActiveDS, ADC.Types, ADC.Common, ADC.AD; type TDCInfo = class(TObje...
unit uTitulos; interface type TTitulos = class private Fstatusid: integer; Fvalor: double; Fdescricao: string; Fdatavencimento: Tdate; FID: integer; Fdatalancamento: Tdate; Fobservacoes: string; procedure setDatalancamento(const Value: Tdate); procedure setDatavencimento(con...
{ *********************************************************** } { * TForge Library * } { * Copyright (c) Sergey Kasandrov 1997, 2017 * } { *********************************************************** } unit tfRC5; {$I TFL.inc} {$POINTERMATH ON} interfac...
unit CodingGif; interface uses Windows, SysUtils, Classes, MemUtils, Dibs, CodingAnim, ListUtils; type TGifDecoder = class( TAnimDecoder ) destructor Destroy; override; public//protected fFrameList : TObjectList; fDibHeader : PDib...
unit BasicRankings; interface uses Classes, Rankings, Accounts, CacheAgent, Languages; type TAccountRanking = class( TRanking ) public constructor Create( anId, aSuperRanking : string; aName : TMultiString; Max : integer; AccountId : TAccountId ); private fAccoun...
unit BubbleSort; interface uses StrategyInterface, ArraySubroutines; type TBubbleSort = class(TInterfacedObject, ISorter) procedure Sort(var A : Array of Integer); destructor Destroy; override; end; implementation procedure TBubbleSort.Sort(var A: array of Integer); var i, j :...
unit uFMXListas; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Generics.Collections, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, System.Rtti, FMX.Grid.Style, Data.Bind.EngExt, FMX.Bind.DBEng...
unit MainMenuUnit; {* Основное меню } // Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\MainMenuUnit.pas" // Стереотип: "Interfaces" // Элемент модели: "MainMenu" MUID: (4DD24BD40021) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUses , IOUnit , BaseTypesUni...
(* * 计算 MD5(代码来自网络,有修改、优化,支持大文件) *) unit iocp_md5; interface {$I in_iocp.inc} uses {$IFDEF DELPHI_XE7UP} Winapi.Windows, System.SysUtils, {$ELSE} Windows, SysUtils, {$ENDIF} iocp_utils; type MD5Count = array[0..01] of DWORD; MD5State = array[0..03] of DWORD; MD5Block = array[0..15] of DWORD; ...
unit PDTabControl; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; const noTab = -1; type TTabAlign = (taLeft, taCenter, taRight); type TPDTabControl = //class(TGraphicControl) class(TCustomControl) public constructor Create...
{ Subroutine SST_R_SYO_INIT * * Init the SST front end for reading SYN files. } module sst_r_syo_init; define sst_r_syo_init; %include 'sst_r_syo.ins.pas'; procedure sst_r_syo_init; {init front end state for reading .syn files} var gnam: string_leafname_t; {generic name of input file} ...
unit UCountryFlag; interface uses Windows, Graphics; type // diese Klasse zeichnet verschiedene skalierbare Landesflaggen TCountryFlag = class(TObject) private FNationality: Integer; FCanvas: TCanvas; procedure PaintRect(r:TRect; color : TColor); procedure PaintVerticalFlag(rect:...
unit DealItemsTreeView; interface uses Controls, Sysutils, VirtualTrees, VirtualTree_Editor, define_dealitem, define_stock_quotes_instant, db_dealitem; type PDealItemNode = ^TDealItemNode; TDealItemNode = record Caption: string; DBType: integer; DealItem: PRT_DealItem; InstantQuote: ...
unit MFichas.Model.Pagamento.Formas.Dinheiro.Estornar; interface uses System.SysUtils, MFichas.Model.Pagamento.Interfaces, MFichas.Model.Entidade.VENDAPAGAMENTOS, MFichas.Controller.Types; type TModelPagamentoFormasDinheiroEstornar = class(TInterfacedObject, iModelPagamentoMetodosEstornar) private ...
unit DcefB_Events; interface uses Windows, Classes, Controls, Dcef3_ceflib; type TBrowserDataChangeKind = (BrowserDataChange_StatusMessage, BrowserDataChange_Address, BrowserDataChange_Title); { TBrowserDownloadUpdatedKind = (BrowserDownloadUpdated_Start, BrowserDownloadUpdated_Progress, BrowserDownloa...
unit MFichas.Model.Configuracao.Metodos.Editar.View; interface uses System.SysUtils, System.Generics.Collections, MFichas.Model.Configuracao.Interfaces, MFichas.Model.Entidade.CONFIGURACOES, ORMBR.Types.Blob; type TModelConfiguracaoMetodosEditarView = class(TInterfacedObject, iModelConfiguracaoMetodosE...
{*******************************************************} { } { Turbo Pascal Version 7.0 } { Turbo Vision Unit } { } { Copyright (c) 1992 Bo...