text stringlengths 14 6.51M |
|---|
unit uEXIFDisplayControl;
interface
uses
Winapi.Windows,
System.Classes,
Vcl.Themes,
Vcl.Grids,
Vcl.ValEdit;
type
TEXIFDisplayControl = class(TValueListEditor)
private
procedure CalcRowHeight(Row: Integer);
protected
procedure DrawCell(ACol, ARow: Longint; ARect: TRect;
... |
//=============================================================================
// sgUtils.pas
//=============================================================================
//
// Extra String Utilities used for processing parts of SwinGame.
//
//
// Change History:
//
// Version 3.0:
// - 2010-02-17: David... |
(********************************************************)
(* *)
(* Bare Game Library *)
(* http://www.baregame.org *)
(* 0.5.0.0 Released under the LGPL license 2013 *)
(* ... |
unit templateactns;
{$mode objfpc}{$H+}
interface
uses
BrookAction, RUtils, path;
type
{ TTemplateAction }
TTemplateAction = class(TBrookAction)
private
FTitle: string;
public
procedure Show(const AName: string; const AArgs: array of const);
procedure Show(const AName: string);
property ... |
unit fre_openssl_interface;
{
(§LIC)
(c) Autor,Copyright Dipl.Ing.- Helmut Hartl
FirmOS Business Solutions GmbH
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
... |
unit Design;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
DesignController, DesignSurface, DesignManager;
type
TDesignForm = class(TForm)
DesignController1: TDesignController;
procedure FormPaint(Sender: TObject);
procedure FormCreate(Sende... |
unit mpBlock;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,MasterPaskalForm, fileutil, mpcoin, dialogs, math,
nosotime, mpMN, nosodebug,nosogeneral,nosocrypto, nosounit, strutils;
Procedure CrearBloqueCero();
Procedure BuildNewBlock(Numero,TimeStamp: Int64; TargetHash, Minero, Solucion:String... |
{*******************************************************}
{ }
{ Tachyon Unit }
{ Vector Raster Geographic Information Synthesis }
{ VOICE .. Tracer }
{ GRI... |
unit MyLabel;
interface
uses
Classes,
StdCtrls;
type
TMyLabel = class(TLabel)
private
FDescription: String;
FExcludeMe: String;
published
property Description: String read FDescription write FDescription;
property ExcludeMe: String read FExcludeMe write FExcludeMe;
end;
TMyMemo = clas... |
unit LrProjectView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, VirtualTrees, ActiveX,
ImgList, PngImageList,
LrTreeData, LrProject;
type
TLrItemCanEvent = procedure(inItem: TLrProjectItem;
var inAllowed: Boolean) of object;
TLrCanDropEvent ... |
unit Palette;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ExtCtrls,
DCPalette, dcpalet, DCGen,
LMDCustomComponent, LMDBaseController, LMDCustomContainer,
LMDCustomImageList, LMDImageList, LMDControl, LMDBaseControl,
LMDBaseGraph... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1999-2001 Borland Software Corp. }
{ ... |
program HowToControlTheGameSpeed;
uses
SwinGame, sgTypes;
procedure DoWalking(sprt: Sprite; key: KeyCode;const animationName: String; dx, dy: Single);
begin
if KeyDown(key) then
begin
SpriteStartAnimation(sprt, animationName);
SpriteSetDX(sprt, dx);
SpriteSetDY(sprt, dy);
... |
unit Contracts_Periods_AE;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxCurrencyEdit,
cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar,
cxControls, cxGroupBox,
cnConsts,cnConsts_Message... |
unit UStringList;
(*====================================================================
Better implementation of string list than Delphi provides
in contrast to TStringList
- deallocates also objects, not only strings
- Capacity can be set
- beter reallocation of the array of pointers
====================... |
unit DSA.Interfaces.DataStructure;
interface
uses
Classes,
SysUtils,
DSA.Graph.Edge;
type
IStack<T> = interface
['{F4C21C9B-5BB0-446D-BBA0-43343B7E8A04}']
function GetSize: integer;
function IsEmpty: boolean;
procedure Push(e: T);
function Pop: T;
function Peek: T;
end;
IQueue<... |
unit Model;
interface
uses Palette, HierarchyAnimation, Mesh, BasicFunctions, BasicDataTypes, dglOpenGL, LOD,
SysUtils, Graphics, GlConstants, ShaderBank, Histogram;
{$INCLUDE source/Global_Conditionals.inc}
type
PModel = ^TModel;
TModel = class
protected
FOpened : boolean;
... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0037.PAS
Description: Create Directories
Author: GREG VIGNEAULT
Date: 08-25-94 09:09
*)
{
>Has anyone written a function for creating a pathname ?
>I'm having a problem with putting together a function that you
>can pass a pathname to, such... |
unit uDlgHolidays;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, cxStyles,
cxGraphics, cxSchedulerStorage, cxSchedulerCustomControls,
cxSchedulerDateNavigator, cxControls, cxContainer, cxDateNavigator,... |
unit enumTypes;
interface
type
Integer = Integer;
TEnum = (eOne,
eTwo = 2,
eThree);
TEnumArr = array[TEnum.eOne..TEnum.eThree] of TEnum;
TRec = record
private type
TNestedEnum = (CONST1, CONST2);
end;
implementation
var
Enum: TEnum;
begin
TEnum.eTwo;
eOne;
TEnum.default;
TR... |
unit uDadosEmpresa;
interface
uses
System.SysUtils, System.Classes, Data.FMTBcd, Data.DB, Datasnap.DBClient,
Datasnap.Provider, Data.SqlExpr;
type
TdmDadosEmpresa = class(TDataModule)
sqlTblemp: TSQLDataSet;
dspTblemp: TDataSetProvider;
cdsTblemp: TClientDataSet;
cdsTblempempcnpj: TStringField;... |
unit gateway_protocol.Proto;
// This unit was initially generated by: DelphiGrpc "ProtoBufGenerator.exe"
(* ----------------------------------------------------------
PMM 18.05.2020 The following changes where found necessary:
FILE -> _FILE
type -> _type
Int64 -> UInt64 (as used s far)
Integer -> word (... |
unit SDUClasses;
interface
uses
Classes, Windows;
type
TSDUMemoryStream = class(TMemoryStream)
private
procedure GotoOffset(offset: int64);
public
function ReadByte(offset: int64 = -1): byte;
procedure WriteByte(x: byte; offset: int64 = -1; cnt: integer = -1);
// Read/write l... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
unit LiteMemo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, uColorTheme;
{
Lite Memo
}
type TLiteMemo = class(TMemo)
private
theme: ColorTheme;
protected
public
constructor Create(AOwner: TComponent); override;
// ... |
unit ExecOnTime;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls;
type
TExecOnTime = class(TComponent)
private
CheckTimer : TTimer;
FDayTimeHour : word;
FDayTimeMinute : word;
FOnDayTimeExecute : TNotifyEvent;
FActive : boolean;
NextTri... |
unit EnumEditItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxLookAndFeelPainters, cxControls, cxContainer,
cxEdit, cxTextEdit, StdCtrls, cxButtons;
type
TfrmEditEnumItem = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
cxButton1: ... |
{-----------------------------------------------------------------------------
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/MPL-1.1.... |
unit Demo.Material.LineChart.TopX;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_MaterialLineChart_TopX = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_MaterialLineChart_TopX.GenerateChart;
var
Chart: IcfsGChartProducer; /... |
unit UDGroupSelection;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeGroupSelectionDlg = class(TForm)
pnlSelection1: TPanel;
lblSelectionText: TLabel;
memoSelection: TMemo;
btnOk: TButton;
btnCancel: TButton;
... |
unit cn_fr_CalcUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cn_DM_Calc,
cn_Common_Types, cn_Common_Funcs, cnConsts, cxRadioGroup, cxControls,
cxGroupBox, ExtCtrls, cxLabel, cxContainer, cxEdit, cxTextEdit,
... |
unit ProdutoOperacaoImportar.Controller;
interface
uses Produto.Controller.interf, Produto.Model.interf, System.SysUtils,
TESTPRODUTO.Entidade.Model;
type
TProdutoOperacaoImportarController = class(TInterfacedObject,
IProdutoOperacaoImportarController)
private
FProdutoController: IProdutoController;
... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Added a toolbar to Delphi IDE.
}
unit VXS.SceneToolbar;
interface
implementation
uses
System.Classes,
System.SysUtils,
FMX.Graphics,
FMX.ImgList,
FMX.Controls,
FMX.ComCtrls,
FMX.ExtCtrls,
... |
unit myutils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LCLIntf, GR32, GR32_Image, Graphics;
{绘制渐变色,全局背景}
procedure MyGradientBackground(AStart,AEnd:TColor;ABitmap:TBitmap32;AHeight,AWidth:integer;ASteps:integer=100);//绘制垂直渐变色
procedure MyGradientBackGroundH(AStart,AEnd:TColor;ABitmap:TBi... |
unit StyleClassProperty;
interface
uses
SysUtils, Classes, Controls,
dcedit, dcfdes, dcsystem, dcdsgnstuff,
ThStyleSheet, ThAnchorStyles;
type
TStyleClassProperty = class(TStringProperty)
function GetAttributes: TPropertyAttributes; override;
procedure GetValues(Proc: TGetStrProc); override;
en... |
unit Main;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, SDUS... |
{$UNDEF ITEM_REF_IS_PTR}
{$DEFINE ITEM_FREE_FUNC}
{$UNDEF CMP_FUNC}
{$DEFINE VECTOR_ENABLE_MOVE}
unit ObjVec;
interface
type
TItem = TObject;
{$INCLUDE Vector.inc}
IBaseObjectVector = IBaseVector;
TBaseObjectVector = class(TBaseVector)
private
FIsOwner: Boolean;
public
constructor Create(AIsO... |
unit MainSettings;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Classes, // Required for TShortCut
CommonSettings,
IniFiles,
OTFEF... |
{Se prueba un medicamento en un conjunto de pacientes y se registran cantidad de pacientes
con resultados positivos, cantidad de pacientes con resultados negativos (empeoraron ) y
cantidad de resultados neutros.
Informe el resultado de la prueba de acuerdo al siguiente criterio
- Exitosa: Si mejoraron más de los que em... |
unit Odontologia.Modelo.Entidades.Pedido;
interface
uses
SimpleAttributes;
type
[Tabela('PEDIDO')]
TPEDIDO = class
private
FFECHA: TDateTime;
FID: Integer;
procedure SetFECHA(const Value: TDateTime);
procedure SetID(const Value: Integer);
published
[Campo('ID'), Pk, AutoInc]
proper... |
unit LandmarkPathCalculator;
interface
uses
SysUtils,
System.Generics.Collections, System.Generics.Defaults,
Ils.Utils, Geo.Hash, Geo.Pos,
ULPCThread, System.Types,
AStar64.DynImport, AStar64.Typ, AStar64.FileStructs, AStar64.LandMark;
type
TLPCProgressFunc = procedure(
const ACurrent: Integer;
... |
Unit Sys_Procesos;
{ * Sys_Procesos :
* *
* Implementacion de las llamadas al sistema de los procesos *
* algunas no estan provadas hasta el momento *
* *
* Copyright ... |
unit PromoDiscountFactoryClass;
interface
uses PromoDiscountInterface, PromoDiscountAmountClass, PromoDiscountPercentClass, PromoDiscountQtyClass,
PromoDiscountSaleTotalClass, PromoItemClass, uSystemConst, SysUtils;
type
TPromoDiscountFactory = class
public
function createPromoDiscount(arg_Item: TPromoIt... |
unit ZStageUnit;
// ========================================================================
// MesoScan: Z Stage control module
// (c) J.Dempster, Strathclyde Institute for Pharmacy & Biomedical Sciences
// ========================================================================
// 7/6/12 Supports Prior OptiScan II co... |
unit Email;
interface
{
Changelog:
13.04.2001 Fixed memory Leak and String problem in adresses (Sendmail - method)
31.08.2000 Some Changes on the TStrings Objects, added SetXXAdr-Methods
}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
{ Introducing a new Type of Event... |
unit fgrdfuncs; {from GLScene TexTerr}
{A very rudimentary unit to read Arcinfo Grid Ascii format
P.G. Scadden, 26/10/00 P.Scadden@gns.cri.nz}
interface
Type
TGrd = class
pts:array of array of single;
destructor destroy; override;
Public
height,width:integer;
... |
unit DiscSpec_SpecDiscEdit;
{ Содержит функции:
function AddSpecDisc(AOwner:TComponent;ADB_HANDLE:TISC_DB_HANDLE):Int64;
procedure EditSpecDisc(AOwner:TComponent;ADB_HANDLE:TISC_DB_HANDLE;AID:Int64);
procedure DeleteSpecDisc(AOwner:TComponent;ADB_HANDLE:TISC_DB_HANDLE;AID:Int64);
}
interface
uses
Windows, Messages, ... |
unit Unit1;
{The transparent form effect is done with Regions.
First create a region that encompasses the entire form.
Then, find the client area of the form (Client vs. non-Client) and
combine with the full region with RGN_DIFF to make the borders
and title bar visible. Then create a region for each of the
cont... |
unit config;
{$include def.mor}
interface
Uses Classes,masks,stuff,Winsock,SysUtils{$ifdef debug},logger{$endif};
Type
Tuser = packed record
Name:string[10];
Mask:string[50];
Logged:Boolean;
end;
TData = packed record
BOT_CHANNAL:STRING[10];
BOT_NICK_PREFIX:String[5];
... |
unit uEncontro;
interface
uses System.Classes, System.SysUtils;
type
TEncontro = class
private
FNomePessoa: string;
FModelo: string;
FNumeroFicha: Integer;
FAno: Integer;
FLetra: string;
public
property Letra: string read FLetra write FLetra;
property NomePessoa: string read FNomePe... |
unit TrayIconEx;
interface
uses
Windows, Messages, ShellApi, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, Menus;
const
WM_CALLBACK_MESSAGE = WM_USER + 55;
type
TTrayIconEx = class(TComponent)
private
fData: TNotifyIconData;
fIcon: TIcon;
fHint: string;
fPopupMenu... |
{*******************************************************}
{ }
{ hHelperFunc.pas
{ Copyright @2014/5/20 16:06:03 by 姜梁
{ }
{ 功能描述:
{ 函数说明:
{*******************************************************... |
unit Optimize.Move;
interface
procedure MoveMMX(const Source; var Dest; Count: Integer);
procedure MoveSSE(const Source; var Dest; Count: Integer);
procedure MoveSSE2(const Source; var Dest; Count: Integer);
procedure MoveSSE3(const Source; var Dest; Count: Integer);
implementation
uses
Windows, SysUtils;... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
SMD vector file format implementation.
}
unit VXS.FileSMD;
interface
uses
System.Classes,
System.SysUtils,
VXS.VectorFileObjects,
VXS.Texture,
VXS.ApplicationFileIO,
VXS.VectorTypes,
VXS.VectorGeom... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections,
VCLTee.TeCanvas, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TMyClass<T> = class
private
FObjeto: T;
public
property ... |
unit Horse.Compression.Types;
interface
type
{$SCOPEDENUMS ON}
THorseCompressionType = (DEFLATE, GZIP);
{$SCOPEDENUMS OFF}
THorseCompressionTypeHelper = record helper for THorseCompressionType
function ToString: string;
function WindowsBits: Integer;
end;
implementation
{ THorseCompressionTypeHelper ... |
unit LrCollectionEditor;
interface
uses
DesignIntf, DesignEditors, LrCollection;
type
TLrCollectionEditor = class(TPropertyEditor)
public
function Collection: TLrCustomCollection;
procedure Edit; override;
function GetAttributes: TPropertyAttributes; override;
function GetName: string; overri... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFileOCT<p>
Support-code to load OCT Files into TGLFreeForm-Components in GLScene.<br>
(OCT being the format output from FSRad, http://www.fluidstudios.com/fsrad.html).<p>
<b>History : </b><font size=-1><ul>
<li>22/01/10 - Yar - ... |
unit Render2Test;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
TRender2TestForm = class(TForm)
PaintBox: TPaintBox;
procedure PaintBoxPaint(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declara... |
program AnimationTests;
uses SwinGame, sgTypes;
var
explosions: AnimationScript;
boom: Array [0..1] of Animation;
expl: Bitmap;
i, currentAnim: Integer;
//Test animated sprites
s: Sprite;
begin
OpenAudio();
OpenGraphicsWindow('Animation Tests', 640, 480);
LoadResourceBundle('Explosion.txt');
... |
namespace org.me.torch;
//Sample app by Brian Long (http://blong.com)
{
This example demonstrates a number of things:
- how to invoke a confirmation dialog
- how to make a 'toast' message
- how to launch another activity
- how to make a full screen activity (no status bar)
- how to remove the a... |
(*
Category: SWAG Title: DIRECTORY HANDLING ROUTINES
Original name: 0044.PAS
Description: Hidden Directories
Author: SWAG SUPPORT TEAM
Date: 09-04-95 10:51
*)
{Hidden Directory Secrets }
program DirHide;
uses dos;
var f: File;
Attr: Word;
begin
if ParamCount < 1 then
begin
writeln('Usa... |
unit uFrmConnection;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, ADODB, Registry, IniFiles, uParamFunctions, DB;
type
TFrmConnection = class(TForm)
Panel1: TPanel;
Bevel1: TBevel;
btnSave: TBitBtn;
btnClose: TBi... |
unit HlpBlake2BTreeConfig;
{$I ..\..\Include\HashLib.inc}
interface
uses
HlpIBlake2BTreeConfig,
HlpHashLibTypes;
resourcestring
SInvalidFanOutParameter =
'FanOut Value Should be Between [0 .. 255] for Blake2B';
SInvalidMaxDepthParameter =
'FanOut Value Should be Between [1 .. 255] for Blake2B';
SI... |
namespace RemObjects.Elements.EUnit;
interface
uses
Sugar;
type
Assert = public partial static class {$IF NOUGAT}mapped to Object{$ENDIF}
private
method Fail(Actual, Expected: Object; Message: String := nil);
method FailIf(Condition: Boolean; Message: String);
method FailIf(Condition: ... |
(*
Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED
Original name: 0054.PAS
Description: POKER Again and Again
Author: LEE BARKER
Date: 11-02-93 10:33
*)
{
LEE BARKER
I'm trying to Write a small Poker game For a grade in my
High School Pascal Class.
While the Array of Strings will work, it is a l... |
unit ExtDirect;
// Generated by ExtToPascal v.0.9.8, at 3/5/2010 11:59:34
// from "C:\Trabalho\ext\docs\output" detected as ExtJS v.3
interface
uses
StrUtils, ExtPascal, ExtPascalUtils, Ext, ExtUtil;
type
TExtDirectProvider = class;
TExtDirectJsonProvider = class;
TExtDirectRemotingProvider = c... |
namespace com.example.android.basicglsurfaceview;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 at
*
* http://www.apache.o... |
//------------------------------------------------------------------------------
//Movement UNIT
//------------------------------------------------------------------------------
// What it does-
// An event which will be instantiated when a chara... |
unit UFloatEdit;
interface
uses
StdCtrls;
type
TFloatEdit = class
private
FEdit: TEdit;
FValue: double;
FInteiros: boolean;
FCasasDecimais: cardinal;
procedure EditKeyPress(Sender: TObject; var Key: char);
procedure Formatar;
function GetValue: double;
public
... |
unit Odontologia.Modelo.Pedido;
interface
uses
Data.DB,
SimpleDAO,
SimpleInterface,
SimpleQueryRestDW,
System.SysUtils,
Odontologia.Modelo.Pedido.Interfaces,
Odontologia.Modelo.Entidades.Pedido,
Odontologia.Modelo.Conexion.RestDW;
type
TModelPedido = class(TInterfacedOBject, iModelPedido)
privat... |
//
// Generated by JavaToPas v1.5 20180804 - 082552
////////////////////////////////////////////////////////////////////////////////
unit android.media.VolumeShaper_Configuration_Builder;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.media.VolumeShaper_Configuration;
type
JVolumeShap... |
// -------------------------------------------------------------
// Programa em que o usuário informa os 3 lados de um triângulo
// e ele informa o tipo de triângulo. :~
//
// Autor : Rodrigo Garé Pissarro - Beta Tester
// Contato : rodrigogare@uol.com.br
// ----------------------------------------------------... |
unit Input_Sum;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls,
cxControls, cxContainer, cxEdit, cxTextEdit, ActnList, cxCheckBox,
cxGroupBox, cxCurrencyEdit;
type
TInput_Sum_Form = class(TForm)
App... |
unit uConstants;
interface
{Укр} {Рус}
const nLayoutLang :array[0..1] of PAnsiChar =('00000422','00000419');
const nActiont_OK :array[0..1] of string[5] =('ОК', 'ОК');
const nActiont_Cansel :array[0..1] of string[10] =('Відмінити'... |
unit UnitFormMain;
{===============================================================================
CodeRage 9 - Demo for Threaded Database Access
This code shows how to use database access in such a way that it does not
block or delay the user interface with waits.
The query that takes a long time is wrap... |
unit modexlib; {Header fr modexlib.asm}
Interface
Var
Vscreen:Pointer; {Zeiger auf Quellbereich fr p13_2_modex}
vpage:Word; {Offset der aktuell unsichtbaren Seite}
palette:Array[0..256*3-1] of Byte; {VGA - Palette}
Procedure Init_ModeX; {ModeX einschalt... |
unit uDMPet;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uDMGlobalNTier, SConnect, DB, DBClient, MConnect, ImgList,
siComp, uUserObj, IdBaseComponent, IdComponent;
const
URL_VERSION = 'http://petcenter.360pet.com/2d1d26.html?mv_pc=';
URL_SUP_VERSIO... |
unit sgDriverNetworking;
interface
uses sgShared, sgTypes, sgNamedIndexCollection;
type
//TCP Connection
CreateTCPHostProcedure = function (const aPort : LongInt) : Boolean;
CreateTCPConnectionProcedure = function (const aDestIP : String; const aDestPort : LongInt; aConType : Connection... |
(*
Category: SWAG Title: RECORD RELATED ROUTINES
Original name: 0001.PAS
Description: BLOCKRW1.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:55
*)
{
Does anyone have any examples of how to Write Text to a File using
blockWrite?
}
Program DemoBlockWrite;
Const
{ Carriage-return + Line-feed Constant. }
... |
unit DbProperties;
interface
uses
SysUtils, Classes, Controls, TypInfo,
Db,
dcedit, dcfdes, dcsystem, dcdsgnstuff;
type
TListingProperty = class(TStringProperty)
protected
procedure GetValueList(List: TStrings); virtual; abstract;
public
procedure GetValues(Proc: TGetStrProc); override;
end... |
unit Chapter09._08_Solution2;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Math,
DeepStar.Utils;
/// 300. Longest Increasing Subsequence
/// https://leetcode.com/problems/longest-increasing-subsequence/description/
/// 动态规划
/// 时间复杂度: O(n^2)
/// 空间复杂度: O(n)
type
TSolution = class(TObject)
publ... |
Program main;
{$mode objfpc}
uses
feli_storage,
feli_file,
feli_logger,
feli_crypto,
feli_validation,
feli_config,
feli_user,
feli_exceptions,
feli_operators,
feli_event,
feli_collection,
feli_document,
feli_user_event,
feli_event_ticket,
feli_event_partici... |
unit uRptBuildPrintGrid;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ppCtrls, ppBands, ppPrnabl, ppClass, ppVar, ppCache, ppComm, ppRelatv,
ppProd, ppReport, ppDB, ppDBPipe, ppViewr;
type
TFrmRptBuildPrintGrid = class(TForm)
RptGrid: TppReport;
RtpHeader: ... |
namespace GLExample;
interface
uses
rtl,
GlHelper,
OpenGL;
type
GL_Example_3 = class(IAppInterface)
private
FLightingShader: Shader;
FRemObjectsVAO: array of VertexArray;
FBox : VertexArray;
FUniformViewPos: GLint;
FUniformLightPosition: GLint;
FUniformLightAmbient: GLint;
FUn... |
unit TrataException;
interface
uses
SysUtils, Forms, System.Classes, Vcl.StdCtrls;
type
IException = interface
['{69C683A9-6388-40F1-9282-42C0DE5ABB70}']
procedure TrataException(Sender: TObject; E: Exception; var Memo: TMemo);
procedure GravarLog(Value: String);
procedure GravarMsg(V... |
unit Testparser;
{
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, System.SysUtils, System.Generic... |
unit UBullet;
interface
uses
w3system, UPlayer, UPlat, UE;
type TBullet = class(TObject)
Shot : boolean; //True if the bullet is active
Left : boolean; //True if the bullet is going left
Angle : float; //The angle the bullet will travel at
X : float;
Y : float;
Damage : integer; //How much damage the b... |
{..............................................................................}
{ Summary: Forces rebuild of all internal/split planes }
{ on the current PCB document }
{ ... |
unit DAW.Model.Device.New;
interface
uses
System.SysUtils;
type
{$SCOPEDENUMS ON}
TdawDevice = class
private
FID: string;
FName: string;
FIP: string;
FLastConnected: TDateTime;
FIsConnected: Boolean;
procedure SetIsConnected(const Value: Boolean);
function GetLastConnected: TDateTi... |
Unit Un_PdfRenderiza;
Interface
Uses Classes,
System.Types,
FMX.Objects,
Un_PdfObjetos,
Un_PdfXRef,
Un_PdfGrafico,
Un_PdfTexto;
Const NUL_CHAR=#0;
FF_CHAR=#12;
//------------------------------------------------------------------------
Type TPdfTipoComando=(com_array,com_nu... |
unit abDeleteWizard;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, abWizardTemplate, ComCtrls, StdCtrls, ExtCtrls,
nsProcessFrm, nsGlobals, nsTypes;
type
TfrmDeleteWizard = class(TfrmWizardTemplate)
ts1: TTabSheet;
ts2: TTabSheet;
... |
unit UDCrossTabs;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32;
type
TCrpeCrossTabsDlg = class(TForm)
pnlCrossTabs: TPanel;
gbObjectFormatting: TGroupBox;
btnBorder: TButton;
btnFormat: TButton;
editTop: TEdit;... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{
FMOD based sound-manager (http://www.fmod.org/, free for freeware).
Unsupported feature(s) :
sound source velocity
looping (sounds are played either once or forever)
sound cones
}
unit GLSMFMOD;
interface
{$I GLScene.inc}
... |
unit PaiPreSaleReceive;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Mask, DateBox, DBCtrls, DB, DBTables, Grids, DBGrids,
Buttons, DBCGrids, ComCtrls, ADODB, SuperComboADO, Variants, siComp,
siLangRT, uParentAll, uFrmPayPartial, strUtils;
type
... |
program poj3274;
const maxn=100000+100;
type
arr=array[1..30] of longint;
tp=record
b:arr;
num:longint;
end;
var i,j,n,m,p,q,l,r,k:longint;
a:array[0..maxn] of tp;
ans:longint;
procedure openfile;
begin
assign(input,'poj3274.in');
assign(output,'poj3274.out');
reset(input);
rewrite(output);
end;
pr... |
unit HS4Bind.Credential;
interface
uses
HS4bind.Interfaces;
type
THS4BindCredential = class(TInterfacedObject, iHS4BindCredential)
private
[weak]
FParent : iHS4Bind;
FBaseURL : string;
FEndPoint : string;
public
constructor Create(Parent : iHS4Bind);
destructor Destro... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PONTO_MARCACAO]
The MIT License ... |
unit clsHouse;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
THouse = class
private
fArrParticipants : array[1..3] of string;
fHouse : string;
fGrade : integer;
fScore : integer;
public
constructor Create(sHouse :... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.