text
stringlengths
14
6.51M
unit BaseWinApp; interface uses Windows, BaseApp; type TBaseWinAppPath = class(TBaseAppPath) protected public function IsFileExists(AFileUrl: WideString): Boolean; override; end; PBaseWinAppData = ^TBaseWinAppData; TBaseWinAppData = record AppCmdWnd : Windows.HWND; AppMsg...
unit UCornerCasesTests; interface {$I ..\Source\dws.inc} uses {$ifdef Windows} Windows, {$endif} Classes, SysUtils, dwsXPlatformTests, dwsComp, dwsCompiler, dwsExprs, dwsDataContext, dwsTokenizer, dwsXPlatform, dwsFileSystem, dwsErrors, dwsUtils, Variants, dwsSymbols, dwsPascalTokenizer, dwsStrings...
unit ValidateComboBoxDesign; interface uses RegExpr, StdCtrls, SysUtils, Graphics, Classes; type TOnValidateEventHandler = procedure ( Sender: TObject; var IsValid: Boolean ) of object; TValidateComboBox = class (TComboBox) private FRegExpr: TRegExpr; p...
unit RepositorioTamanhoProduto; interface uses DB, Auditoria, Repositorio; type TRepositorioTamanhoProduto = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function Ge...
unit TelegaPi.Types.InputMessageContents; interface uses REST.Json.Types; type /// <summary> /// This object represents the content of a message to be sent as a result /// of an inline query. /// </summary> TtgInputMessageContent = class(TObject); /// <summary> /// Represents the content of a ...
unit fTankStatus; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GR32_Image, GR32, StdCtrls, BCData; type TfrmYourTankStatus = class(TForm) imgEnemy1: TImage32; lblEnemyType1: TLabel; cmdOK: TButton; cmdCancel: TButton; txtStartType: TEdit...
unit dmEstrategias; interface uses SysUtils, Classes, IBCustomDataSet, IBUpdateSQL, DB, IBQuery, eventos, UtilDB; type TTipoEstrategia = (teApertura, teAperturaPosicionado, teCierre, teCierrePosicionado); TEstrategias = class(TDataModule) qEstrategias: TIBQuery; qEstrategiasOID_ESTRATEGIA: TSmallintFi...
unit About; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TAboutForm = class(TForm) VersionTLabel: TLabel; Label1: TLabel; Label2: TLabel; OKTButton: TButton; LinkTEdit: TEdit; GroupBox1: TGroupBox; ForTLabel:...
unit QuantidadeItemAvulso; interface uses Tamanho, MetodoDelegadoObtemCampoInteger; type TQuantidadeItemAvulso = class private FCodigo :Integer; FCodigoItemItemAvulso :Integer; FCodigoTamanho :Integer; FQuantidade :Integer; FBuscadorCodigoItemAvulso :TMeto...
unit RepositorioNaturezaOperacao; interface uses DB, Repositorio; type TRepositorioNaturezaOperacao = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function GetId...
unit uAccess; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComObj, ActiveX, StdCtrls; function MDB_CreateDB(const sPath, sPass: string; var sErr: string): Boolean; function MDB_ChangePWD(const sPath, sOldPass, sNewPass: string; var sErr: st...
unit uExportador; interface uses uUsuario, System.Classes, Xml.XMLDoc, Xml.XMLIntf, System.SysUtils, System.JSON; type TTipoExportador = (ExpXml, ExpJson, ExpTxt); TTipoExportadorHelper = record Helper for TTipoExportador function Extensao: string; end; TExportador = class(TObject) public...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{******************************************************************************} { } { Delphi OPENSSL Library } { Copyright (c) 2016 Luca Minuti ...
unit AqDrop.Core.ResourcesControl; interface uses System.SysUtils, System.TypInfo; type TAqResourceProtectionType = (RelesaseTestLocker, HoldTestLocker); TAqResourcesControl = class strict private class procedure CheckResourceType(const pType: PTypeInfo); public class function Cre...
unit UPrefFDocFormatting; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } { This is the Frame that contains the Document Formatting Preferences} interface uses...
unit AT.Fmx.Actions.Data; interface uses System.Classes, Fmx.ActnList, System.Variants, AT.Fmx.Actions.Base, AT.Fmx.Actions.Consts, AT.Fmx.Actions.Types; type [ComponentPlatformsAttribute(pidATActionsPlatforms)] TATCustomDataAction = class(TATAction) end; [ComponentPlatformsAttribute(pidATActionsPlatfor...
unit App.AppInfo; interface type TAppInfo = class const AppName = 'Proxy Generator for FireDAC'; Version = '1.1'; ReleaseDate = '2020-03-09'; end; // ----------------------------------------------------- // Release History: // ----------------------------------------------------- (* [ {"releaseDa...
// // Created by the DataSnap proxy generator. // 2011-07-08 ¿ÀÀü 6:16:38 // unit UclientClass; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, DBXJSONReflect; type TServerMethods1Client = class(TDSAdminClient) private FGetCountCommand: TDBXCommand; ...
unit FunctionOverloadingForm; 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.ScrollBox, FMX.Memo, FMX.StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button...
unit CadVeiculos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, ComCtrls, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, Mask, DBCtrls; type TFCadVeiculos = class(TForm) Panel1: TPanel; BNovo: TSpeedButton; BEditar: TSpeedButton; B...
unit Form3; interface uses System.Types, SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.Button, SmartCL.Controls.Label, SmartCL.Layout; type TForm3 = class(TW3Form) private {$I 'Form3:intf'} ...
{----------------------------------------------------------------------------- Unit Name: DUPropRead Author: Sebastian Hütter Date: 2006-08-01 Purpose: Read properties to stringlist History: 2006-08-01 initial release -----------------------------------------------------------------------------} unit ...
PROGRAM SquareRoot; CONST MAX_ITERATIONS = 50; VAR x: INTEGER; loop_count: INTEGER; y_previous_iteration, y_actual_iteration, y_iteration_difference: REAL; e: REAL; BEGIN Write('Please enter the number which square root you want to determine: '); ReadLn(x); IF x >= 0 THEN BEGIN Write('Please enter the error ...
PROGRAM grados; uses crt; var f,c :integer; function FtoC(fahrenheit : integer) : integer; begin FtoC:=round(5/9*(fahrenheit - 32.0) ) end; procedure pedirvalor(var x: integer); begin CLRSCR; WRITE('Ingrese la temperatura en Fahrenheit: '); READLN(x)...
unit UIntBus; interface type IBus = interface procedure Write(AAdress: UInt16; AData: UInt8); function Read(AAdress: UInt16; AIsReadOnly: Boolean = False): UInt8; end; implementation end.
unit uFunctions; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Vcl.Controls, Vcl.Dialogs, Winapi.ShellApi, Winapi.TlHelp32, Vcl.StdCtrls; function processExists(exeFileName: string; var procPID:cardinal): Boolean; function RunAsAdmin(hWnd: HWND; filename: string; Parameters:...
unit zProcess; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, ntdll, SystemMonitor; type TProcessFileInfo = record ProcessName : string; // Имя PID : DWord; // PID или hModule Size : DWord; // Размер Descr : st...
unit Model.Interfaces; interface uses Model.Declarations, System.Generics.Collections, Model.ProSu.Interfaces; type IDatabaseInterface = interface ['{DDE3E13A-0EC5-4712-B068-9B510977CF71}'] function GetCustomerList: TObjectList<TCustomer>; function GetCustomerFromName(const nameStr: string): TCustomer;...
unit TreeLib; interface uses SysUtils; type TInfo = integer; PNode = ^TNode; TNode = record key: TInfo; left, right: PNode; end; TTree = class private head: PNode; procedure inInsert(var t: PNode; i: TInfo); public constructor Create; destructor Destroy; // procedure Clear; ...
program invoice; {--------------------------------------} { Invoice Creator } { Written by Nick Bolton } {--------------------------------------} {------------ Current todos -------...
// **************************************************************************** // * Export components for Delphi. // **************************************************************************** // * Copyright 2001-2005, Bitvadász Kft. All Rights Reserved. // ********************************************************...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit ViewModel.PermissionList; interface uses Model.Interfaces; function CreatePermissionListViewModelClass: IPermissionListViewModelInterface; implementation uses Model.Permission, Model.FormDeclarations, Model.ProSu.Interfaces, Model.ProSu.InterfaceActions, Model.ProSu.Provider, Model.ProSu.Subscribe...
unit Design; // %Design : 包含设计控件 (***** Code Written By Huang YanLai *****) { in old vesion, when a control has children , and mouse on them, MsgFilter that hooked with the control can not receive design mouse messages. in this version , try to resolve the problem by using SubClass. See procedure SAllC...
unit fScripter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, pFIBScripter, ImgList, ComCtrls, ToolWin,pFIBProps ; type TForm3 = class(TForm) Panel1: TPanel; Label1: TLabel; pFIBScripter1: TpFIBScripter; StatusBar1: TSta...
{----------------------------------------------------------------------------- Unit Name: DUTempFiles Author: Sebastian Hütter Date: 2006-10-01 Purpose: Provides a simple list for temporary files and auto cleanup. History: 2006-10-01 initial release --------------------------------------------------...
unit ftpclient; {$mode delphi} interface uses Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget; type TOnFTPClientTryConnect=procedure(Sender:TObject;success:boolean) of object; TOnFTPClientDownloadFinished=procedure(Sender:TObject;localPath:string;success:boolean) of object; TOnFTPClientUploadFinished...
unit MainFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ComCtrls, Data.DBXFirebird, Data.SqlExpr, DBUnit, DepModelUnit, System.Actions, V...
{ UNZDLL.PAS - Delphi v2 translation of file "wizunzip.h" by Eric W. Engler } { Import Unit for UNZDLL - put this into the "uses" clause of any other unit that wants to access the UNZDLL. } { I changed this to use dynamic loading of the DLL in order to allow the user program to control when to load and unload th...
unit ZeosPostgresTransactionUnit; interface uses PostgresTransactionUnit, ZDataset, Classes; type TZeosPostgresTransaction = class (TPostgresTransaction) protected FQueryObject: TZQuery; procedure InternalStart; override; procedure InternalCommit; override; procedure InternalRollbac...
unit modaldialog; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget; type TDialogTheme = (thHoloLightDialog, thHoloDialog, thDialog, thDialogLightNoTitle); {Draft Component code by "Lazarus Android Module Wizard" [5/16/2017 0:28:03]} {https://github.com/jmpessoa/lazandroidmodulewizard} {j...
unit frameBuscaMateriaPrima; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MateriaPrima, StdCtrls, Buttons, Mask, ToolEdit, CurrEdit, Produto, ProdutoHasMAteria, Contnrs; type TBuscaMateriaPrima = class(TFrame) StaticText1: TStaticText; edtCodigo: ...
unit fmScriptError; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fmBase, dmEstrategiaInterpreter, ExtCtrls, StdCtrls, SynEdit, ComCtrls, Buttons, SynEditHighlighter, SynHighlighterPas, fmEstrategias, dmEstrategias; type TfScriptError = class(TfBase) E...
unit uFrameSelecionarDisciplinas; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, StdCtrls, ComCtrls, JvExControls, JvXPCore, JvXPButtons; type TframeSelecionarDisciplinas = class(TFrame) GroupBox1: TGro...
unit PopupTr; interface uses classes,Menus, EtvPopup; type TPopupMenuDBTree=class(TPopupMenuEtvDBControls) protected fDBTreeLineCount:smallint; procedure ProcOnPopup(Sender: TObject; LineAdd:smallint); override; procedure ExpandBranch(Sender: TObject); procedure CollapseBranch(Sender...
{***************************************************************************} { } { DUnitX } { } { ...
unit LogUtils; interface uses SysUtils; type TSeverityLevel = (sevOperation, sevOperationDetail, sevException); TTraceLevel = (trcOperation, trcOperationDetail, trcException); TLog = class private FLogFileName: TFileName; FTraceLevel: TTraceLevel; FShowSeverityLevelInLog: boolean; FEnable...
unit dbCCBox; interface uses Windows, SysUtils, Messages, Classes, Controls, Forms, Graphics, Menus, StdCtrls, ExtCtrls, Mask, Dialogs, Buttons, ComCtrls, Db, DBCtrls, DBTables; type { TDBCodeComboBox } TDBCodeComboBox = class(TCustomComboBox) private FDataLink: TFieldDataLink; FPaintControl: TPai...
(*----------------------------------------------------------------------*) (* Übung 5: Telefonverzeichnis *) (* Entwickler: Neuhold Michael *) (* Datum: 7.11.2018 *) (* Lösungsidee: ein ...
unit uGCAxitdProductUsage; {$I twcomp.pas} {$WARN SYMBOL_PLATFORM OFF} interface uses Windows, Messages, SysUtils, Classes, Vcl.Graphics, Controls, Forms, Dialogs, AxCtrls, pGCAxitdProductUsage_TLB, uTWCAxForm, CAS_TABLE, ComCtrls, ExtCtrls, CAS_CONTROLS, CAS_TABLE_CONTROLS, StdCtrls, uIItdFormWrapper, CAS_TO...
unit DemoData; interface uses Spring.Collections; function CreateContactList: IObjectList; procedure FillContactList(const AObjectList: IObjectList); implementation uses Contact, DSharp.Collections.ObservableCollection; function CreateContactList: IObjectList; begin Result := TObservableCollection<TObject...
{ About Dialog Handler } unit about; interface uses Os2Types, os2PmApi; const DB_RAISED = $0400; DB_DEPRESSED = $0800; procedure DisplayAbout (hwnd: HWND; pszAppName: Pchar {PSZ}); implementation { ---------------------- Dialog Function ----------------------- } function AboutDlgProc conv arg_cdecl (h...
unit ValidatorU; interface uses System.RTTI; type TValidationResult = record public ErrorMessage: String; function Validation: Boolean; end; TValidator = class(TObject) protected class var FContext: TRTTIContext; public class constructor Create; class function Validate(AObject: TO...
unit ColorScheme; interface uses Graphics; // *************************************************************** // TveColorScheme is used to pass color settings data around // *************************************************************** type TveColorScheme = record ShowColor : boolean; // monochrom...
unit Question; interface uses StdCtrls,SysUtils,Lines; const spliterAnswer='----------'; spliter='??????????'; type TQuestion = class private weight_:integer; question_:TLines; answer_:TLines; public constructor create(); procedure setQuestion(question:TMemo);Over...
unit u_EmailNfBarueri; interface uses inifiles, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdComponent, IdTCPConnection, IdTCPClient, IdMessageClient, IdSMTP, ComCtrls, StdCtrls, Buttons, ExtCtrls, IdBaseComponent, IdMessage, IdExplicitTLSClientServerBase, IdSMTPBase; ...
// --------------------------------------------------------------------------- // This software is Copyright (c) 2018 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as defi...
unit uDSDSvcMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs; type TFarmacyService = class(TService) procedure ServiceStart(Sender: TService; var Started: Boolean); procedure ServiceStop(Sender: TService; var Stoppe...
unit Builder.Views.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 TfrmMain = class(TForm) Panel1: TPanel; pnlClient: TPanel; mmResult: TMemo; btnExecut...
unit UfrmFichaEstudantes; interface uses Winapi.Windows, Winapi.Messages, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ImgList, Vcl.ComCtrls, Vcl.ToolWin, Vcl.ActnList, Data.DB, Vcl.Mask, Vcl.DBCtrls, Vcl.Buttons; t...
unit uGWOpportunityPositionFormSDK; {$i twcomp.pas} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uGWOpportunityPositionForm, ImgList, ExtCtrls, StdCtrls, Buttons, CAS_CONTROLS, CAS_TABLE_CONTROLS, uOpportunityPositions, uVariantTools, uProdPositionCalc, uP...
{***************************************************************************** * The contents of this file are used with permission, 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 * ht...
unit AqDrop.DB.DBX.Ora; {$I '..\Core\AqDrop.Core.Defines.Inc'} interface uses Data.DBXCommon, {$IFNDEF AQMOBILE} Data.DBXOracle, {$ENDIF} AqDrop.DB.Ora, AqDrop.DB.DBX, AqDrop.DB.Adapter; type TAqDBXOraDataConverter = class(TAqDBXDataConverter) public procedure BooleanToParameter(...
unit RepriceTest; interface uses dbTest, dbMovementTest, ObjectTest; type TRepriceTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TReprice = class(TMovementTest) private protected function InsertDefault: integer; override; publ...
unit frameBuscaCidade; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ObjetoGenerico, Mask, RXToolEdit, RXCurrEdit, Cidade; type TBuscaCidade = class(TFrame) StaticText1: TStaticText; edtCidade: TEdit; btnBusca: TBitBtn; Sta...
PROGRAM StringToInt(INPUT, OUTPUT); VAR Num: INTEGER; PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER); VAR Ch: CHAR; BEGIN {ReadDigit} D := -1; IF NOT EOLN(F) THEN BEGIN READ(F, Ch); IF Ch = '0' THEN D := 0 ELSE IF Ch = '1' THEN D := 1 ELSE IF Ch = '2' THEN D := 2 ELSE IF Ch...
unit MultiLog; { Main unit of the Multilog logging system Copyright (C) 2006 Luiz Américo Pereira Câmara pascalive@bol.com.br 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 Foundation; eit...
unit RegexTrial; interface uses TestFramework, RegularExpressions; type TRegexTrial = class abstract(TTestCase) protected procedure Execute(const Pattern: String; const Options: TRegexOptions; const Input, Expected: String); end; implementation uses SysUtils; { TRegexTrial } procedure TRege...
program SomVanCijfersMain; // declare your variables here var getal: integer; function SomVanCijfers(pGetal: integer): integer; begin pGetal := ABS(pGetal); if (pGetal = pGetal MOD 10) then begin SomVanCijfers := pGetal; end else begin SomVanCijfers := (pGetal MOD 10) + SomVanCijfers(pGetal DIV 10...
unit classeTabPrecos; interface uses {AdoQueryPlus, funcoesGeral,} Sysutils, Dialogs, ZAbstractRODataset, ZAbstractDataset, ZDataset, ZConnection, Windows, Controls, Forms; type TEvento = record CodEvento : Integer; Nome : String; Valor : Double; Parcelas : Integer; VencMens...
namespace Beta; interface uses Foundation, TwinPeaks, UIKit; type [IBObject] MasterViewController = public class (UITableViewController, IUITableViewDelegate, IUISplitViewControllerDelegate) private var fBetaDownloads: NSArray; var fRTMDownloads: NSArray; var fActivity: NSUser...
unit Plyr; interface uses W3C.DOM, W3C.HTML5; type JPlyrOptionsKeyboad = class external focused: Boolean; global: Boolean; end; JPlyrOptionsTooltips = class external controls: Boolean; seek: Boolean; end; JPlyrOptionsListeners = class external end; JPlyrOptionsCaptions = class exte...
unit fmain; { Copyright (C) 2006 Luiz Américo Pereira Câmara 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 (at your option) any later version. ...
{ ****************************************************************************** Модуль доступа к данным СК-2003 (БДРВ + MsSQL) Версия = 2.00 Мордовское РДУ ****************************************************************************** Надстройка (для удобства) над модулями, поставляемыми в приме...
unit EncodeDecode_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls, Advanced; type TdlgEncodeDecode = class(TForm) pcMain: TPageControl; tsGeneral: TTabSheet; btnOk: TBitBtn; btnCancel: TBitBtn; Lab...
unit SITE.Utils; interface uses System.Classes, System.SysUtils, System.DateUtils, System.JSON.Readers, System.JSON.Types; type TTypeSql = (tsInsert, tsUpdate ); TUtils = class class function IIF<T>( Condition: Boolean; T1, T2 : T ): T; end; function JsonToSql(Value, Tabela, Campo...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit uTabSheetBaseWithScrollBar; {$I twcomp.pas} interface uses Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Forms , uIITDFormWrapper , itdTabSheetBase ; type TTabSheetBaseWithScrollbar = class(TITDTabSheetBase) scrollBoxMain: TScrollBox; panelTabSheetBaseBottom: TPanel; panelTabSheetBaseClient: ...
unit dmConsultas; interface uses SysUtils, Classes, DB, IBCustomDataSet, IBQuery, IBSQL, BDConstants, dmEditFS, kbmMemTable, dmFS, Contnrs; const SIN_CARACTERISTICA = Low(integer); type TColumna = class private FCodigo: string; FTipo: TResultType; FAncho: integer; FCodigoCompiled: string; ...
unit Report_Object_Price_MCS_Year; 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, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFi...
unit SnapBaseDataset; { Snap Object Dataset Want you conciliate pure object oriented programming and delphi data aware controls? Through Snap Object Dataset components you will be able to join your business logic with the true rad powerfull delphi data aware controls; in this way your GUI will continue to compl...
object FindDialog: TFindDialog Left = 326 Top = 454 AlphaBlend = True BorderStyle = bsDialog Caption = 'Find Text' ClientHeight = 225 ClientWidth = 441 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = []...
unit FileLoader; // Модуль загрузки файла. Зайцев О.В., 2005-2006 // Последняя модификация: 17.10.2006 interface type // Событие "прогресс" при копировании TFileCopyProgress = procedure (Sender : TObject; ASize, AFullSize : integer) of object; // Режим загрузки (по настройкам IE, прямое соединение, прокси б...
unit UAirUnit; interface uses W3System, UEnemy, UGameVariables, UTextures; type TAirUnit = class(TEnemy) public MaxSpeed : float; YSpeed, YChanged, MaxYChange : float; MovingUp : boolean; constructor Create(newX, newY, newSpeed, newYChange : float; newHealth, newMoneyValue : intege...
unit mnTPLTestCase; { 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; type TmnTPLTestCase = clas...
(******************************************************************************* The MIT License (MIT) Copyright (c) 2011 by Sivv LLC, Copyright (c) 2007 by Arcana Technologies Incorporated Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated document...
unit UAMC_Select; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } { This unit is used to select the delivery method: Save File; Email or Upload. } interface uses ...
{$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 fSaveStateImport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, BCData; type TfrmSaveStateImport = class(TForm) lstLevels: TListBox; txtFilename: TEdit; cmdBrowse: TButton; lblSaveState: TLabel; lblLevels: TLabel; txtEx...
unit dlgAbonent_Params; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, Buttons, Declaration, ExtCtrls; type TfrmAbonent_Params = class(TForm) Label10: TLabel; Label8: TLabel; edtBetta0: TEdit; edtDepthSector: TEdit; ...
unit BOsU; interface uses AttributesU; type TCustomer = class(TObject) private FEmail: String; FLastname: String; FPassword: String; FFirstname: String; procedure SetEmail(const Value: String); procedure SetFirstname(const Value: String); procedure SetLastname(const Value: String);...
unit MSG_NF_Etapa_02; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TMSGNFEtapa02 = class(TForm) Label1: TLabel; BT_Sim: TBitBtn; BT_Sair: TBitBtn; BT_Nao: TBitBtn; Numero_Nota: TEdit; Label2: TL...
//**************************************************************************** // // Program Name : - AT Library - // Program Version: 1.00 // Filenames : AT.Windows.Controls.Background.pas // File Version : 1.00 // Date Created : 28-JAN-2014 // Author : Matthew S. Vesperman // // Description:...
unit dbMovementCompleteTest; interface uses TestFramework, DB, dbTest; type TdbMovementCompleteTest = class (TdbTest) private // Распроведение документа procedure UnCompleteMovement(Id: integer); published procedure CompleteMovementIncomeTest; end; implementation uses Storage, SysUtils, dbMove...
(* kylix header for libao library. translated from ao.h header file by andrei borovsky, aborovsky@mtu-net.ru the original header is original copyright (c) aaron holtzman - may 1999 modifications copyright (c) stan seibert - july 2000, july 2001 more modifications copyright (c) jack moffitt - octobe...
PROGRAM AverageScore(INPUT, OUTPUT); CONST NumberOfScores = 4; ClassSize = 4; CalculusSystem = 10; HalfCalculusSystem = CalculusSystem DIV 2; MinCor = 0; MaxCor = 100; TYPE Score = MinCor .. MaxCor; VAR WhichScore: 1 .. NumberOfScores; Student: 1 .. ClassSize; NextScore: Score; Ave, TotalScore, Cl...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
program ex4; type f = text; ch = char; int = integer; cursor = ^list; list =record e: ch; next: cursor; end; procedure RList(var head:cursor;var inp:f); var c:ch; cur:cursor; begin read(inp,c); new(head); cur:=head; cur^.e:=c; while not eof(inp) do ...
program Test_002; uses SysUtils, StringBuilderUnit; const TestString = 'TestString'; CountOfTestString = 1013; CountOfTests = 10000; procedure TestWithConcat; var time: TDateTime; testIndex, i: Cardinal; s: string; begin WriteLN('Now testing concat...'); time := Now; for test...