text
stringlengths
14
6.51M
unit AbstractQueryExecutor; interface uses QueryExecutor, DataReader, SysUtils, Classes; type TAbstractQueryExecutor = class abstract (TInterfacedObject, IQueryExecutor) protected function CreateQueryExecutingErrorFromException(const E: Exception): TQueryExecutingError; virtual; public ...
unit Splash.About; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, pngimage, StdCtrls; const VERSION = '1.0.2 Beta'; RELEASE_DATE = '10.06.2014'; type TSplashDialog = class(TForm) BottomPanel: TPanel; BottomBevel: TBevel; LogoImage: ...
{ mteRecords Component of mteFunctions for handling IwbMainRecords. See http://github.com/matortheeternal/mteFunctions TODO: > Override methods > Common attribute getting/setting - HasKeyword - AddKeyword - RemoveKeyword - HasFormID - AddFormID - RemoveFormID - HasMusicTrack - AddMu...
(****************************************************************************** PROYECTO FACTURACION ELECTRONICA Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco Este archivo pertenece al proyecto de codigo abierto de BambuCode: http://bambucode.com/codigoabierto La licencia de este codigo fue...
unit Specifiers; // 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 distributed under the License is distr...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // 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 program ...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls, DOM, XMLRead, XMLUtils, StrUtils; type { TXMLParserMain } TXMLParserMain = class(TForm) Parse: TButton; ConvertBtn: TButton; FileNameLabel: TLabel; LoadFile:...
unit Classe.Pessoa; interface uses System.Classes, System.SysUtils, Interfaces; Type TEventMemo = procedure (Value : String) of object; TNotifyEvent = procedure(Sender : TObject) of object; TPessoa = class strict private Conexao : IConexao; FDataNascimento: TDatetime; FNome : S...
{ WebSocket Windows WebSocket Implementierung, https fähig -------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozill...
unit UCC_AdjustmentBase; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted 1998-2012 by Bradford Technologies, Inc.} {NOTE: When setting values IN the adjustment list, like the Fa...
unit uiwindow1; interface uses Windows, Messages, win.wnd_ui; type PUIWindow = ^TUIWindow; TUIWindow = record BaseWnd : TUIBaseWnd; end; var UIWindow_Test1: TUIWindow; procedure CreateUIWindow1(AUIWindow: PUIWindow); implementation function WndProcA_WMLBu...
(* * "THE BEER-WARE LICENSE" (Revision 42): * d0p1 <d0p1@yahoo.com> wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy me a beer in return. *) PROGRAM TestMonujo; {$mode objfpc}{$H+} USES ...
{ $HDR$} {**********************************************************************} { Unit archived using Team Coherence } { Team Coherence is Copyright 2002 by Quality Software Components } { } { For further ...
unit umChild; interface uses Windows, Classes, Graphics, Forms, Controls, Messages, StdCtrls, SysUtils, {GR32} GR32, GR32_Image, GR32_Layers, {GraphicsMagic} gmIntegrator, //gmGridBased_List, //gmSwatch_List, gmIntercept_GR32_Image, {Thred32} Stitch_items, Stitch_rwTHR, Stitch_rwPCS, Stitch_r...
program Procedures; {$mode objfpc}{$H+} uses {$IFDEF UNIX} {$IFDEF UseCThreads} cthreads, {$ENDIF} {$ENDIF} Classes { you can add units after this }; { procedure SayHello; begin Writeln('Hello there'); end; procedure SayGoodbye; begin Writeln('Good bye'); end; procedure W...
unit RS232Dlg; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Serial3; type TSerialDialog = class(TForm) btnOK: TButton; btnCancel: TButton; lblBaud: TLabel; cmbBaud: TComboBox; bvlCom: TBevel; ...
unit InliningForm; 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.ScrollBox, FMX.Memo; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton;...
unit OvTEdit; interface uses Windows, SysUtils, Classes, Controls, Messages, StdCtrls, ComCtrls; { TEdit } type TTextFormat = (tfText, tfInteger, tfFloat); TEdit = class(StdCtrls.TEdit) private fTextAlign : TAlignment; fTextFormat : TTextFormat; procedure SetTextAlign(val : TAlign...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2010-2013 Embarcadero Technologies, Inc. } { ...
unit Iterator.Iterators.WordsCollection; interface uses Iterator.AbstractClass.IteratorAggregate, System.Generics.Collections, Iterator.Util.StringClass; // Concrete Collections provide one or several methods for retrieving fresh // iterator instances, compatible with the collection class. // As coleções conc...
{*************************************************************************** Setup.pas - description ------------------- begin : 07.01.2013 copyright : (C) 2013 by MHS-Elektronik GmbH & Co. KG, Germany ...
unit gEffects; interface uses gWorld, gTypes, UPhysics2D, UPhysics2DTypes, mutils, avRes, intfUtils; type TExplosion = class(TGameSprite) private const cLIFE_TIME = 350; private FDeadTime: Int64; FExplosionScale: Single; protected procedure UpdateStep; override; public function ...
unit URevertPoints; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ImgList, Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.Grids; type TFRevertPoints = class(TForm) panelWoowUp: TPanel; imgSn...
unit ulocoreconstants; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TloTaskStatus = ( loTaskReady, loTaskRunning, loTaskCompleted, loTaskPaused, loTaskTerminated, loTaskFailed); const LazORMFileExt: array[1..1] of string = ('.lazorm'); implementation end.
unit Unit2; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); private { Private ...
unit Report_IlliquidReductionPlanAll; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorReport, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles, cxCustomData,...
unit zAVZDriverN; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, winsvc, StdCtrls, ntdll, AclAPI, AccCtrl, zSharedFunctions, zAntivirus, ZLogSystem; type TAVZDriverSG = class private FEnabled: boolean; FLoaded: boolean; FDriverPath,...
unit AT.Vcl.DX.NativeFileSelector.Reg; interface uses Vcl.ImgList, cxPropEditors; type TATdxNativeFileSelectorImageIndexProperty = class(TImageIndexProperty) public function GetImages: TCustomImageList; override; end; procedure Register; implementation uses System.Classes, System.UITypes, Compon...
unit NV.DesignPanel; interface uses Classes, Messages, SysUtils, Controls, ExtCtrls, Windows, Forms, uCEFChromium, Vcl.Consts, uCEFBufferPanel, uCEFInterfaces, uCEFTypes, SyncObjs, uCEFConstants, Vcl.StdCtrls; type TNvDesignPanel = class(TBufferPanel) strict private FDsWeb : TChromium; FTime...
unit Employees.ViewModel; interface uses System.SysUtils, Database.Types, Employees.Classes, Employees.Model, Employees.DataModule; type TEmployeesViewModel = class private FModel: TEmployeesModel; FEmployee: TEmployee; FOperation: TOperation; procedure SetEmployee(const Value: TEmployee); ...
unit SortCompare; interface function CompareItemsForComponents( P1, P2 : pointer ) : integer; function CompareDesignators( D1, D2 : string ) : integer; implementation uses SysUtils, Character, Windows, Outlines; // split designator into two parts - eg TR402 is split into 'TR' and '402' // the first p...
{ Описание: Файл содержит форму TMessagesForm. История изменений: Автор Дата создания Кухтин И.В. 12.07.2002 Изменял Дата модификации Кухтин И.В. 26.07.2002 - добавлена возможность обрабатывать сообщения о ошибках и переводить их } {$J+} {параметр компилятора, позв...
(****************************************************************************** PROYECTO FACTURACION ELECTRONICA Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco Representa a un certificado (.CER) generado por el SAT Este archivo pertenece al proyecto de codigo abierto de Bambu Code: http://bam...
unit UBandPlan; interface uses System.SysUtils, System.Classes, StrUtils, IniFiles, Forms, System.Math, System.DateUtils, UzLogConst; type TFreqLimit = record Lower: TFrequency; Upper: TFrequency; end; TFreqLimitArray = array[b19..HiBand] of TFreqLimit; TBandPlan = class(TObject) private ...
unit IspInfo; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseModel; type IBaseIspInfo = interface(IBaseModel) ['{AFE9B991-6AF5-4D28-9506-FCB0B3E94601}'] function GetVacuum: LongWord; function GetSeaLevel: LongWord; procedure SetVacuum(AValue: LongWord); procedure SetSeaLevel(AValue: ...
unit SystemAdministrationFormViewModelMapperInterface; interface uses SystemAdministrationPrivileges, SystemAdministrationFormViewModel; type ISystemAdministrationFormViewModelMapper = interface function MapSystemAdministrationFormViewModelFrom( SystemAdministrationPrivileges: TSystemAdministratio...
unit ValueTests; // 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 distributed under the License is distr...
unit uITDSubForm; {$I twcomp.pas} interface uses Classes, uTWCAxSubForm, uIITDFormWrapper, Controls, uTWCAxForm, ComCtrls, uIItdLogger; type TITDSubForm = class( TTWCAxSubForm ) protected class var fLog: IItdLogger; class function getItdLogger(): IItdLogger; class procedure trace(aValues: array of String); cl...
unit rTgIntf; interface uses SysUtils, rHttpUtils; type ETgError = class (Exception) protected FErrorCode: Integer; public constructor CreateError(const AErrorCode: Integer; const AReplyMessage: string); reintroduce; virtual; property ErrorCode: Integer read FErrorCode; end; tTgUser = r...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // 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 program is...
{==============================================================================* * Copyright © 2020, Pukhkiy Igor * * All rights reserved. * *============================================================================...
unit uSmartPro99; interface type TTipoIntegracao = (tsToledo, tsFilizola, tsOutros); TStatus = (tsAdicionar, tsEditar); type TConfiguracao = class private FTipoIntegracao: TTipoIntegracao; FLocalArquivo: String; public function TipoIntegracaoToStr: String; function StrToTipoI...
unit UCustomerServicesNew; interface type ServiceIDs = 1..64; ClfServiceIDs = set of serviceIDs; clfServiceID = record name: String; btID: integer; awID: integer; end; ClfServiceProvider = (None, BT,AW); ClfServiceStatus = record btServiceID: integer; ...
{**********************************************************************} { } { "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 comp...
unit CommunicationObj; interface uses InvokeRegistry, Types, XSBuiltIns, Classes, SysUtils; const tf_Create_Dir = 1; tf_Include_Radar = 2; tf_Include_Year = 4; tf_Include_Month = 8; tf_Include_Day = $10; type TxPulseEnum = (tx_Pulse_Long, tx_Pulse_Short, tx_Pulse_None, tx_Pul...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. See subroutines comments for...
unit objDynamicForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, Forms, Graphics, RaApplication, RaBase, RaControlsVCL; type { TDynamicForm } TDynamicForm = class(TObject) private FErro_Str: WideString; FErro_List: TStringList; FForm: TRaFormCompatible; ...
unit GoodsPropertyEdit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxPropertiesStore, dsdDB, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, Vcl.StdCtrls, c...
unit KeyCap; // %KeyCap : ²¶×½°´¼ü (***** Code Written By Huang YanLai *****) interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,ComWriUtils; type TEnterKeyCapture = class; TEnterKeyFilter = class(ComWriUtils.TMsgFilter) private EnterKeyCapture: TEnterKeyCaptu...
Program listas; Type Lista= ^Nodo; Nodo= Record Datos: integer; Sig: Lista; End; {----------------------------------------------------------------------------- INSERTAR - Inserta num en la lista pri manteniendo el orden creciente} Procedure Insertar ( var pri: lista; num: ...
unit winmem.awe; interface uses Windows; { 使用AWE分配內存 支持超过4G Address Windowing Extensions http://blog.sina.com.cn/s/blog_6942a159010144at.html [转载]PAE ( Physical Address Extension ) } type PMemoryAwe = ^TMemoryAwe; TMemoryAwe = record MemoryPointer: Pointer; SysInfo: TSystemInfo; Pag...
{*******************************************************} { } { Delphi FireMonkey Platform } { Copyright(c) 2013 Embarcadero Technologies, Inc. } { } {*****************************...
unit rFileUtils; interface uses SysUtils, Classes, Windows; // Размер файла ---------------------------------------------------------------- function GetFileSize(const FileName: string): Int64; function FileGetSize(const FileName: string; const RaiseIsError: Boolean = False): Int64; function FileHandleGetSize(cons...
{*! * Fano Web Framework (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT) *} unit EpollUnixSocketSvrImpl; interface {$MODE OBJFPC} {$H+} uses ...
unit manuals; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FormChild, Grids, DBGrids, acDBGrid, DB, FIBDataSet, pFIBDataSet, ExtCtrls, sPanel, StdCtrls, Buttons, sBitBtn, sEdit, sComboBox, sLabel, ActnList, Menus, ComCtrls, FIBQuery, pFIBQuery, fr...
unit UAMC_RequestOverride; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UForms, UContainer, AWSI_Server_Access, StdCtrls; const pcvOverrideEmail = 'GetCodeOverride@pcvmurcor.com'; pcvName = 'PCV Murcor'; type AMCReviewOverride = record amcID: in...
{*******************************************************} { } { Delphi Visual Component Library Extension } { } { Copyright (c) 1996 Louis L.J.Wang } { ...
unit DASFile; interface type TDASSignature = word; const sg_Shift_Version = 0; sg_Shift_Radar = 3; sg_Shift_Channel = 6; sg_Shift_Pulse = 7; sg_Shift_Mode = 8; sg_Shift_Scan = 9; sg_Shift_Check = 10; sg_Shift_Dummy = 11; sg_Mask_Version = $0007; sg_Mask_Ra...
unit TesteMSMQ; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActiveX, StdCtrls, MSMQ_TLB, ComObj; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit; Edit2: TEdit; Label1: TLabel; Label2: TLabel; memo: TM...
unit UKRDMBasico; { Anak Krakatoa DataModule. Copyright 2011 / 2012 Zetta-Ømnis Soluções Tecnológicas Ltda. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms , ActnList, ImgList, DBClient, DB, ActnMenus, ActnMan { Units que não pertencem ao Delphi } , UReconcileErrorD...
{ Purpose: ToDo: } unit tiSQLMgrDataSet_BOM; {$I tiDefines.inc} interface uses Classes ,tiObject // ,tiVisitor ,tiQuery ,tiSQLMgr_BOM ,tiDataBuffer_BOM {$IFDEF MSWINDOWS} ,Windows {$ENDIF} {$IFNDEF VER130} ,Variants {$ENDIF} ; type TtiSQLMgrDataSet = class( TtiDataBuffer ) ...
unit MinMaxFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TMinMaxForm = class(TForm) private { Private declarations } protected FMinWidth, FMinHeight: Integer; FMaxWidth, FMaxHeight: Integer; procedure WMGetMinMaxInfo(var...
unit DBUnit; interface uses Data.DB, Data.SqlExpr, Data.DbxSqlite, Datasnap.Provider, Datasnap.DBClient, SysLogUtils, ConfigUnit, ListUtilsUnit; type {: Класс для работы с настройками подключения к базе данных } TDBInfo = class(TCustomConfig) private FDBPass: string; FDBHost: string; FDBUserNam...
unit TSTOProjectWorkSpace.IO; interface Uses Windows, Classes, HsInterfaceEx, HsStreamEx, TSTOHackSettingsIntf, TSTOProjectWorkspaceIntf; Type ITSTOWorkSpaceProjectSrcFilesIO = Interface(ITSTOWorkSpaceProjectSrcFiles) ['{4B61686E-29A0-2112-83D8-AF14FA400832}'] Function Remove(Const Item : ITSTOWorkSpac...
unit uDlgSearchIcon; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, ShellAPI, ImgList, Buttons; type TFileIcon = record FileName : String[255]; Index : Integer; Category : String[50]; end; TfDlgSearchIcon = cl...
unit uTurma; {$mode objfpc}{$H+} interface uses Classes, SysUtils, db; type TTurma = class private fid: integer; fdescricao: string; fcontrolar_horario: string; ffk_perfil_professor_id: TDate; fhora_inicio: string; fhora_fim: string; fvalor_sugerido: Double; flimite_alunos: in...
{**************************************************************************************} { } { CCR.PrefsIniFile: TAndroidPreferencesIniFile } { ...
program jcparser; {$mode objfpc}{$H+} uses {$IFDEF UNIX} {$IFDEF UseCThreads} cthreads, {$ENDIF} {$ENDIF} Classes, SysUtils, jclass_types, jclass_stack_map_frame, jclass_methods, jclass_items, jclass_file, jclass_fields, jclass_enum, jclass_common, jclass_attributes_abstract, jclass_attribut...
program e9p3; uses crt; const MAX_ELEMENTOS = 5; type puntNodo = ^tNodo; tNodo = record numero:integer; sig:puntNodo; end; //////////////////////////////////////////////////////////////////////// procedure eliminarLista(var lista:puntNodo); begin if (lista <> nil) then eliminarLi...
unit StatisticsConfig; interface uses SyncObjs, SysUtils; type StatisticsCount = 0..20; const RDAIndex = 0; RadarIndex = 1; AccIndex = 2; AzIndex = 3; ElIndex = 4; TxCaldeoIndex = 5; TxAnodoIndex = 6; RxIndex ...
unit PStaffEdit; //原则:存在的域内容必然是正确的。 interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, stdctrls, dbtables; const PREFIXCODEWIDTH = 2; ERNCODEWIDTH = 4; type TPStaffEdit = class(TCustomControl) private FPrefixEdit: TEdit;//前缀框的内容要么为'', 要么为合法(齐长)的代码 FErnEdit:...
UNIT Configuration; (* Implements the game configuration. *) (* Copyright (c) 2018 Guillermo Martínez J. 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 any...
unit dwsHashtables; interface uses SysUtils, dwsXPlatform, dwsUtils; type ValueType = IUnknown; THashItem = class Twin: THashItem; Value: ValueType; function HashCode: Integer; virtual; abstract; function Equals(Item: THashItem): Boolean; reintroduce; virtual; abstract; end; ...
{ Data Acesses Object DAO da entidade cliente } unit DAO.Cliente; interface uses SqlExpr, SysUtils, Model.Cliente, DAO.Base, Iterator.SQL.Select, Util.Funcoes, Util.RS, Builder.SQL.DML; type TDAOCliente = class(TDAOBase) public procedure Salvar(const AModelCliente: TModelCliente); procedur...
unit uModbus; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, fgl, WinSock2; const // Сообщение о новом клиенте WM_NEW_CLIENT = WM_USER + 10; type ////////////////////////////////////////////////////////////////////////////// // БАЗОВЫЕ ИНТЕРФЕЙСЫ // Базовый интерфейс библиотеки ...
unit uData; interface const IMGDATA_SIZE = 257807; IMGDATA: array [0..64451] of LongWord = ( $474E5089, $0A1A0A0D, $0D000000, $52444849, $84030000, $C2010000, $00000608, $07D0B700, $00000063, $47527301, $CEAE0042, $0000E91C, $41670400, $0000414D, $FC0B8FB1, $00000561, $48700900, $00007359, $0000110B...
{ Description: vPlot math unit. Copyright (C) 2017-2018 Melchiorre Caruso <melchiorrecaruso@gmail.com> This source 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 (a...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
Unit FlatButton; Interface Uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls, Winapi.Messages, Winapi.CommCtrl, Winapi.Windows, Vcl.Themes, Winapi.GDIPAPI, Winapi.GDIPOBJ, GraphicsUtils; Type TFlatButton = Class(TWinControl) Private { Private declarations } FChecked : Boolean; FImage ...
unit ExposicaoItem; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, System.Rtti, System.Bindings.Outputs, Vcl.Bind.Editors, Data.Bind.EngExt, Vcl.Bind.DBEngExt, ...
unit TributacaoItemNotaFiscal; interface //uses // MetodoDelegadoObtemCampoReal, // MetodoDelegadoObtemCampoInteger; type TTributacaoItemNotaFiscal = class private FBaseCalculo :Real; // FBuscadorCodigoItem :TMetodoDelegadoObtemCampoInteger; // FBuscadorBaseCalculo :TMetodoDelegadoObtemCampoReal; ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
{ 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 PDBDateEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, stdctrls, dbtables, extctrls, RxCtrls, dbctrls, db, SelectDlg, PLabelPanel, LookupControls, PDBNormalDateEdit; type TPDBDateEdit = class(TCustomControl) private FEdit: TPDBNormalDateEdit; FLabe...
unit SelectCertForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, SBX509, SBRDN, SBUtils, SBConstants, SBCustomCertStorage, ExtCtrls; type TSelectCertMode = (smUnknown, smClientCert, smServerCert); TfrmSelectCert = class(TForm) lbxCert...
program find_array_element; const maks = 2; type arr_int = array[0..maks] of integer; var n: arr_int; currLen, len, i: integer; function isEqual(n1, n2: integer): boolean; begin isEqual := false; if n1 = n2 then isEqual := true; end; function searchAvailElement(num: integer): boolean; var found: b...
unit Buildings; interface uses D3Vectors, DUtils; type TBuildingType = class; TFaction = class; TPolyStyle = (psLit, psSpecular); TPolyStyles = set of TPolyStyle; TVertexData = record Loc: T3Vector; U, V: TReal; end; TPolyData = record A, B, C: TVertexData; N: T3Vector; Tex: LongWord; Style: T...
unit SG_Valor; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TFormValor = class(TForm) GroupBox1: TGroupBox; Label1: TLabel; EditValor: TEdit; BitBtnAceptar: TBitBtn; BitBtnCancelar: TBitBtn; procedure BitBtnCancelarClic...
unit EmployeeWorkLog; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Data.DB, Datasnap.DBClient, Vcl.Dialogs; procedure EmployeeWorkLog_LogIn; procedure EmployeeWorkLog_LogOut; procedure EmployeeWorkLog_ZReport; implementation uses LocalWorkUnit, CommonData, ...
unit UUser; interface type TUser = class private Fcode : Integer; FfullName : String; Fcpf : Integer; Flogin : String; Fpassword : String; function getCode: Integer; function getCpf: Integer; function getFullName: String; function getLogin: String; function g...
unit Uxaudio; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,ClipBrd, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; procedure Button1Click(Sender: TObject); p...
unit uManagerLoginRecord; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList, Vcl.ComCtrls, Vcl.ToolWin, Vcl.Grids, Vcl.StdCtrls,UMainDataModule; type TForm_ManagerLogin = class(TF...
//******************************************************* // // Delphi DataSnap Framework // // Copyright(c) 1995-2012 Embarcadero Technologies, Inc. // //******************************************************* unit DBXFPCJSON; {$IFDEF FPC} {$mode DELPHI} {$ENDIF} interface uses Class...
unit AuxiliaryStringFunctions; interface uses Classes, SysUtils, StrUtils, RegExpr, VariantListUnit; function CreateStringFromStringList(const Strings: TStrings; const Separator: string = ', '): string; function CreateStringFromVariantList(const VariantList: TVariantList; const Separator: string = ', '): string; fun...
unit DialogViewFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, BaseDialogViewFrm, StdCtrls, ComCtrls, Spin; type TDialogView = class(TBaseDialogView) eValue: TEdit; dtpValue: TDateTimePicker; lblMsg: TLabel; procedure btnOKClick(Sender: TO...
unit UnitFormMain; { =============================================================================== CodeRage 9 - Demo for Task Chaining using WaitForAll This code shows how to chain Tasks together (Fork / Join pattern) Using the ITask interface you can let new Tasks wait for results from previous Ta...
unit MatrixForm; 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.ScrollBox, FMX.Memo, MMatrix, MComplex, Math, FMX.Menus, FMX.ListBox, FMX.Layouts, FMX.Edi...
unit rfCheckDatabase; interface uses IBDatabase, IBSQL; function CheckVersion(const Database: TIBDatabase): Boolean; function AddVersionInfo(FSQL: TIBSQL; ID: Integer; ReleaseDate: TDate; Comment: String): Boolean; function Check1(FSQL: TIBSQL): Integer; function Check2(FSQL: TIBSQL): Boolean; function ...
// ****************************************************************** // // Program Name : Single Instance Framework // Platform(s) : Win32, Win64 // Framework : FMX // // Filename : AT.SingleInstance.Windows.pas // File Version : 1.00 // Date Created : 08-Dec-2017 // Author : Matthew Vesper...
unit PinNoEntry; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TPinNoEntryForm = class(TForm) NumberTEdit: TEdit; Label1: TLabel; Button1: TButton; Button2: TButton; WarningTLabel: TLabel; procedure FormCloseQuery(...