text stringlengths 14 6.51M |
|---|
unit UPedidoRetornoDTOImpl;
interface
uses
Soap.InvokeRegistry, UPizzaTamanhoEnum, UPizzaSaborEnum,
MVCFramework.Serializer.Commons;
type
[MVCNameCase(ncLowerCase)]
TPedidoRetornoDTO = class(TRemotable)
private
FPizzaTamanho: TPizzaTamanhoEnum;
FPizzaSabor: TPizzaSaborEnum;
FVal... |
unit Aurelius.Types.Exceptions;
{$I Aurelius.inc}
interface
uses
SysUtils, Rtti,
Aurelius.Global.Exceptions;
type
ENullValueException = class(EOPFBaseException)
public
constructor Create;
end;
ENullConvertException<T> = class(EOPFBaseException)
public
constructor Create;
... |
{AUTEUR : FRANCKY23012301 - 2008 ------- Gratuit pour une utilisation non commerciale}
unit MidiControlsPanel;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, Graphics,
TimeLine, Math, Menus,PianoGrid;
type
TMode = (AtNone, AtResize);
TMidiEffect = (MdChannelPressure,MdVelo... |
unit GUTForVCL;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
ComCtrls, StdCtrls, Grids, DB, DBTables, DBGrids,
DBCtrls;
type
TAlignmentV = ( // Вертикальное выравнивание строк
vaTopJustify, // - по верхней кромке
vaCenter, // - по цент... |
unit Common_Utils;
interface
uses Windows, Messages, Graphics, SysUtils, StrUtils, Math;
function GetCaptionHeight: Integer;
function GetScrollWidth: Integer;
function GetClipText: String;
function SetClipText( const S: String ): Boolean;
function CheckThisProgram: boolean;
//сокращает выражение. На... |
unit TextEditor.LeftMargin;
interface
uses
System.Classes, System.UITypes, Vcl.Graphics, TextEditor.Consts, TextEditor.LeftMargin.Bookmarks,
TextEditor.LeftMargin.Border, TextEditor.LeftMargin.Colors, TextEditor.LeftMargin.LineNumbers,
TextEditor.LeftMargin.LineState, TextEditor.LeftMargin.Marks, TextEditor.Le... |
(* NETWORK ROUTINES *)
{ client side }
procedure TFormGaple.ClientSocketConnecting(Sender: TObject; Socket: TCustomWinSocket);
begin
with FormNew do
begin
// disable control while connecting
cbKind.Enabled := false;
EditName.Enabled := false;
EditIP.Enabled := false;
cbPlayer2.Enab... |
(* А) Напомню, что функция SizeOf возвращает объём памяти,
занимаемый переменной, например:
Writeln( SizeOf( LongInt ) ); { 4 }
Writeln( SizeOf( M1 ) ); { 1 }
Воспользуйтесь ею для распечатки размеров всех известных вам
порядковых типов данных. *)
begin
Writeln('char: ', SizeOf(char));
Writeln('byte: ', S... |
PROGRAM PrintSanta(INPUT, OUTPUT);
BEGIN {PrintSanta}
WRITELN('Santa Claus')
END. {PrintSanta}
|
unit ServerDocSqlManager;
interface
uses
SysUtils, Classes, rtcLog, DB, variants, vkvariable, System.Generics.Collections, SQLTableProperties, CommonInterface;
type
TServerDocSqlManager = class(TObject)
private
FSQLTableProperties: TSQLTableProperties;
public
constructor Create;virtual;
destruct... |
unit uConfig;
interface
uses uGlobal, IniFiles, Windows, sysUtils, StrUtils, RHEncryption, SWType,
Registry;
type
TConfiguration = class
CurDir: string;
Version: string;
UpdateServer: TDBServerConfig;
SWServer: TDBServerConfig;
User: TUserInfo;
private
procedure LoadServerConfiguratio... |
unit TBGUnidacDriver.View.Driver;
interface
uses
TBGConnection.Model.Interfaces, System.Classes, TBGConnection.Model.Conexao.Parametros,
System.Generics.Collections, MemDS, DBAccess, Uni,
TBGConnection.Model.DataSet.Interfaces;
Type
TBGUnidacDriverConexao = class(TComponent, iDriver)
private
FFConnect... |
unit Tests.Driver.IBExpress;
interface
uses
DUnitX.TestFramework,
System.SysUtils,
Data.DB,
IBDatabase,
dbebr.factory.interfaces;
type
[TestFixture]
TTestDriverConnection = class(TObject)
strict private
FConnection: TIBDatabase;
FDBConnection: IDBConnection;
FDBQuery: IDBQuery;
FDBR... |
unit BaseForms;
(*
The module contains classes of the Base DataModule, Base Form and Base Frame,
which is intended to replace the standard classes.
These Base classes will help get around some bugs VCL, and expand the standard
functionality
****************************************************************
Aut... |
unit uDisplayNameAttributes;
interface
uses
RTTI
, Classes
;
type
TDisplayTextAttribute = class(TCustomAttribute)
private
FDisplayText: string;
public
constructor Create(aDisplayText: string);
property DisplayText: string read FDisplayText write FDisplayText;
end;
type
TCustom... |
UNIT console2;
INTERFACE
USES constants, crt, structures, sysutils, game;
PROCEDURE renderGrille(g : grille);
PROCEDURE renderMain(main : tabPion);
PROCEDURE initConsole(g : grille);
PROCEDURE renderScore (joueur : tabJoueur);
PROCEDURE renderTextWithBordure(text : STRING);
PROCEDURE renderTextWillFullBordure(text :... |
{*******************************************************************************
* *
* PentireFMX *
* ... |
unit uMainForm;
{$mode objfpc}{$H+}
//----------------------- DATA ALIGNMENT ---------------------------------------
{$IFDEF CPU64}
{$ALIGN 16}
{$CODEALIGN CONSTMIN=16}
{$CODEALIGN LOCALMIN=16}
{$CODEALIGN VARMIN=16}
{$ENDIF}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
LCLType,... |
{ *******************************************************************************
Title: T2TiPDV
Description: Controle de importação e exportação de arquivos
The MIT License
Copyright: Copyright (C) 2012 Albert Eije
Permission is hereby granted, free of charge, to any person
obtaining a copy of this soft... |
unit CodeElement;
interface
uses
Classes, Types, Generics.Collections, UncountedInterfacedObject, WriterIntf;
type
TCodeElementClass = class of TCodeElement;
TCodeElement = class(TUncountedInterfacedObject, IWriter)
private
FName: string;
FSubElements: TObjectList<TCodeElement>;
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [OS_ABERTURA]
The MIT License ... |
Unit AdvCharacterSets;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
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 th... |
unit frmprogress;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,forms,BGRAFlashProgressBar,Controls;
type
{ TfrmProgresso }
TfrmProgresso = Class
private
Frm : TForm;
Progress : TBGRAFlashProgressBar;
FMostrarProcesso: Boolean;
FTitulo: String;
FValorFinal: integer;
procedure Se... |
{ Autor: Jürgen Schlottke, Schönaich-C.-Str. 46, D-W 2200 Elmshorn
Tel. 04121/63109
Zweck : Demonstration der Schachprogrammierung unter Turbo-Pascal
Datum : irgendwann 1991, als PD freigegeben am 18.01.93
Version: ohne Versionsnummer
}
unit ChessPlayerTypes;
interface
type
TChessboard = arra... |
unit UMensagens;
interface
resourcestring
//Geral
STR_ATENCAO = 'Atenção';
STR_AVISO = 'Aviso';
STR_CONFIRMACAO = 'Confirmação';
STR_CAPTION_ABA_CONSULTAS = '%d - %s...';
STR_TODOS = 'Todos';
STR_ATUALIZADO ... |
{ Practica 1 Ejercicio 6a }
program p1e6a;
uses strings;
function es_vocal( a: char ): Boolean ;
begin
es_vocal := false ;
if(a='a') or (a='A') or
(a='e') or (a='E') or
(a='i') or (a='I') or
(a='o') or (a='O') or
(a='u') or (a='U') then
es_vocal := true;
end;... |
unit StringFeatures;
interface
uses
Classes,
strings,
SysUtils,
StrUtils;
function ZeroToStr(const aInteger: integer; const aLength: integer): string; inline;
function LeftSpaceStr(const aStr: string; const aLength: integer): string; inline;
function CopyToPChar(const aString: string): PChar;
function CopyPC... |
unit Telefone;
interface
Uses
Generics.Collections;
Type
TTipoTelefone = (Fixo, Celular);
TTelefone = class
private
FId:Integer;
FDado:string;
FMascara:string;
FTipo:TTipoTelefone;
procedure SetId(const pId:Integer = 0);
procedure SetDado(const p... |
unit ComLine;
interface
uses
Windows, Messages, Classes, Controls, Forms, StdCtrls, SetBtn, Dialogs,
SysUtils, BtnPro, SetInit, SetPads, OleBtn, ActiveX;
type
TdlgComLine = class(TForm)
lblName: TLabel;
cmbName: TComboBox;
btnOk: TButton;
btnCancel: TButton;
btnBrowse: TButton;
dlgBrows... |
{*******************************************************}
{ }
{ Engine Paulovich DirectX }
{ Win32-DirectX API Unit }
{ }
{ Copyright (c) 200... |
unit InfraModel;
interface
uses
InfraMVPIntf,
InfraValueTypeIntf,
InfraCommonIntf,
InfraCommon;
type
TModel = class(TElement, IModel)
private
// *** FCommandSet: IInfraFeatureList;
FSelection: ISelection;
FValue: IInfraType;
procedure ValueChanged(const Event: IInfraEvent)... |
{********************************************************}
{ }
{ Zeos Database Objects }
{ Blob streams classes }
{ }
{ Copyright (c... |
// ##################################
// ###### IT PAT 2017 #######
// ###### PHASE 3 #######
// ###### Tiaan van der Riel #######
// ##################################
unit frmUserHomePage_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit ProcCall;
interface
uses
Classes, Types, Generics.Collections, CodeElement, ProcDeclaration, WriterIntf;
type
TProcCall = class(TCodeElement)
private
FParameters: TObjectList<TCodeElement>;
FProcDeclaration: TProcDeclaration;
FIgnoreResult: Boolean;
public
constructor Creat... |
unit uResponsavel;
interface
uses system.sysUtils;
type
TResponsavel = class
private
FID: integer;
FNome: string;
FCpf: string;
FRG: string;
FDataNasc: Tdatetime;
FContato: string;
FEmail: string;
FContatoCom: string;
function getId: integer;
procedure setId(value: intege... |
unit ACBrIBGEDll;
interface
uses
SysUtils,
Classes,
ACBrIBGE;
{ Ponteiros de função para uso nos eventos}
type TBuscaEfetuadaCallback = procedure(); cdecl;
{Classe que armazena os EventHandlers para o componente ACBr}
type TEventHandlers = class
OnBuscaEfetuadaCallback : TBuscaEfetuadaCallba... |
unit AppList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TMyNode = class
private
fKey: Integer;
fNext: TMyNode;
public
constructor Create(Key: Integer; Next: TMyNode=nil);
function Bind(Node: TMyNode): TMyNode;
property Key: Integer read fKey write fKey;
property Ne... |
unit sitios;
interface
uses classes;
type
TSitio = class
private
FLongitud: double;
FActivo: Boolean;
FLatitud: double;
FNombre: string;
FAltitud: Double;
FDescripcion: TStringList;
procedure SetActivo(const Value: Boolean);
procedure SetLatitud(const Value: double... |
Unit DecimalSupport;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
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 ... |
(*******************************************************************************
XP Form v1.0 (c) 2001 Transpear Software
Coding by Kelvin Westlake
Contact: Http://www.transpear.net
kwestlake@yahoo.com
Please read enclosed License.txt before continuing any further, you may also
find some useful in... |
unit ColorUtils;
interface
uses
Windows, Messages, SysUtils, Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Buttons;
type
TAdvColors = 0 .. 100;
TColorCalcType = (lighten, darken);
TNumGlyphs = 1 .. 4;
TTransparentMode = (tmAlways, tmNotFocused, tmNone);
TCheckBoxLayout... |
(**
* $Id: dco.rpc.jsonrpc.JSONRPCSerializerImpl.pas 845 2014-05-25 17:42:00Z QXu $
*
* Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for the specific language governing rights and limitations under the License.
... |
unit MP3Coder_Dll;
{Delphi conversion for Lame_enc.dll 3.8x
Lame is freeware MP3 encoder
Full source (in C++) available from http://www.sulaco.org/mp3}
interface
uses Windows;
const
BE_CONFIG_MP3 = 0;
BE_CONFIG_LAME = 256;
type
THBESTREAM = ULONG;
PHBESTREAM = ^THBESTREAM;
TBEERR = ... |
unit SorterUnit;
{
Модуль содержит класс TSorter, производящий сортировку массива элементов
методом модифицированного подсчета.
}
interface
uses
Classes, SysUtils;
type
//Статистика сортировки
TStat = record
ComparisonsCount : integer; //Количество сравнений ключей
PermutationsCount : integer... |
unit ShowSource;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniPanel, uniPageControl, uniGUIBaseClasses,
uniSyntaxEditor, uniImageList;
type
TSourceForm = class(TUniForm)
UniPageContro... |
unit CreateTrigger;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, Vcl.StdCtrls,
Vcl.ExtCtrls, BCControls.ComboBox, BCControls.Edit, Vcl.ImgList, SynEditHighlighter, SynHighlighterSQL, ActnList,
ComCtrls, ToolWin, JvExComCtrls, SynE... |
unit UDefineToolbarBox;
interface
uses UxlDialog, UxlListView, UxlStdCtrls, UxlList, UxlImageList, UxlDragControl;
type
TLVToLV = class
private
FLVFrom: TxlListview;
FLVTo: TxlListView;
FCbMove: TxlButton;
FKeepSep: boolean;
procedure f_OnCbMoveClick (Sender: TObject);
... |
unit SQLRoutines1;
interface
Uses Windows, Classes, DB, ADODB, SysUtils, Forms, Dialogs, Controls,variants;
const
// Property TNTServerInfo.ServerType Mask of following values
SV_TYPE_UNKNOWN = 0;
SV_TYPE_WORKSTATION = $00000001;
SV_TYPE_SERVER = $00000002;
SV_TYPE_SQLSERVER = $00000004;
SV_T... |
unit RRManagerWaitForReportFrame;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, RRManagerBaseObjects,
StdCtrls, ComCtrls, RRManagerReport, RRManagerBaseGUI;
type
// TfrmWaitForReport = class(TFrame)
TfrmWaitForReport = class(TBaseFrame)
gbxWaitForReport: TGroupBo... |
{***************************************************************************}
{ }
{ DMemCached - Copyright (C) 2014 - Víctor de Souza Faria }
{ }
{ victo... |
unit ConvertToPrint;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ComCtrls, Design, StdCtrls, Mask,
Math, DBCtrls, LayoutDataMod,Proplist;
type
TConvertForm = class(TForm)
LayoutPageControl: TPageControl;
procedure FormDestroy(Sender: TObject)... |
{****************************************************************************}
{ @@Copyright:SUNTOGETHER }
{ @@Summary:数据访问接口实现. }
{ @@Description: }
{ @@Auth... |
unit FmSelectDbAlias;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fmhopedialogform, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls;
type
TSelectDbAliasFm = class(THopeDialogFormFm)
ListView1: TListView;
... |
program P1;
var
i: integer;
begin
for i := 1 to 10 do
begin
writeln ('Hello, world.');
end;
end.
|
unit sHtmlParse;
{$I sDefs.inc}
interface
uses windows, Graphics, SysUtils, Classes, acntUtils, Math, sConst;
const
Letters = ['A','B','C','D','E','F'];
Digits = ['0','1','2','3','4','5','6','7','8','9'];
DisabledChars = [#13, #10];
type
TsHtml = class(TObject)
public
Bitmap : TBitmap;
CurX, CurY,... |
unit Unit1;
interface
uses
System, System.Drawing, System.Windows.Forms, Unit2;
var
draw: boolean;
value_angle, value_speed, value_vector, value_charge: real;
type
Form1 = class(Form)
procedure pictureBox1_Paint(sender: Object; e: PaintEventArgs);
procedure StartButton_Click(sender: Object; e: Even... |
unit Dates;
interface
type
TDate = class
private
FDate: TDateTime;
public
constructor Create; overload;
constructor Create (Month, Day, Year: Integer); overload;
procedure SetValue (Month, Day, Year: Integer); overload;
procedure SetValue (NewDate: TDateTime); overload;
func... |
unit ExVirtualStringTree;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, VirtualTrees, Forms;
type
TVTIteratorProc = procedure (p : PVirtualNode; param : Integer; var continue : boolean) of object;
TCustomExVirtualStringTree = class(TCustomVirtualStringTree)
private
fProporti... |
unit PDJSound;
// TPDJSound version 1.00
// Freeware Component for D3,D4,D5,D6
// Copyright © 2000-2001 by Peric
// Birthday of Component 07.04.2001.
// E-mail: pericddn@ptt.yu
// If I' find any errors or rubbish in PDJSound please send me Your suggest or Reclamation.
{$IFDEF VER100}
{$DEFINE PDJ_D3}
{$E... |
{******************************************************************************}
{ @UnitName : Crypt }
{ @Project : }
{ @Copyright : gtis ... |
{@unit RLPrinters - Implementação do wrapper para o objeto Printer. }
unit RLPrinters;
interface
uses
Classes, SysUtils, Math,
{$ifndef LINUX}
Windows, WinSpool, Graphics,
Messages, Printers, Forms,
{$else}
QGraphics,
QPrinters, Types,
{$endif}
RLConsts, RLTypes, RLUtils;
type
TRLPrint... |
unit orphanedTokens;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, PDJ_XPCS, PDJ_XPC, ExtCtrls, objects, Grids_ts, TSGrid,
PDJ_XPPB, Menus, ActnPopupCtrl;
type
TorphanedTokensDlg = class(TForm)
Panel1: TPanel;
Label1: TLabel;
... |
unit CRBoxPictureFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ImgList, ActnList, ComCtrls, ToolWin, ExtDlgs,
SlottingPlacement, StdCtrls, Mask, ToolEdit, SlottingWell, Buttons, Contnrs,
jpeg, OleCtrls, SHDocVw;
type
TImageLink = class
... |
unit udmEsquema;
interface
uses
System.SysUtils, System.Classes, FireDAC.UI.Intf, FireDAC.Stan.Async,
FireDAC.Comp.ScriptCommands, FireDAC.Stan.Util, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.DApt, Data.DB,
Fir... |
program Boolean_Types;
var
exit: boolean;
choice: char;
begin
writeln('Do you want to continue? ');
writeln('Enter Y/y for yes, and N/n for no');
readln(choice);
if (choice = 'n') then
exit := true
else
exit := false;
if (exit) then
writeln(' Goodbye!')
... |
//ALTERED VERSION
(********************************************************************)
(* Tomes of Delphi: Algorithms and Data Structures *)
(* Source code copyright (c) Julian M Bucknall, 1999-2001 *)
(* All rights reserved *)
(*----------------... |
Program IDADE; { A nossa idade... }
Uses
Crt;
Const
NumDias : Array [1..12] OF Integer = (31, 28, 31, 30, 31, 30, 31,
31, 30, 31, 30, 31);
{ Este array contem os dias correspondentes aos meses. Em relaĈo ao
ms 2 'Fevereiro' o numero de dias vai ser calculado ma... |
PROGRAM IFSort3(INPUT, OUTPUT);
{Sort 3-line from INPUT to OUTPUT}
//Supports the sequence: abc, acb, bca, bac
VAR
Ch1, Ch2, Ch3: CHAR;
BEGIN {IFSort3}
READ(Ch1, Ch2, Ch3);
WRITELN('Input ', Ch1, Ch2, Ch3);
WRITE('Sorting data ');
IF Ch1 < Ch2
THEN
IF Ch2 < Ch3
THEN {Ch1 < Ch2 < C... |
Unit Calc;
{ Calculator unit - 32 bit integers only }
{ (c) 1993 James Ots }
{ Latest update - 18/11/93 }
{$N+ E+}
Interface
Uses
Objects, Views, Dialogs, Drivers;
Const
{Number buttons are disableable - so < 255.}
cmInsert0 = 100;
cmInsert1 = 101;
cmInsert2 =... |
{ ***************************************************************************
Dannyrooh Fernandes | https://github.com/dannyrooh | Licença MIT
1) realiza consulta da cotação do Banco Central
2) monta uma pagina com BootStrap e Chart.js
08/2021 - created
**********************************************************... |
unit OptnAffichage;
interface
{ Affiche l'en-tête contenant le nom de la Tribu et le numéro du Jour }
procedure afficherEnTete;
{ Affiche le cadre "Action" dans lequel le Joueur saisit l'action à effectuer }
procedure afficherCadreAction;
{ Automatise l'affichage du titre d'un écran entré en paramètre }
... |
unit rtz_photo_card;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, DB, ExtCtrls, Jpeg, StdCtrls,
ide3050_intf,
idf3050_intf, idf3050_fibp,
rtz_dev_cntr, rtz_const, rtz_const_sql;
type
IrtzPhotoCardComp = interface ['{43BFAA1E-1553-46B0-BFA3... |
unit Pfx;
interface
type
HCkJavaKeyStore = Pointer;
HCkPrivateKey = Pointer;
HCkXmlCertVault = Pointer;
HCkByteData = Pointer;
HCkString = Pointer;
HCkPfx = Pointer;
HCkCertChain = Pointer;
HCkCert = Pointer;
function CkPfx_Create: HCkPfx; stdcall;
procedure CkPfx_Dispose(handle: HCkPfx); stdcall;
procedure CkPfx_... |
program test;
{$mode objfpc}{$H+}
uses
Classes, SysUtils, Dialogs, ConioEngine, Math, CRT,
BeaRLibItems in '..\include\pascal\BeaRLibItems.pas';
var
X, Y: Integer;
CurrentMap: Integer = 0;
Player: TPoint;
const
MapWidth = 25;
MapHeight = 25;
MapDeep = 3;
var
Map: array[0..MapWi... |
unit UfrmSelectString;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.AppEvnts;
type
TfrmSelectString = class(TForm)
lbStrings: TListBox;
btnAdd: TButton;
btnEdit: TButton;
b... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit PIPXRcv;
(*****************************************************************************
Prozessprogrammierung SS08
Aufgabe: Muehle
Beinhaltet die IPX-Empfaenger-Task, die Nachrichten per IPX empfaengt und
diese an die zustaendigen Tasks weiterleitet.
Autor: Alexander Bertram (B_TInf 2616)
*********... |
unit ufrmPOFromTrader;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterBrowse, ActnList, StdCtrls, ExtCtrls,
cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilter,
cxData, cxDataStorage, ... |
{ License: wtfpl; see /copying or the Internet }
{ Provides a dictionary/associative array ancestor class }
unit dictionary;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, contnrs;
type
kdOptions = (kdo_sorted, kdo_caseSensitive);
kdOptionSet = set of kdOptions;
{ kDictionary_ancestor }
... |
{----------------------------------------------------------------------
DEVIUM Content Management System
Copyright (C) 2004 by DEIV Development Team.
http://www.deiv.com/
$Header: /devium/Devium\040CMS\0402/Source/Common/ProgressCopyFrm.pas,v 1.6 2004/05/14 09:38:10 paladin Exp $
----------------... |
{ From : Nick Doodka 2:4641/58.18 24.12.97}
{ Subj : Двумерный массив на базе коллекций }
unit Matrix;
interface
uses Objects;
type
PMatrix = ^TMatrix;
TMatrix = object(TCollection)
Column: Integer;
constructor Init(Cols, Rows: Integer);
function Get(X, Y: Integer): PObje... |
unit UIntObserver;
interface
uses Classes;
type
ICustomObserver = interface(IInterface)
['{7AA5E5E7-98DD-42ED-B362-6E74860CA8AF}']
end;
IObserver = interface(ICustomObserver)
['{FD44A2F9-D198-4319-9589-4B15FEB28F65}']
procedure Update(Observable: IInterface);
end;
IObserverObject = interface(IC... |
unit spielfeld2;
interface
uses graphics, sysutils, classes, math,
spielfeld, spielerfeld, wall, schieber, spieler, Zahl, VE, funktionen, config;
type Tspielfeld2 = class(Tspielfeld)
public
letzte_zahl : Tvalue;
wall_anzahl : Integer;
function add_spieler(color : Tcolor) : Tspi... |
{ ModelAPI unit contains facade class for model
that should be used
by every client }
unit ModelAPI;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ModelDataModel, ModelBroker;
type
{ IModelAPI is a
facade for model }
IModelAPI = interface
{ The function returns list of dialogs with messa... |
{$include kode.inc}
unit fx_tilteq;
// original author: lubomir i ivanov
// for axonlib
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
uses
kode_const,
kode_types,
kode_plugin,
kode_parameter;
type
... |
unit uZipFile;
interface
uses
Vcl.ComCtrls,
Vcl.Forms,
System.Classes,
System.Generics.Collections,
System.Zip;
type
TControllerZip = class
private
FFileList: TList<string>;
FZipFile: TZipFile;
FNameFile: string;
FProgessBar: TProgressBar;
FFilesSize: Int64;
FCompressSize: Int64... |
unit Main;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Config;
type
TPatchedJmp = record
Addr: DWORD;
JmpTo: DWORD;
OrigMemory: array of Byte;
end;
TPatchedMem = record
Addr: DWORD;
OrigMemory: array of Byte;
NewMemory: array of... |
{: FRFaceEditor<p>
Editor fram for a TGLFaceProperties.<p>
<b>Historique : </b><font size=-1><ul>
<li>06/02/00 - Egg - Creation
</ul></font>
}
unit FRFaceEditor;
interface
uses
Windows, Forms, ComCtrls, FRTrackBarEdit, StdCtrls, FRColorEditor, ImgList,
Controls, Classes, GLTexture;... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2013 Embarcadero Technologies, Inc.
// www.embarcadero.com
//
// This is example source code, provided as is and without warranty.
// You may only use this software if you are an authorized licensee
// of Del... |
unit Classe.Cliente;
interface
uses Classe.Pessoa, Interfaces;
type
TCliente = class(TPessoa)
type
TEndereco = class
Rua : String;
end;
public
Saldo : Currency;
Endereco : TEndereco;
end;
implementation
{ TCliente }
end.
|
unit HintWin;
interface
uses
Forms, Controls, Windows;
type
TSmarterHintWindow = class(THintWindow)
procedure ActivateHint(Rect: TRect; const AHint: string); override;
end;
implementation
procedure TSmarterHintWindow.ActivateHint(Rect: TRect; const AHint: string);
begin
if Rect.Bottom+4... |
unit FHIRSearch;
{
Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
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 retai... |
unit DataShowSetting;
interface
uses
Classes, Controls, Forms, StdCtrls, Buttons, ExtCtrls,
DBGridEh, Spin;
type
TDataShowSettingForm = class(TForm)
PBack: TPanel;
BitBtnOK: TBitBtn;
BitBtnCancel: TBitBtn;
lblFix: TLabel;
lblCol: TLabel;
SEFrozenCol: TSpinEdit;
SBHid... |
unit uUsuario;
interface
uses
System.Generics.Collections, System.Generics.Defaults;
type
TPermissao = class
private
FExcluir: Boolean;
FIncluir: Boolean;
FAlterar: Boolean;
FVisualizar: Boolean;
FNome: string;
procedure SetAlterar(const Value: Boolean);
procedure SetExcluir(const V... |
unit PASEmbeddedPanel;
{
VirtualDBScroll Package
The MIT License (MIT)
Copyright (c) 2014 Jack D Linke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including ... |
unit IWBSCustomEvents;
interface
uses System.Classes, System.StrUtils,
IWApplication, IWBSRestServer;
type
TIWBSCustomAsyncEvent = class (TCollectionItem)
private
FEventName: string;
FAsyncEvent: TIWCallbackFunction;
FAsyncEventFunc: string;
FParams: string;
protected
function GetDispl... |
unit RoutingSampleControllerU;
interface
uses
MVCFramework, MVCFramework.Commons, ObjectsMappers;
type
[MVCPath('/')]
TRoutingSampleController = class(TMVCController)
public
[MVCPath('/')]
procedure Index(CTX: TWebContext);
[MVCHTTPMethod([httpGet])]
[MVCPath('/search/($searchtext)/($page)'... |
unit BasicDataTypes;
interface
type
int8 = shortint;
pint8 = ^shortint;
uint8 = byte;
puint8 = ^byte;
int16 = smallint;
pint16 = ^smallint;
uint16 = word;
puint16 = ^word;
int32 = longint;
pint32 = ^longint;
uint32 = longword;
puint32 = ^longword;
implementation
end.
|
unit uRTTIGetSetValues;
interface
uses
uRTTIDemoClass
, RTTI
;
procedure GetAndSetFieldValues;
implementation
procedure GetAndSetFieldValues;
var
RDC: TRTTIDemoClass;
Context: TRttiContext;
TempType: TRttiType;
TempField: TRttiField;
NewValue: TValue;
TempProperty: TRttiProperty;
Temp... |
(*++
Copyright (C) 2019 3MF Consortium (Original Author)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.