text stringlengths 14 6.51M |
|---|
unit RazMain;
interface
uses Math, DateUtils, StdRut, SysUtils, RazProbemBase, RazProbem ;
type
TOsebaIdx0 = 0..MxOseb ;
TOsebeNaDMIEl = record
last: 0..MxOsebNaDMI ;
list: array[1..MxOsebNaDMI] of TDMI ; // seznam oseb, ki lahko delajo na nekem DMI
pMest: smallint; // stevilo pr... |
unit Class_BILL_FL;
interface
uses
Classes,SysUtils,Uni,UniEngine;
type
TBILLFL=class(TUniEngine)
private
FUNITLINK: string;
FBILLIDEX: Integer;
FBILLFLID: Integer;
FPRODIDEX: Integer;
FPRODNUMB: Integer;
FPRODMONY: Extended;
protected
procedure SetParameters;overri... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit TpButton;
interface
uses
Windows, SysUtils, Classes, Controls, Graphics, Types,
ThWebControl, ThTag, ThButton,
TpControls;
type
TTpButton = class(TThButton)
private
FOnClick: TTpEvent;
FOnGenerate: TTpEvent;
protected
procedure Tag(inTag: TThTag); override;
published
property OnC... |
unit ibSHSQLPlayerEditors;
interface
uses
SysUtils, Classes, DesignIntf, TypInfo,
SHDesignIntf, ibSHDesignIntf;
type
TibSHDefaultSQLDialectPropEditor = class(TSHPropertyEditor)
public
function GetAttributes: TPropertyAttributes; override;
procedure GetValues(AValues: TStrings); override;
... |
unit Lib.HeaderValues;
interface
uses
System.Classes,
Lib.HTTPContent,
Lib.HTTPUtils;
procedure GetHeaderRequestValues(const URL,HeaderName: string; Values: TStrings);
implementation
procedure GetHeaderRequestValues(const URL,HeaderName: string; Values: TStrings);
var Protocol,Host,Resource: string;
begin
... |
unit uPassword;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, DB, DBTables, SysUtils, Dialogs, ExtCtrls, Mask,
ADODB, SuperComboADO, uSystemTypes, siComp, siLangRT;
type
TPassword = class(TForm)
Label1: TLabel;
EditPassword: TEdit;
Panel1: TPanel;
... |
unit Files;
{This unit defines abstract file class
as well as implementation of simple
disk file, buffered file and a text file}
interface
uses SysUtils;
Const
{OpenFileWrite flags}
fm_Create=1; {Create new file}
fm_LetReWrite=2;{Let rewrite file
if exists - OpenFileWrite}
... |
unit UMainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, UTrieTree, Spin;
type
TMainForm = class(TForm)
inputEdt: TEdit;
fillTreeBtn: TButton;
findFormsBtn: TButton;
grp1: TGroupBox;
treeView: TTreeV... |
unit BaseStockApp;
interface
uses
BaseWinApp, BaseApp,
StockAppPath, db_dealitem;
type
TBaseStockAppData = record
StockItemDB: TDBDealItem;
end;
TBaseStockApp = class(TBaseWinApp)
protected
fBaseStockAppData: TBaseStockAppData;
function GetPath: TBaseAppPath; override;
function Get... |
{ uMAPGraphic class to manipulate MAP files for DIV like Programs
Copyright (C) 2013 DCelso <- gmail.com
Esta código es software libre; usted puede redistribuirlo y/o modificarlo
bajo los términos de la GNU General Public License publicada por la Free
Software Foundation; sea versión 2 de la licencia, o... |
unit FMX.Rating;
interface
uses
{$IFDEF UseNativeDraw} FMX.Graphics.Native, {$ENDIF}System.SysUtils, System.Classes, System.Types, System.UITypes, System.Math, System.Math.Vectors,
FMX.Types, FMX.Controls, FMX.Graphics;
type
TOnRatingChange = procedure(Sender: TObject; AValue: Double) of object;
TR... |
unit Unit1;
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;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4... |
unit ProductionModel;
interface
uses connection, Ragna, System.JSON, 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.ConsoleUI.Wait, Data.DB,
FireDAC.Comp.Client, FireDAC.Phys.PG, FireDAC.... |
unit ScaledGraphicDrawer_MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.Direct2D, Vcl.ExtCtrls,
Vcl.ComCtrls;
type
TScaledGraphicDrawer_MainForm =... |
unit nsTypes;
interface
uses
Winapi.Windows,
System.Classes,
Vcl.Controls,
nsCrypt,
nsGlobals,
nsProcessFrm,
nsMasks;
type
TWaitProgress = procedure(CurBlock, TotBlock: integer; var AClose: Boolean) of object;
TCheckState = (csAll, csDelete, csRestore, csBackup);
TItemState ... |
unit brTindakanU;
interface
uses Dialogs, Classes, brCommonsU, System.SysUtils, System.StrUtils;
type
brTindakan = class(bridgeCommon)
private
function ambilJsonPostTindakan(idxstr : string) : string;
function ambilJsonPostTindakanTunggal(id : string) : string;
procedure masukkanDelTindakan(id : ... |
{
Double Commander
-------------------------------------------------------------------------
This unit contains UTF-8 versions of Find(First, Next, Close) functions
Copyright (C) 2006-2020 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify... |
unit Personification_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxSplitter, cxGridLevel,
cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTable... |
unit uRelatAssPendentes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, JvExStdCtrls, JvButton,
JvCtrls, JvComponentBase, JvEnterTab, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids,
Vcl.Mask, JvExMask, Jv... |
{
Datamove - Conversor de Banco de Dados Firebird para Oracle
licensed under a APACHE 2.0
Projeto Particular desenvolvido por Artur Barth e Gilvano Piontkoski para realizar conversão de banco de dados
firebird para Oracle. Esse não é um projeto desenvolvido pela VIASOFT.
Toda e qualquer alteração deve ser s... |
{***************************************************************
Projekt Name: TBigNum
Beschreibung: Mit TBigNum ist möglich mit großen Zahlen in Delphi, Kylix und Object Pascal zu rechnen.
Copyright © 2003 Martin Winandy
This library is free software; you can redistribute it and/or
modify it under the terms ... |
{******************************************************************************}
{ lazbbcontrols : Controls with properties unavailable in lazarus controls }
{ Added to lazbbComponents palette }
{ bb - sdtp - march 2022 }... |
unit ColorBtn;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TColorBtn = class(TButton)
private
IsFocused: boolean;
FCanvas: TCanvas;
F3DFrame: boolean;
FButtonColor: TColor;
procedure Set3DFrame(Value... |
(* $Header: /SQL Toys/SqlFormatter/SqlConverters.pas 26 18-02-11 18:43 Tomek $
(c) Tomasz Gierka, github.com/SqlToys, 2015.06.14 *)
{-------------------------------------- --------------------------------------}
unit SqlConverters;
interface
uses SqlTokenizers, SqlStructs, SqlLi... |
unit Win32.DV;
//------------------------------------------------------------------------------
// File: DV.h
// Desc: DV typedefs and defines.
// Copyright (c) 1997 - 2001, Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
// Updated to SDK... |
unit CodeExplorer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, ImgList, ExtCtrls, Menus,
EasyClasses, EasyEditSource, EasyEditor, PhpParser;
type
TCodeExplorerForm = class(TForm)
TreeView: TTreeView;
ExplorerImages: TImageList;
PopupMenu1:... |
(* InfixToPrefix 26.04.17 *)
PROGRAM InfixToPrefix;
CONST
eosCh = Chr(0);
TYPE
SymbolCode = (noSy, (* error symbol *)
eosSy,
plusSy, minusSy, timesSy, divSy,
leftParSy, righParSy,
number, variable);
VAR
line: STRING;
ch:... |
unit uBoleto.Impl;
interface
uses
uBoleto.Intf;
type
TContaBancaria = class(TInterfacedObject, IContaBancaria)
strict private
FCodigoBanco: UInt16;
public
function GetCodigoBanco: UInt16;
procedure SetCodigoBanco(const pCodigoBanco: UInt16);
end;
TCedente = class(TInterfacedObject, ICedente)... |
unit ThStructuredDocument;
interface
uses
Classes, ComCtrls, Graphics;
type
TThStructuredDocument = class(TStringList)
protected
function GetSection(const inName: string): TThStructuredDocument;
function GetSubDocument(inIndex: Integer): TThStructuredDocument;
protected
function ShouldPublish(... |
unit HeaderFooterTemplate;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, uADStanIntf,
uADStanOption, uADStanError, uADGUIxIntf, uADPhysIntf, uADStanDef,
uADStanPool, uADStanAsync, uADPhysMan... |
{*******************************************************************************
Title: T2TiPDV
Description: Permite a emissão dos relatórios do Sintegra e SPED Fiscal
The MIT License
Copyright: Copyright (C) 2012 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software ... |
unit SpPeople_FamilyForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, FIBDataSet, pFIBDataSet, cxDropDownEdit,
cxDBEdit, cxMaskEdit, cxCalendar, cxControls, cxContainer, cxEdit,
cxTextEdit, StdCtrls, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,
... |
unit Adapt.WaypointEvent;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
interface
uses
SysUtils,
ZConnection, ZDatas... |
unit Person;
interface
uses
mORMot,
SynCommons;
type
TSQLCity = class(TSQLRecord)
private
FName: RawUTF8;
FState: RawUTF8;
published
property Name: RawUTF8 read FName write FName;
property State: RawUTF8 read FState write FState;
end;
TSQLPerson = class(TSQLRecord)
... |
unit Utilities;
interface
uses
Windows;
function GetLargeFileIcon(const fname: String): hIcon;
function GetFileType(const fName: String): String;
function GetSystemTemp: string;
function MakeAttributeString(attr: Word): String;
function MakeSizeString(size: Integer): String;
function MoveDirectory(co... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2012 Alan Fletcher.
// You may use thius software in any way you want and contribute back to the
// author with any improvements you may have made to it.
// You are also allowed to use this software or part o... |
//---------------------------------------------------------------------------
// Copyright 2012 The Open Source Electronic Health Record Agent
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License... |
unit UTurret;
interface
uses
W3System, UBullet, UPlayer, UPlat, UGlobalsNoUserTypes;
type
SidePlacedOn = (Left, Right, Top, Bottom);
const
WIDTH = TURRET_WIDTH;
HEIGHT = TURRET_HEIGHT;
MAXTIMESSHOT = 2;
MINTIMETILLSHOOT = 20;
type
TTurret = class(TObject)
X, Y : float; //The x and y position of the... |
// файл figure.pas
unit figure;
interface
uses board;
//------------------------------------
// класс Шахматная фигура
//------------------------------------
Type Tfigure = class
protected
ID : Tid; // идентификатор фигуры;
board : Tboard; // ис... |
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2009, 2010 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "License"); yo... |
unit mo17_intf;
interface
uses AppStruClasses, Forms, Classes, Ibase, Messages, Windows,
Dialogs, SysUtils;
type
TMO17MainBook=class(TFMASAppModule,IFMASModule)
private
WorkMainForm:TForm;
public
procedure Run;
procedure OnLanguageChange(var Msg:TMessage); message... |
{N empresas de transportes realizan envíos de cargas, por cada bulto se
ingresa PESO de la carga (número real) y CATEGORIA (dato codificado: C -
común , E - especial , A – aéreo).
El precio se calcula a $25 por Kg para categoría común, $32.5 por Kg para
categoría especial y $50 por Kg para categoría aérea. Se cobra rec... |
//=============================================================================
// sgVectorShapes.pas
//=============================================================================
//
// EXPERIMENTAL
//
// Contains code to create shapes - should allow vector graphics for
// Sprites etc when complete... Needs lots of ... |
PROGRAM GetParameters(INPUT, OUTPUT);
USES
GPC;
VAR
Copy, Stringer: STRING;
{Print parameters Querystring}
PROCEDURE GetQueryStringParameters(Text: STRING);
VAR
i, Indexer, Count: INTEGER;
BEGIN {GetQueryStringParameters}
Copy := 'key';
FOR i := 1 to Length(Text)
DO
BEGIN
{Print key}
IF Co... |
unit ibSHDDLExtractorEditors;
interface
uses
SysUtils, Classes, DesignIntf, TypInfo,
SHDesignIntf, ibSHDesignIntf, ibSHCommonEditors;
type
// -> Property Editors
TibSHDDLExtractorPropEditor = class(TibBTPropertyEditor)
private
FDDLExtractor: IibSHDDLExtractor;
FValues: string;
pro... |
unit URegularFunctions;
interface
function convert_mass_to_volume_fractions(
mass_fractions: array of real;
density: array of real): array of real;
function convert_mass_to_mole_fractions(
mass_fractions: array of real;
mr: array of real): array of real;
function get_flow_density(mass_fractions: array of... |
unit upgrade;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fphttpclient,
{twexe units}
exedata, wikiops, fileops, logger, version,
{$ifdef unix}
unixlib
{$endif}
{$ifdef windows}
windowslib
{$endif}
;
function NeedUpgrade():boolean;
implementation
const
VERSION_URL = 'http://ihm4u.... |
unit FloatSpinEdit;
interface
uses Classes, QComCtrls, Qt, SysUtils, QConsts, QForms;
procedure CheckRange(AMin, AMax: Real);
type
TFloatSpinEdit = class(TCustomSpinEdit)
private
FMin: Real;
FMax: Real;
FValue: Real;
FOnChanged: TSEChangedEvent;
f... |
unit GLConstants;
interface
uses BasicMathsTypes;
const
// Model Types
C_MT_STANDARD = 0;
C_MT_VOXEL = 1;
// For Mesh.NormalsType
C_NORMALS_DISABLED = 0;
C_NORMALS_PER_VERTEX = 1;
C_NORMALS_PER_FACE = 2;
// For Mesh.ColoursType
C_COLOURS_DISABLED = 0;
C_COLOURS_PER_VER... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmDayView
Purpose : This is a very basic PIM component.
Date : 04-14-2002
Author : Ryan J. Mills
Version : 1.92
=========================================================... |
unit API_ORM_Bind;
interface
uses
System.Generics.Collections,
API_ORM;
type
TBindItem = record
Control: TObject;
Entity: TEntityAbstract;
Index: Integer;
end;
TBind = class
private
FBindArray: TArray<TBindItem>;
public
procedure AddBind(aControl: TObject; aEntity: TEntityAbstract;... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
unit Chapter08._07_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DeepStar.Utils;
/// 200. Number of Islands
/// https://leetcode.com/problems/number-of-islands/description/
/// 时间复杂度: O(n*m)
/// 空间复杂度: O(n*m)
type
TSolution = class(TObject)
public
function numIslands(grid: TArr2D_c... |
unit ibSHSQLGenerator;
interface
uses Classes, SysUtils,
SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, ibSHSQLs, ibSHConsts,
ibSHTxtRtns, pSHQStrings;
type
TibBTSQLGenerator = class(TSHComponent, IibSHSQLGenerator)
private
FCodeNormalizer: IibSHCodeNormalizer;
procedure CatchCodeNor... |
unit Dmitry.Utils.Files;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Winapi.Windows,
System.Classes,
System.SysUtils,
System.StrUtils,
System.Math,
System.Win.Registry,
Winapi.ShlObj,
Winapi.ActiveX,
Winapi.ShellAPI,
Winapi.ACLApi,
Winapi.AccCtrl,
Dmitry.Memory,
Dmitry.U... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
GL, GLU, StdCtrls, ExtCtrls,UrickGL, U3Dpolys;
type
TForm1 = class(TForm)
Panel1: TPanel;
Timer1: TTimer;
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: ... |
unit Unit1;
interface
uses
Winapi.OpenGL,
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.StdCtrls,
Vcl.ComCtrls,
Vcl.Buttons,
Vcl.Forms,
Vcl.Dialogs,
GLWin32Viewer,
GLCrossPlatfor... |
unit ThStructuredHtml;
interface
uses
Classes,
ThStructuredDocument;
type
TThStructuredHtml = class(TThStructuredDocument)
private
FBodyOnly: Boolean;
function GetHeaders: TStrings;
// function GetScript: TStrings;
function GetStyles: TStrings;
function GetTitle: TStrings;
protected
... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0014.PAS
Description: OOPMENU.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:53
*)
{
Menus in TV are instances of class tMenuBar, accessed via Pointer Type
pMenuBar. A Complete menu is a Single-linked list, terminated With a NIL
Pointer. Eac... |
unit Frame.DHLShipmentOrder;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Objekt.DHLShipmentOrderRequestAPI, Objekt.DHLShipmentorderResponseList,
IdBaseComponent, IdComponent, I... |
// Credit to Paul Bourke (pbourke@swin.edu.au) for the original Fortran 77 Program :))
// Conversion to Visual Basic by EluZioN (EluZioN@casesladder.com)
// Conversion from VB to Delphi6 by Dr Steve Evans (steve@lociuk.com)
/// ////////////////////////////////////////////////////////////////////////////
// June 200... |
unit uMain;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
uGame,
uGameScreen,
uGameScreen.MainMenu,
uGameScreen.Credits,
uGameScreen.NewGame,
uGameScreen.MainGame,... |
unit UDParagraphs;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, UCrpe32;
type
TCrpeParagraphsDlg = class(TForm)
pnlParagraphs: TPanel;
lblNames: TLabel;
lblFieldName: TLabel;
lblTextStart: TLabel;
lblCount: TLabel;
lblTextE... |
(* BigInts: F.Li, 1998-11-22
------- HDO, 2000-11-13
Artihmetic for arbitrary size integers which are
represented as singly-linked lists.
==================================================================*)
PROGRAM BigInts;
(*$IFDE... |
unit ModflowCfpWriterUnit;
interface
uses
CustomModflowWriterUnit, ModflowPackageSelectionUnit,
Generics.Collections, PhastModelUnit, ScreenObjectUnit, DataSetUnit,
GoPhastTypes, SysUtils, Classes, ModflowBoundaryDisplayUnit;
type
TCfpPipe = class;
TCfpNode = class(TObject)
private
FNumber: Integer;... |
unit DesignView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
dcsystem, dcfdes,
LrObserverList;
type
TDesignForm = class(TForm)
DCLiteDesigner: TDCLiteDesigner;
procedure DCLiteDesignerSelectionChanged(Sender: TObject);
procedur... |
unit FileInfo;
interface
uses SysUtils, Classes, Windows, MD4, AnidbConsts;
//If set, FileDB will be saved to disk every time a change is made.
//Otherwise it'll be only flushed on exit.
{$DEFINE UPDATEDBOFTEN}
type
TFileInfo = record
size: int64;
ed2k: MD4Digest;
lead: MD4Digest;
Sta... |
{*******************************************************************************
Title: T2TiPDV
Description: Controle de importações
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files ... |
program binarytree;
TYPE
TreeNodePtr = ^TreeNode;
VisitProcPtr = Procedure(node: TreeNodePtr);
TreeNode = RECORD
parent : TreeNodePtr; // pointer to the parent node
left: TreeNodePtr; // pointer to the left node
right: TreeNodePtr; // pointer to the right node
ID: integer; // integer ID of the node
visit... |
unit uI2XUndo;
interface
uses
SysUtils,
Classes,
contnrs,
Controls,
StdCtrls,
GR32_RangeBars,
GR32_Image,
ComCtrls,
uStrUtil,
Types,
Grids
;
const
UNDO_FILE_PREFIX='~UNDO';
type
TUndoAction = (
udNone = 0,
udControlChange,
udFileLoad,
udImageLoad... |
//------------------------------------------------------------------------------
//Event UNIT
//------------------------------------------------------------------------------
// What it does-
// The base Event class, provides the shared attrib... |
unit Unit2;
interface
uses
System.SysUtils, System.Classes, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IniFiles, Forms, Vcl.ExtCtrls, IdGlobal, Superobject, DateUtils;
type TReadArr = array of string;
type TManager = class(TObject)
private
TextEncode: IIdTextEncoding;
Timer1 : TTimer;
... |
unit BsLgotPeriods;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxTextEdit,
cxMaskEdit, cxDropDownEdit, cxCalendar, cxControls, cxContainer, cxEdit,
cxLabel, cxCheckBox, uConsts, uCommon_Funcs, uCommon_Loader, u... |
unit FormTopologyAnalysis;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, TopologyAnalyzer, Voxel;
type
TFrmTopologyAnalysis = class(TForm)
Bevel4: TBevel;
BtOK: TButton;
GbCollectedData: TGroupBox;
... |
unit Odontologia.Modelo.Entidades.Departamento;
interface
uses
SimpleAttributes;
type
[Tabela('DDEPARTAMENTO')]
TDDEPARTAMENTO = class
private
FDEP_NOMBRE : String;
FDEP_COD_PAIS : Integer;
FDEP_CODIGO : Integer;
procedure SetDEP_COD_PAIS (const Value: Integer);
procedure SetDEP_COD... |
unit uMainServer;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireD... |
unit u_ast;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
u_tokens;
type
TMashBaseAST = class
protected
lastTk: TMashToken;
public
tokens: TList;
nodes: TList;
constructor Create(_tokens: TList);
destructor Destroy; override;
// Routines for tokens
functi... |
unit ibSHAutoReplace;
interface
uses Classes, Forms, SysUtils, Menus,
SHDesignIntf, SHOptionsIntf, SHEvents, ibSHDesignIntf, ibSHConsts,
pSHIntf, pSHAutoComplete;
type
TibBTAutoReplace = class(TSHComponent, ISHDemon, IpSHAutoComplete, IibSHAutoReplace)
private
FAutoComplete: TpSHAutoCo... |
unit Demo.AreaChart.Stacking;
interface
uses
System.Classes, System.Variants, Demo.BaseFrame, cfs.GCharts;
type
TDemo_AreaChart_Stacking = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_AreaChart_Stacking.GenerateChart;
var
// Defined as TInterface... |
unit Dmitry.Utils.Network;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
Winapi.Windows,
System.SysUtils,
System.Classes;
type
TWNetOpenEnumW = function(dwScope, dwType, dwUsage: DWORD; lpNetResource: PNetResourceW; var lphEnum: THandle): DWORD stdcall;
TWNetEnumResourceW = function(hEnum: THan... |
{$I eDefines.inc}
unit iec104utils;
interface
uses SysUtils;
// максимальное количество подключений
const MAX_CLIENT_COUNT = 32;
MAX_COMMANDS_COUNT = 128;
type TIECFunctionFormat = (I_Format, S_Format, U_Format);
TASDUDataBlockId = record
ASDUType: Byte; // иден... |
unit UAssyncControler;
interface
uses
Windows, SysUtils, Generics.Collections, RegistroControler, SyncObjs, Winapi.Messages, Classes;
const
WM_PROCEDIMENTOGENERICOASSYNC = WM_USER + 1;
WM_TERMINATE = WM_USER + 2;
Type
TAssyncControler = class(TThread)
private
Cores : TSystemInfo;
... |
unit myclasses3;
{
资产数据! 资产数据! 资产数据!
资产数据! 资产数据! 资产数据!
资产数据! 资产数据! 资产数据!
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
//资产数据
{TCash 现金资产}
TCash = class(Tcomponent)
private
FAvailable:double; // 可取
public
constructor Create(AO... |
(* Stack ADT 4 19.04.2017 *)
(* ---------- *)
(* implementing the stack as abstract data type - version 4 *)
(* ========================================================= *)
UNIT StackADT4;
INTERFACE
TYPE
(* "verstecken" von sta... |
unit Odontologia.Controlador.Departamento;
interface
uses
Data.DB,
System.SysUtils,
System.Generics.Collections,
Odontologia.Controlador.Departamento.Interfaces,
Odontologia.Controlador.Pais,
Odontologia.Controlador.Pais.Interfaces,
Odontologia.Modelo,
Odontologia.Modelo.Entidades.Departamento,
Odon... |
unit Keyman.System.BuildISO6393Registry;
interface
type
TBuildISO6393Registry = class
class procedure Build(const ISO6393File, DestinationFile: string);
end;
implementation
uses
System.SysUtils,
System.Classes;
class procedure TBuildISO6393Registry.Build(const ISO6393File, DestinationFile: string);
var... |
unit uShareUtils;
interface
uses
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Imaging.Jpeg,
Vcl.Imaging.pngimage,
uMemory,
uGraphicUtils,
uJpegUtils,
uAssociatedIcons,
uImageLoader,
uDBEntities,
uSettings;
type
TShareLinkData = record
Url: string;
Tag: s... |
unit Unit1;
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;
type
TForm1 = class(TForm)
NoPluralLabel: TLabel;
NoPluralLabel0: TLabel;
NoPluralLa... |
unit AvgHospHands_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxTextEdit, cxCurrencyEdit, cxLabel,
cxGroupBox, StdCtrls, cxButtons, cxControls, cxContainer, cxEdit,
cxRadioGroup, ZTypes, Unit_ZGlobal_Consts, ZProc, FIBQuer... |
unit uInstallScope;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
Generics.Collections,
System.Classes,
uMemory,
{$IFNDEF EXTERNAL}
uTranslate,
{$ENDIF}
OpenCV.Lib,
Dmitry.Utils.System,
uConstants;
type
//OBJECTS
TInstallObject = class(TObject)
end;
TShortCut = class(TObj... |
{ ****************************************************************************** }
{ * Transform TextTable writen by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
(* WLA: HDO, 2016-12-06
---
Wish list analyzer for the Christkind.
==========================================================*)
PROGRAM WLA;
(*$IFDEF WINDOWS*)
USES
WinCrt;
(*$ENDIF*)
TYPE
wishPtr = ^wishersNode;
wishersNode = RECORD
next : wishPtr;
name : S... |
unit gr_ReeDolgDataModul;
interface
uses
SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase,
frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants,
Unit_SprSubs_Consts, ZProc, Controls, FIBQuery,
pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, Unit_SvodDocs_Consts,
... |
namespace colorapplet;
// Sample applet project by Brian Long (http://blong.com)
// Translated from Michael McGuffin's DrawingWithColor2 applet
// from http://profs.etsmtl.ca/mmcguffin/learn/java/03-color/
interface
uses
java.util,
java.applet.*,
java.awt;
type
ColorApplet = public class(Appl... |
unit fos_strutils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,strutils;
function FOS_AnsiContainsText(const AText, ASubText: string): Boolean;inline;
function FOS_AnsiStartsText(const ASubText, AText: string): Boolean;inline;
function FOS_AnsiEndsText(const ASubText, AText: string): Boolean;inline;
func... |
unit MVVM.Interfaces.Architectural;
interface
uses
System.Classes,
System.SysUtils,
System.UITypes,
MVVM.CommandFactory,
MVVM.Interfaces,
MVVM.Observable;
type
{$REGION 'MVVM-Layers'}
IModel = interface(IObject)
['{28C9B05B-A5F5-49E1-913E-2AB10F9FB8F3}']
end;
IViewModel = interface(IObject)
... |
unit Option;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, FMX.Objects, FMX.ListBox, FMX.Layouts;
type
TOptionForm = class(TForm)
ToolBar1: TToolBar;
Label1: TLabel... |
unit Support;
{ data module containing all non-visual non-database components (menus, dialogs) }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Spell32, Wwlocate, Menus, Wwfltdlg, stdctrls, db, comctrls, dbctrls;
type
TmodSupport = class(TDataModule)
popRTF: TPopu... |
(* MPC_SS 10.05.17 *)
(* Syntax Analysator (scanner) für mini pascal*)
UNIT MPC_SS;
INTERFACE
VAR
success: BOOLEAN;
PROCEDURE S;
IMPLEMENTATION
USES
MP_Lex, SymTab, CodeGen, CodeDef;
FUNCTION SyIsNot(expectedSy: SymbolCode): BOOLEAN;
BEGIN
s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.