text stringlengths 14 6.51M |
|---|
unit htPicture;
interface
uses
SysUtils, Classes, Graphics,
htPersistBase, htTypes;
type
ThtCustomPicture = class(ThtPersistBase)
private
FFilename: string;
FPictureValid: Boolean;
FPicture: TPicture;
FUrl: string;
protected
function GetGraphic: TGraphic;
function GetPicture: TPictu... |
unit Geometry1;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
uses sysutils,math,util1,listG,NcDef2;
type
TRPoint=record
x,y:float;
end;
TpolyR=array of TRPoint;
{ On considère des polygones convexes orientés dans le sens des aiguilles d'une montre ... |
{------------------------------------------------------------------------------}
{ 单元名称: DWinCtl.pas }
{ }
{ 单元作者: 未知 修改作者: 清清 }
{ 创建日期: 未知 ... |
{: Explosion FX Demo (Matheus, matheus@tilt.net)<p>
This project demonstrates the use of TGLBExplosionFx. Nothing out
of ordinary as one can see. Load the mesh, load the default settings,
click "on" to initiate the demo, "reset" to reset :)<p>
The information of the mesh is cached on the cache variable, that is... |
unit eaterSanitize;
interface
uses SysUtils, jsonDoc, MSXML2_TLB;
procedure SanitizeInit;
function SanitizeTrim(const x:WideString):WideString;
procedure SanitizePostID(var id:string);
function SanitizeTitle(const title:WideString):WideString;
procedure SanitizeContentType(var rt:WideString);
procedure SanitizeUnico... |
{
@abstract Implements font and character set routines.
}
unit NtFontUtils;
{$I NtVer.inc}
interface
uses
Vcl.Graphics;
type
{ @abstract Record that stores information about charset. }
TNtCharsetInfo = record
CharSet: TFontCharset;
CodePage: Integer;
end;
{ @abstract Static class that contains ... |
(***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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... |
unit uClassicMultiplier;
{$I ..\Include\IntXLib.inc}
interface
uses
uMultiplierBase,
uDigitHelper;
type
/// <summary>
/// Multiplies using "classic" algorithm.
/// </summary>
TClassicMultiplier = class sealed(TMultiplierBase)
public
/// <summary>
/// Multiplies two big i... |
unit ListaItens;
interface
uses Classes, Produto, Dialogs;
Type
TListaItens = class
private
{ private declarations }
FListaItens : TList;
protected
{ protected declarations }
public
constructor Create;
procedure Adicionar(pItem: TProduto);
procedure Remover(Index: Integer);
function Count:... |
//******************************************************************************
// Проект "ГорВодоКанал" (bs)
// Файл типов
// Перчак А.Л.
// создан 18/01/2010
// последние изменения Перчак А.Л. 18/01/2010
//******************************************************************************
unit uCommon_Types;
interface
... |
unit Arabic;
interface
uses Classes, SysUtils, XmlObjModel, Dialogs;
type
TAraAlphaName = String[16];
TAraAlphaId =
{ 00-04 } (aaUnknown, aaAlif, aaBaa, aaTaa, aaSaa,
{ 05-09 } aaJeem, aaHaa, aaKhaa, aaDaal, aaDhaal,
{ 10-14 } aaRaa, aaZaa, aaSeen, aaSheen, aaSaud,
{ 15-19 } aaDhaud, aaTau, aaZau,... |
{..............................................................................}
{ Converts bitmap image into PCB regions, addaped from 'Scan Pixel Algorithm' }
{ Version 1.3 script by Paul D. Fincato (fincato@infinet.com) }
{ ... |
unit umfmMakeSampleKey;
interface
uses
Windows, Messages, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uTPLb_MemoryStreamPool, uTPLb_Signatory, uTPLb_Codec,
uTPLb_BaseNonVisualComponent, uTPLb_CryptographicLibrary, uTPLb_Hash;
type
TmfmMakeSampleKey = class(TForm)
btnGenRSA: TButton;
... |
unit UnitFMPreview;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UnitMain, Menus, ExtCtrls;
type
TFormFMPreview = class(TForm)
Image1: TImage;
PopupMenu1: TPopupMenu;
Salvar1: TMenuItem;
SaveDialog1: TSaveDialog;
procedure FormShow(Sende... |
unit uUserBook;
interface
uses
classes, controls, ADODB, DB, cxGrid, uAccessGrid, uFrameGrid, uBASE_BookForm,
uFrameUserTable, cxPC, uAccess, uFrameUserData, uParams, uCommonUtils;
type
TUserBookItem = class;
TUserBook = class;
TUserBookItem = class(TCollectionItem)
private
FAccess: TA... |
{***************************
界面控件与存储过程参数字段配置
为了减少对界面控件的值的获取和赋值
mx 2015-04-28
****************************}
unit uDBComConfig;
interface
uses
Windows, Classes, Db, DBClient, SysUtils, Controls, cxGrid, cxGridCustomView, cxGridCustomTableView, cxGridTableView,
cxGridDBTableView, cxGraphics, uParamObject, cxButtons,... |
{
Autor: Vinícius Lopes de Melo
Data: 17/06/2014
Link: https://github.com/viniciuslopesmelo/Aplicacao-Delphi
}
unit untFrmPrincipal;
interface
uses
untDMPrincipal,
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, ExtCtrls;
type
TFormPrincipal = class(TFor... |
unit AST.Delphi.Parser;
interface
uses
AST.Pascal.Parser,
AST.Lexer,
AST.Classes,
AST.Parser.Messages,
AST.Delphi.Operators,
AST.Delphi.Errors,
AST.Lexer.Delphi,
AST.Delphi.DataTypes,
AST.Delphi.Classes,
AST.Parser.Utils,
AST.Parser.Contexts,
AST.Delphi.Contexts,
AST.Parser... |
//
// Generated by JavaToPas v1.4 20140515 - 182154
////////////////////////////////////////////////////////////////////////////////
unit android.app.Instrumentation_ActivityMonitor;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.content.IntentFilter,
android.app.Instrumentation_Activi... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.Edit,
FMX.Menus, FMX.StdCtrls, FMX.Controls.Presentation;
type
TForm1 = class(TForm)
DistanceLabel: TLabel;
DistanceEdit: TEdit;... |
//
// Generated by JavaToPas v1.4 20140515 - 181823
////////////////////////////////////////////////////////////////////////////////
unit org.apache.http.impl.conn.LoggingSessionInputBuffer;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
org.apache.http.io.SessionInputBuffer,
org.apache.http.i... |
unit HashAlgEngine_U;
// Description: Hashing Engine Base Class
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, SDUGeneral,
HashValue_U;
type
THashAl... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
//=============================================================================
//调用函数说明:
// 发送文字到主程序控制台上:
// procedure MainOutMessasge(sMsg:String;nMode:integer)
// sMsg 为要发送的文本内容
// nMode 为发送模式,0为立即在控制台上显示,1为加入显示队列,稍后显示
//
// 取得0-255所代表的颜色
// function GetRGB(bt256:Byte):TColor;
// bt256 要查询数字
... |
unit Daw.Controller.New;
interface
uses
Daw.Adb,
DAW.Adb.Parser,
DAW.Utils.DosCMD,
DAW.Model.Device.New,
DAW.Model.Devices;
type
TdawController = class
private
FLastDevices: TdawDevices;
FAvaibleDevices: TdawDevices;
FAdb: TdawAdb;
FCmd: TDosCMD;
FAdbParser: TdawAdbParser;
public
... |
unit u_compiler;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
u_parser,
u_ast_constructions,
u_ast_blocks,
u_tokens,
u_ast_constructions_blocks,
u_sem,
u_gen;
type
TMashCompiler = class
protected
fp, destp: string;
public
constructor Create(_fp, _destp: string);
... |
namespace Calculator.OSX;
interface
uses
AppKit,
Calculator.Engine;
type
[IBObject]
MainWindowController = public class(NSWindowController)
private
var edValue: weak NSTextField;
public
method init: InstanceType; override;
method windowDidLoad; override;
[IBAction]
m... |
unit dxDBDateEdit;
interface
uses
Messages, Classes, Controls, dxDateEdit, DB, DBCtrls;
type
TdxDBDateEdit = class(TCustomdxDateEdit)
private
FDataLink: TFieldDataLink;
function GetDataField: string;
function GetDataSource: TDataSource;
function GetField: TField;
procedure SetDataField(con... |
unit uConsultaCEP;
interface
uses
System.SysUtils, System.JSON, REST.Client, System.Generics.Collections, IPPeerClient;
const
URL_PREFIXO = 'http://viacep.com.br/ws/';
URL_SUFIXO = '/json/';
JSON_ERRO = 'erro';
JSON_CEP = 'cep';
JSON_LOGRADOURO = 'logradouro';
JSON_COMPLEMENTO = 'complemento';
JSON_... |
unit uUninstallActions;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
System.Classes,
System.SysUtils,
System.StrUtils,
System.Win.Registry,
Winapi.Windows,
Winapi.Messages,
Winapi.ShellAPI,
Dmitry.Utils.System,
Dmitry.Utils.Files,
uMemory,
uActions,
uInstallScope,
uInst... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Logger.Provider.Rest
Description : Log Api SolR Provider
Author : Kike Pérez
Version : 1.22
Created : 15/10/2017
Modified : 23/02/2019
This file is part... |
unit Client;
interface
uses SysUtils, DateUtils, SyncObjs, System.Classes, System.Generics.Collections,
Simplex.Client, Simplex.Types;
type
TNodeParams = record
NodeId: SpxNodeId;
AccessLevel: SpxByte;
Excecutable: SpxBoolean;
DisplayName: SpxString;
Value: SpxVariant;
Paren... |
unit unit_utils;
interface
uses classes;
type
TByteArr = array of byte;
TStringArr = array of String;
function RFC2822Date(const LocalDate: TDateTime; const IsDST: Boolean): string;
function md5(s: string): string;
function bintostr(const bin: array of byte): string;
procedure regWriteString(key:string; ... |
unit CalcUnit;
interface
uses Math;
type
TCalc = class
public
function Adicao(Value1, Value2: Real): Real;
function Subtracao(Value1, Value2: Real): Real;
function Multiplicacao(Value1, Value2: Real): Real;
function Divisao(Value1, Value2: Real): Real;
end;
implementation
{ TCa... |
unit ideSHRegistry;
interface
uses
Windows, SysUtils, Classes, Contnrs, Dialogs, Graphics, StrUtils, ActnList,
SHDesignIntf, SHDevelopIntf,
ideSHDesignIntf;
procedure ideBTRegisterActions(ActionClasses: array of TSHActionClass);
procedure ideBTRegisterComponents(ComponentClasses: array of TSHComponen... |
unit UHistory;
interface
uses
UTypes;
{ Проверяет пуста ли история }
function isEmptyList():Boolean;
{ Добавляет элемент в историю }
procedure addHistoryItem(item: THistoryItem);
{ Добавляет элемент в конец истории }
procedure addLastHistoryCell(cell: THistoryCell);
{ Очищает историю }
procedure clearHistory();... |
unit HMAC;
// Description: HMAC implementation
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// This implementation conforms to the RFC2104 specification for HMAC, and may
// be verified by... |
unit sgDriverSDL2Types;
interface
{$packrecords c}
//
// Types from sgBackendTypes.pas
//
type
BytePtr = ^Byte;
int = longint;
pint = ^int;
puint16 = ^uint16;
float = single;
pfloat = ^single;
uint = longword;
sg_drawing_surface_kind = (
SGDS_Unknown := 0,
SGDS_Window := 1,
SGDS_Bitmap... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.Logger.Provider.InfluxDB
Description : Log Api InfluxDB Provider
Author : Kike Pérez
Version : 1.1
Created : 25/02/2019
Modified : 20/04/2021
This file ... |
{$B-}
{$mode delphi}
unit pasfunc;
interface
uses SysUtils, Math, PasCalc, Variants;
procedure SetFunctions(PC : TPasCalc);
implementation
function VarIsString(V : TVar) : boolean;
var t: integer;
begin
t := VarType(V.Value);
Result := (t=varString) or (t=varOleStr);
end;
function fFloatToStr(Sender:TObject... |
program csvconv;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, csvdocument_package, CustApp,
CSVDocument, Math;
type
{ TCSVDoc }
TCSVDoc = class(TCustomApplication)
protected
procedure DoRun; override;
procedure DoConvert(iFile: str... |
unit uPriceQueryFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uListFormBaseFrm, cxPC, cxControls, cxLookAndFeelPainters,
cxGroupBox, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit,
Menus, StdCtrls, cxButtons, cxCheckBox, cxDropDownEd... |
unit SDUMultimediaKeys;
// Multimedia keys component
// Set "MultimediaKeyControl" as appropriate, and then set Active to TRUE.
// Note: If MultimediaKeyControl is set to nil, multimedia keystokes won't be
/// restricted to a single control
// !!! WARNING !!!
// Not guaranteed to work correctly if multip... |
unit ConverterClassData;
interface
uses
Classes;
type
TTemperatureFormula = record
Name : String;
A : Extended;
B : Extended;
C : Extended;
end;
TTemperature = class
private
FValue : Extended;
FScale : Integer;
FFormulas : array of TTemperatureFormula;
function GetCount: In... |
unit untAdminSystem;
interface
uses
Windows;
type
TAdmin = Class(TObject)
Private
Admins :Array[0..99] Of String;
Public
Procedure LoginAdmin(szUser: String);
Procedure LogoutAdmin(szUser: String);
Procedure ClearAdmin;
Function AdminLoggedIn(szUser: String): Boolean;
End;
var
... |
{Классы аккумулятора для каких-либо объектов}
unit uBulletAccum;
interface
uses
GLScene, GLObjects, GLMaterial, GLVectorGeometry, GLVectorTypes,
uSimplePhysics;
type
TdfBullet = class(TGLSprite)
private
FUsed: Boolean;
FLaunchedPos: TVector;
FPhys: TdfPhys;
FDamage: Single;... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient,
REST.OpenSSL, REST.Backend.ServiceTypes, REST.Backend.MetaTypes, System.JSON,
REST.Backend.KinveyServices, FireDAC... |
unit fre_hal_mos;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
Redist... |
unit uIntXGlobalSettings;
{$I ..\Include\IntXLib.inc}
interface
uses
uEnums;
type
/// <summary>
/// <see cref="TIntX" /> global settings.
/// </summary>
TIntXGlobalSettings = class sealed(TObject)
private
/// <summary>
/// <see cref="TMultiplyMode" /> Instance.
/// </s... |
// API LOJA INTEGRADA
// Comunidade Loja Integrada
//
// Keler Silva de Melo
// keler.melo@gmail.com
//
// 20/08/2020
//
// Link da Comunidade: https://comunidade.lojaintegrada.com.br/t/api-de-integracao-loja-integrada/52862
// Link da API: https://lojaintegrada.docs.apiary.io/#
unit UnitFormPrincipalEngrenagem;
inte... |
unit uShapeProps;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls,
iexColorButton, imageenview, iexLayers, ieview, hyiedefs, ExtCtrls, Buttons;
type
TShapeProps = class(TForm)
lblSelectedLayer: TLabel;
cmbShape: TComboBox;
lblS... |
(*
Category: SWAG Title: POINTERS, LINKING, LISTS, TREES
Original name: 0020.PAS
Description: Double Linked Lists
Author: GUY MCLOUGHLIN
Date: 08-24-94 13:49
*)
program Demo_Doubly_Linked_List_Sort;
const
co_MaxNode = 1000;
type
T_St15 = string[15];
T_PoNode = ^T_Node;
T_Node = record
... |
unit uDlgRatioKpAccount;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, StdCtrls,
cxButtons, ExtCtrls, cxRadioGroup, cxGroupBox, cxControls, cxContainer,
cxEdit, cxLabel, cxTextEdit, cxCurrencyEdit;
... |
unit Demo.Fibonacci;
{ Fib.js example from the the Duktape guide (http://duktape.org/guide.html) }
interface
uses
Duktape,
Demo;
type
TDemoFibonacci = class(TDemo)
public
procedure Run; override;
end;
implementation
{ TDemoFibonacci }
procedure TDemoFibonacci.Run;
begin
PushResource('FIB');
if ... |
unit Nathan.Npp.Plugin;
interface
uses
System.SysUtils,
System.Classes,
// System.AnsiStrings,
SciSupport,
npptypes,
// Vcl.Dialogs,
Vcl.Forms,
Winapi.Windows,
Winapi.Messages;
type
/// <summary>
/// TNppPlugin basic class for all derived plugin classes.
/// </summary>
... |
unit Data.Main;
interface
uses
System.SysUtils, System.Classes, Data.DB,
// ------------------------------------------------------------------------
// FireDAC: FDConnection:
FireDAC.Comp.Client,
FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Phys.Intf,
FireDAC.U... |
unit ufmMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls,
Generics.Collections, ComCtrls;
const
CM_PROCEND = WM_USER + 10;
SC_STAYONTOP = WM_USER + 11;
type
TWhichFontFather = class(TForm)
btn1: TButton;
pnl... |
unit Produtos;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, ComCtrls, DB, SqlExpr, DBClient,
StrUtils, Math, Controle;
type
TProdutos = class
private
iCodigo: Integer;
sDescricao: string;
nVlrVenda: Double;
protected
oControle: TControle;
p... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics,
VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCWebB... |
//
// Created by the DataSnap proxy generator.
// 5/19/2014 11:33:04 PM
//
unit ClientClassesUnit1;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExp... |
unit uResponsables;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlue... |
unit frmPedagogueClassEdit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, dbfunc, uKernel;
type
TfPedagogueClassEdit = class(TForm)
Panel2: TPanel;
lvChild... |
unit UnitDesktopPreview;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, VirtualTrees;
type
TFormDesktopPreview = class(TForm)
Image1: TImage;
Timer1: TTimer;
procedure FormCreate(Sender: TObject);
procedure Timer1Timer(Send... |
unit Frame.Welcome;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Messaging.EventBus;
type
TFrameWelcome = class(TFrame)
Panel1: TPanel;
lbAppName: TLabel;
lbApp... |
unit ufmRBMain;
interface
uses
System.Drawing, System.Collections, System.ComponentModel,
System.Windows.Forms, System.Data;
type
TWinForm = class(System.Windows.Forms.Form)
{$REGION 'Designer Managed Code'}
strict private
/// <summary>
/// Required designer variable.
/// </summary>
Compone... |
{$B-,I-,Q-,R-,S-}
{$M 16384,0,655360}
{94¦ Apilamiento de Platos. Polonia 2005
----------------------------------------------------------------------
Las vacas quieren estar en la TV. Ellas han decidido que su mejor
oportunidad es mostrar su habilidad en apilar platos tan alto como
ellas... |
unit frmCliente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, Vcl.StdCtrls, Vcl.Buttons,
Data.DB, Vcl.Grids, Vcl.DBGrids;
type
TfrmClientes = class(TForm)
btnNovo: TBitBtn;
btnSalvar: TB... |
unit UnitMain;
(*
The purpose of this demo is to show how to Tab in and out of the
Crystal Reports Preview Window when it is part of your Form. Normally
the Crystal Preview retains the keyboard focus and is not in the Forms
internal List of controls, so cannot be tabbed in and out of.
One way around this is to trap t... |
unit TestThItemControl;
interface
uses
TestFramework, BaseTestUnit, FMX.Platform, FMX.StdCtrls,
System.Types, System.SysUtils, FMX.Types, FMX.Objects, System.UIConsts;
type
// #140 아이템을 캔버스에서 제거한다.
TestTThItemControl = class(TThCanvasBaseTestUnit)
published
// #141 아이템 삭제 후 캔버스에 표시되지 않아야 한다.
proced... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2014 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Re... |
// ##################################
// ###### IT PAT 2018 #######
// ###### GrowCery #######
// ###### Tiaan van der Riel #######
// ##################################
unit clsDisplayUserInfo_u;
interface
uses
SysUtils;
type
TDisplayUserInfo = class(TObject)
private
f... |
unit Watermarks.INI;
//------------------------------------------------------------------------------
// класс watermark'ов
// работающий на ini-файлах
//
// параметры конструктора:
// AFileName - имя файла
// ASectionName - название скции в файле
// ASaveInterval - интервал между сохранениями, секунд
//--... |
unit Box;
interface
uses
Types, Classes, Contnrs, Graphics,
Node;
type
TBox = class;
TBoxClass = class of TBox;
TBoxList = class;
//
TBoxNode = class(TNode)
public
procedure Measure(inBox: TBox); virtual; abstract;
procedure Render(inBox: TBox; inCanvas: TCanvas;
inRect: TRect); virtu... |
unit ZFPBKDF_2;
interface
{$i STD.INC}
{$I ZFVer.Inc}
uses
SysUtils, ZFKeyDeriv;
type
TPBKDF2 = class (TObject)
private
//the number of iterations
FIterationNumber : Integer;
//salt value for the password-based key derivation function
FSaltValue : PByteArray;
//the length of t... |
unit LA.LU;
interface
uses
LA.Globals,
LA.Matrix,
LA.Vector;
type
T_LU = record
L, U: PMatrix;
end;
/// <summary> 返回LU分解 </summary>
function LU(mtx: TMatrix): T_LU;
implementation
function LU(mtx: TMatrix): T_LU;
var
n, i, j: integer;
a: array of TVector;
L: TMatrix;
p: double;
tmpL, tm... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls;
type
TForm1 = class(TForm)
RichEdit1: TRichEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarati... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmCheckBox
Purpose : Simple Replacement for the MSCheckbox to allow for centering the Box.
Date : 05-08-2001
Author : Ryan J. Mills
Version : 1.92
======================... |
unit TpColorProperty;
interface
uses
TypInfo, SysUtils, Classes, Controls, Graphics, Dialogs,
dcedit, dcfdes, dcsystem, dcdsgnstuff;
type
TTpColorProperty = class(TPropertyEditor)
function GetAttributes: TPropertyAttributes; override;
function GetValue: string; override;
procedure SetValue(const... |
unit uNumericFunctions;
interface
uses Sysutils, Math, Windows, uSystemTypes, Dialogs;
// Antonio M F Souza, December 04, 2012
function prepareStrToFloat(value: Extended): String;
// Antonio M F Souza November 25, 2012
function getDisplayFormat(pDecimalPlaces: Integer): String;
function CountDecimalPlaces(value: Ex... |
unit Dmitry.Utils.SystemImageLists;
// Version 1.1.17
// 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 Fornecedor.Controller.Interf;
interface
uses Fornecedor.Model.Interf, TPAGFORNECEDOR.Entidade.Model;
type
IFornecedorOperacaoIncluirController = interface;
IFornecedorOperacaoAlterarController = interface;
IFornecedorOperacaoExcluirController = interface;
IFornecedorOperacaoDuplicarController = interfac... |
unit ConsoleTools;
interface
uses
{$IFDEF MSWINDOWS}
windows,
{$ENDIF}
commandprocessor, stringx, typex, systemx, sysutils, betterobject;
type
TConsole = class(TBetterObject)
private
{$IFDEF MSWINDOWS}
FHandle: THandle;
{$ENDIF}
FForeGroundColorNumber: nativeint;
FBAckGroundColorNumber: nativeint... |
program Draw;
uses Crt;
type
TLoc = object
X,Y: Integer;
constructor Init(X1,Y1: Integer);
procedure Point; virtual;
end;
TPoint = object(TLoc)
C: Integer;
constructor Init(X1,Y1,C1: Integer);
procedure Point; virtual;
procedure Draw; virtual;
end;
TRectangle = object(TPoint)
... |
unit uVSLog;
interface
uses
SysUtils,Forms,xmldom, XMLIntf, msxmldom, XMLDoc,uVSConst,
uVSSimpleExpress,uVSCombExpress,uLKJRuntimeFile;
type
TVSXMLLog = class
private
m_xmlDoc : TXMLDocument;
m_bOpenLog : boolean;
m_xmlNode : IXMLNode;
public
{$region '构造、析构'}
constructor Create();
d... |
unit status;
{ Keep track of duration, octave, slur and beam status. }
interface
procedure initStatus;
procedure saveStatus(voice: integer);
procedure resetDuration (voice: integer; dur: char);
function duration(voice: integer): char;
function slurLevel(voice: integer): integer;
function beamLevel(voice: integer): ... |
// ----------- Parse::Easy::Runtime -----------
// https://github.com/MahdiSafsafi/Parse-Easy
// --------------------------------------------
unit Parse.Easy.Parser.State;
interface
uses
System.Classes,
System.SysUtils;
type
TState = class(TObject)
private
FIndex: Integer;
FTerms: TList;
FNoTerm... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GeometryCoordinates<p>
Helper functions to convert between different three dimensional coordinate
systems. Room for optimisations.<p>
<b>History : </b><font size=-1><ul>
<li>30/04/03 - EG - Hyperbolic functions moved to GLVectorGeomet... |
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
Unit
GameConstants
*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
[2006/??/??] Helios - Author unstated...
================================================================================
Lic... |
{******************************************************************************}
{* frxMvxEditor.pas *}
{* This module is part of Internal Project but is released under *}
{* the MIT License: http://www.opensource.org/licenses/mit-license.php ... |
unit SpWorkModeEditDays_Edit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxMaskEdit, cxTextEdit, cxSpinEdit,
cxTimeEdit, cxControls, cxContainer, cxEdit, cxLabel, ActnList, StdCtrls,
cxButtons, ExtCtrls,TuCommonTypes,TuMessages,TuC... |
{..............................................................................}
{ Summary Deleting PCB Objects and Updating the Undo System }
{ The correct way to delete PCB Objects }
{ ... |
unit Lib.TCPSocket;
interface
uses
System.SysUtils,
System.Classes,
Winapi.Windows,
Winapi.Messages,
Winapi.WinSock2,
Lib.SSL;
type
TTCPSocket = class
private
FForceClose: Boolean;
FOnDestroy: TNotifyEvent;
FOnException: TNotifyEvent;
FLocalAddress: string;
FLoc... |
{===============================================================================
RadiantMediaPlayerForm Unit
Radiant Shapes - Demo Source Unit
Copyright © 2012-2014 by Raize Software, Inc. All Rights Reserved.
Modification History
-------------------------------------------------------------------... |
unit TesteProjeto;
interface
uses
DUnitX.TestFramework,
Calculadora;
type
[TestFixture]
TTesteProjeto = class(TObject)
private
FCalculadora : TCalculadora;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
[TestCase('TestA','1,2,3')]
... |
// Author: Ivan Polyacov (ivan@games4win.com)
// Copyright (C) Apus Software, 2002-2003, All rights reserved. www.apus-software.com
{
There are 2 interfaces there: procedural and class-based. First does not
aware about multithreading issues. Use it only if you are sure that you
have no concurrent access to ControlFi... |
unit NFSComboBox;
{$I NFS_Komponente.inc}
//{$Define IBC}
interface
uses
Windows, Messages, SysUtils, Classes, Controls, StdCtrls, DB,
{$IfDef IBC}
IBC
{$Else}
IBX.IBDatabase, IBX.IBQuery
{$EndIf}
;
type
TNFSComboBox = class(TComboBox)
private
{ Private-Deklarationen }
FValues: ... |
unit Funcs;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, TAGraph, TASeries, TAFuncSeries, Forms, Controls,
Graphics, Dialogs, ExtCtrls, StdCtrls, Grids, ParseMath, Math;
type
TFuncs = class
procedure CalculateFunc(const AX: Double; out AY: Double);
private
Parse : TParseMath;
... |
unit rtti_broker_uPersistClassRegister;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, rtti_broker_iBroker, fgl;
type
{ TRBPersistClassRegister }
TRBPersistClassRegister = class(TInterfacedObject, IRBPersistClassRegister)
private type
TClasses = specialize TFPGList<TPersistentClass>;
private
... |
unit uDBAdapter;
interface
uses
System.SysUtils,
System.DateUtils,
System.StrUtils,
System.Classes,
Data.DB,
Data.Win.ADODB,
System.Variants,
uMemory,
uDBConnection,
uDBGraphicTypes;
type
TImageTableAdapter = class(TObject)
private
FDS: TDataSet;
function FilterM... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0084.PAS
Description: Listbox example for TurboVision
Author: BRAD PRENDERGAST
Date: 05-30-97 18:17
*)
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Program Name : ListBox2.Pas
Written By : Brad Prendergast... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.