text stringlengths 14 6.51M |
|---|
unit RenderEnvironment;
interface
uses Windows, Graphics, dglOpenGL, BasicMathsTypes, BasicRenderingTypes, Camera, SysUtils,
Model, Actor, BasicFunctions, JPEG, PNGImage, GIFImage, FTGifAnimate, DDS,
ShaderBank;
{$INCLUDE source/Global_Conditionals.inc}
type
PRenderEnvironment = ^TRenderEnvironm... |
unit uNTierClasses;
interface
uses MConnect, uMRParam;
const
SERVER_NAME = 'MRAppServer.RDMApplicationHub';
SERVER_GUID = '{572F6870-260E-4D79-8E86-63F8F0BA0948}';
type
TNTierConnectionService = class
private
FConnectionParams: TMRParams;
FActiveConnection: TDispatchConnection;
procedure Active... |
unit Unit_SD_TP06_EX01;
interface
type
TData = record
val : Integer;
end;
PItem = ^TItem;
TItem = record
data : TData;
pSuiv : PItem;
end;
TPile = record
pSommet : PItem;
nb : Integer;
end;
TFile = file of TData;
procedu... |
(* LEBUFF.PAS - Copyright (c) 1995-1996, Eminent Domain Software *)
unit LEBuff;
{-LEdit buffer manager for EDSSpell component}
interface
uses
Classes, Controls, Graphics, SysUtils, Forms, StdCtrls,
WinProcs, WinTypes,
{$IFDEF Win32}
LeDlp32,
{$ELSE}
LeDlp,
{$ENDIF}
AbsBuff, MemoUtil, SpellGbl;
{Note: To ... |
unit UIlsMapEditorServiceFrm;
interface
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, IdComponent,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, Ils.Logger,
Vcl.AppEvnts, Vcl.StdCtrls, IdHTTPWebBrokerBridge, Web.HTTPApp, System.IniFiles,
UMapEditor, Ils.Utils.Deb... |
Unit Scheduler;
{ * Scheduler: *
* *
* Esta Unidad esta destinada a planificar la tarea que se ejecutara *
* segun la implementacion de 2 algotimos FIFO Y ROUND ROBIN , se *
* de ca... |
unit CommonConstPublic;
interface
uses Forms,Windows;
var
HintTitle: string = '金蝶提示';
WarnTitle: string = '金蝶提示';
ErrorTitle: string = '金蝶提示';
AskTitle: string = '金蝶提示';
const
//----------对话框窗体标题分类---------
M_Warn: Cardinal = MB_Ok or MB_ICONWARNING;
M_Error: Cardinal = MB_Ok or ... |
// 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... |
(*
*****************************************************************
Delphi-OpenCV
Copyright (C) 2013 Project Delphi-OpenCV
****************************************************************
Contributor:
Laentir Valetov
email:laex@bk.ru
****************************************************************
Yo... |
Unit CallbackStreamImpl;
Interface
Uses
Classes, SysUtils;
Type
TCallbackStream = Class;
TCallbackStreamOnRead = Function (ABuffer:Pointer; ALength:Cardinal; AStream:TCallbackStream; AReadContext:Pointer):Cardinal; Cdecl;
TCallbackStreamOnWrite = Function (ABuffer:Pointer; ALength:Cardinal; AStream:TCallback... |
unit ibSHTXTLoaderActions;
interface
uses
SysUtils, Classes, Menus,
SHDesignIntf, ibSHDesignIntf;
type
TibSHTXTLoaderPaletteAction = class(TSHAction)
public
constructor Create(AOwner: TComponent); override;
function SupportComponent(const AClassIID: TGUID): Boolean; override;
proce... |
unit UnitSlideShowScanDirectoryThread;
interface
uses
Classes,
Forms,
ActiveX,
uConstants,
uMemory,
uThreadEx,
uThreadForm,
uDBUtils,
uDBContext,
uDBEntities,
uAssociations;
type
TSlideShowScanDirectoryThread = class(TThreadEx)
private
{ Private declarations }
... |
// Raytracer demo - demonstrates XD Pascal methods and interfaces
{$APPTYPE CONSOLE}
program Raytracer;
type
TVec = array [1..3] of Real;
function add for u: TVec (var v: TVec): TVec;
var i: Integer;
begin
for i := 1 to 3 do Result[i] := u[i] + v[i];
end;
function sub for u: TVec (var ... |
unit SDTdxForm;
interface
uses
Windows, Forms, BaseForm, Classes, Controls, Sysutils, StdCtrls;
win.diskfile;
type
TfrmSDTdx = class(TfrmBase)
btnImport: TButton;
procedure btnImportClick(Sender: TObject);
protected
procedure ImportDayData;
procedure ImportTxtData; overload;
procedure Im... |
unit regexDemo;
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.CheckLst;
type
TForm1 = class(TForm)
Panel1: TPanel;
memDocument: TMemo;
Splitter1: TSplitter;
cl... |
unit AdjustQtyReasonUpsertView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, AdjustReasonCls;
type
TvwAdjustQtyReasonUpsert = class(TForm)
pnBottom: TPanel;
bbtnAdd: TBitBtn;
btnCancel: TBitBtn;
lblReason: TLabe... |
unit InflatablesList_Types;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Graphics,
AuxTypes;
const
KiB = 1024;
MiB = 1024 * KiB;
IL_ITEM_NUM_TAG_MIN = -99999;
IL_ITEM_NUM_TAG_MAX = +99999;
//==============================================================================
//- event prototypes... |
unit DP.EventGeo;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
interface
uses
SysUtils,
Cache.Root,
ZConnection, ... |
program questao10;
{
Autor: Hugo Deiró Data: 02/06/2012
- Este programa converte uma temperatura em Celcius para Fahrenheit
Fórmula: Fahrenheit = celcius * 18 + 32.
}
var
celcius : real;
begin
write('Insira uma temperatura em Celcius: ');
readln(celcius);
writeln;
writeln(celcius:6:2,'°C = ',celci... |
{
Double Commander
-------------------------------------------------------------------------
Multi-Rename Tool dialog window
Copyright (C) 2007-2022 Alexander Koblov (alexx2000@mail.ru)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public ... |
unit Ils.MySql.EnumPublisher;
interface
uses
TypInfo, SysUtils, SysConst,
Ils.MySQL.Conf, ZDataset, ZConnection;
type
TEnumTextInfo = record
ClassID: Integer;
Name: string;
Comment: string;
Measure: string;
Default: string;
Name2: string;
end;
TEnumPublishField = (efClassID, efCom... |
{ *******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PRODUTO]
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 docume... |
unit Demo.Form.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CategoryButtons,
Vcl.ExtCtrls, System.Actions, Vcl.ActnList, System.ImageList, Vcl.ImgList,
System.Rtti, System.JSON,
... |
unit Tests.Api;
interface
uses
DUnitX.TestFramework, System.JSON, RESTRequest4D.Request, System.Classes,
Controllers.Api, Horse;
type
[TestFixture]
TApiTest = class(TObject)
private
procedure StartApi;
public
[Test]
procedure TestGet;
[Test]
[TestCase('Test01', 'Teste de requisição PO... |
(* Copyright 2018 B. Zoltán Gorza
*
* This file is part of Math is Fun!, released under the Modified BSD License.
*)
{ Expression class, and its supporting types and functions. }
unit ExpressionClass;
{$mode objfpc}
{$H+}
interface
uses
OperationClass;
type
{ Operation category that is... |
{*****************************************************************}
{* PROTECTION PLUS 4.4.1.0 }
{* }
{* Global constants and declare statements for Delphi 2-5 }
{* Uses KeyLib32.DLL ... |
unit lsdatasettable;
{
Borland TDataSet compatible class
Specify a table name
And access results read/write (if rowid or equivalent available)
}
interface
uses
SysUtils, Classes, Db, lsdatasetbase, passql, passqlite, pasmysql;
type
TlsTable = class(TlsBaseDataSet)
private
FTable: Str... |
unit COW_Design;
interface
uses
Dialogs,SysUtils,Classes,Contnrs,Windows,COW_RunTime,COW_Utils,StrUtils;
type
TGrammar=class;
TNodeGrammarItem=class;
TAndGrammarItem=class;
TOrGrammarItem=class;
TObjectSet=class(TObjectList)
public
function Add(AObject:TObject):Boolean;
functio... |
unit FreeOTFEExplorerfmeOptions_WebDAV;
interface
uses
Classes, fmeBaseOptions,
Controls, Dialogs, ExtCtrls, Forms,
FreeOTFEExplorerfmeOptions_Base,
ExplorerSettings, Graphics, Messages, SDUFilenameEdit_U, SDUFrames,
SDUStdCtrls, Shredder, Spin64,
StdCtrls, SysUtils, Variants, Windows;
type
... |
{ ******************************************************* }
{ *
{* uMatch.pas
{* Delphi Implementation of the Class Match
{* Generated by Enterprise Architect
{* Created on: 09-févr.-2015 11:44:54
{* Original author: Labelleg
{*
{******************************************************* }
un... |
object fmSpecific: TfmSpecific
Left = 228
Top = 149
BorderStyle = bsDialog
Caption = 'Specific'
ClientHeight = 190
ClientWidth = 205
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOr... |
unit AsConvertOpTest;
interface
uses
DUnitX.TestFramework,
uIntXLibTypes,
uIntX;
type
[TestFixture]
TAsConvertOpTest = class(TObject)
public
[Test]
procedure AsInteger();
[Test]
procedure AsUInt32();
[Test]
procedure AsInt64();
[Test]
procedure AsUInt64();
end;
implem... |
unit Main;
// Description: MouseRNG Test Application
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, D... |
{: Using materials in a TGLDirectOpenGL OnRender.<p>
This demo shows how to dynamically create materials in a material library
and use them in a TGLDirectOpenGL to render your own stuff.<br>
The render is quite simple: two quads, each with its own texture. The
TGLDirectOpenGL is placed in a small hier... |
unit TopologyAnalyzer;
interface
uses Voxel, VoxelMap;
type
CTopologyAnalyzer = class
private
FMap: TVoxelMap;
// I/O
procedure LoadVoxel(const _Voxel:TVoxelSection);
public
NumVoxels,NumCorrect,Num1Face,Num2Faces,Num3Faces,NumLoneVoxels : longword;
... |
unit Stack;
{$POINTERMATH ON}
interface
uses
System.SysUtils;
type
TStack = object
strict protected
FStack: PInteger;
FSize: Integer;
FLength: Integer;
public
property Length: Integer read FLength;
procedure Create(Buffer: Pointer; Size: Integer);
procedure Push<T>(A: T); overload;... |
{..............................................................................}
{ Summary Common routines to use for the PCB_Scripts project }
{ Copyright (c) 2004 by Altium Limited }
{............................................................................... |
unit Amazon.Storage.Service.Intf;
interface
uses System.Classes, Amazon.Storage.Service.API;
type
IAmazonStorageService = interface
['{FDDE1936-EFEB-4EE2-9853-9E56CE020BE2}']
function DownloadFile(const AFileName: string): TMemoryStream;
function ListBuckets: TStrings;
function GetBucket(const ABuc... |
unit guiSelectBar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Imaging.GIFImg, Vcl.StdCtrls, Vcl.Buttons, Vcl.Imaging.pngimage;
type
TFormSelectBar = class(TForm)
pnlHead: TPanel;
... |
unit uIMC;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TFrmIMC = class(TForm)
lblAltura: TLabel;
lblPeso: TLabel;
edtAltura: TEdit;
edtPeso: TE... |
{
Laz-Model
Copyright (C) 2016 Peter Dyson. Initial Lazarus port
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
... |
unit uTemplateReceipt13; {увольнение с почасовой работы}
interface
uses SysUtils,
Classes,
Dialogs,
ibase,
DB,
FIBDatabase,
pFIBDatabase,
FIBDataSet,
pFIBDataSet;
function GetTemplateString(hConnection: TISC_DB_HANDLE; id_session, id_item : Int64): String; stdcall;
exports Ge... |
unit HelloUnit;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects, FMX.Gestures, FMX.Controls.Presentation;
type
TForm10 = class(TForm)
Label1: TLabel;
CircleOuter: TC... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit fClient;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo,
gateway.Proto, gateway_protocol.Client, gateway_protocol.Proto, FMX.Effe... |
unit ibSHStatistic;
interface
uses
Classes, SysUtils,
SHDesignIntf, ibSHDesignIntf, ibSHDriverIntf, ibSHMessages, ibSHValues;
type
TibBTStatistics = class(TSHComponent, IibSHStatistics)
private
FDatabase: IibSHDatabase;
FDRVStatistics: TSHComponent;
FTimeStatistics: IibSHDRVExecTimeS... |
unit LuaButton;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, lua, LuaObject, Buttons;
type
{ TLuaButton }
TLuaButton = class(TLuaObject)
private
procedure CommonCreate(LuaState : PLua_State; AParent : TLuaObject = nil); override;
procedure ButtonClickEvent(Sender: TObject);
function ... |
program expressaoSimples;
uses crt;
const
max=100;
type
TDado = real;
TPilha = array[1..max] of TDado;
procedure push(var p:TPilha; var t:integer; dado:TDado);
begin
if (t < max) then
begin
t := t + 1;
p[t] := dado;
end;
end;
function pop(var p:TPilha; var t:integer):TDado;
begin... |
unit TestThItemLine;
{
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, BaseTestUnit, FMX.Types, FMX... |
unit hdf5;
interface
{$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF}
{$Z+,A+}
Const
DLLname='HDF5DLL';
{Modules convertis: H5public.H
H5Ipublic.H
H5Fpublic.H
}
{************************************************* H5public.H *****... |
{------------------------------------------------------------------------------------}
{program p019_000 exercises production #019 }
{subprogram_head -> PROCDURE ID subprogram_parameters ; }
{----------------------------------------------------------... |
{ Demo unit : Bezier curves and smothing algorithm
Jean-Yves Queinec : j.y.q@wanadoo.fr
Keywords : Bezier curves
Smoothing algorithm with smooth factor
square to circle transformation
coloured flowers }
unit UB1;
interface
uses
Windows, Messages, SysUtils, ... |
unit untBot;
interface
uses
Windows,
Winsock,
untFunctions,
untControl,
untAdminSystem;
{$I Settings.ini}
type
TIRCBot = Class(TObject)
Private
mainSocket :TSocket;
mainAddr :TSockAddrIn;
mainWSA :TWSAData;
Procedure ReceiveData;
Procedure ReadCom... |
//***********************************************************************
//* Проект "Студгородок" *
//* Добавление льготы *
//***********************************************************************
unit uSp_mesto_AE;
inte... |
unit XLSReadWriteZIP;
{
********************************************************************************
******* XLSReadWriteII V3.00 *******
******* *******
******* Copyright(C) 1999,2006 Lars Arvidsson, Axolo... |
unit myTypes;
interface
uses sgTypes;
const
//All constants in this section are offset by 1 due to 0-indexing.
//***
MAP_WIDTH = 63; //262144 block space (64*16*16*16)
MAP_HEIGHT = 15;
CHUNK_HEIGHT = 15;
CHUNK_WIDTH = 15;
BLOCK_COUNT = 11; //Amount of types of blocks
//***
ACCELER... |
unit DSA.Tree.SegmentTree;
interface
uses
System.SysUtils,
System.rtti,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
TSegmentTree<T> = class(TObject)
private
__data: array of T;
__tree: array of T;
__merger: IMerger<T>;
/// <summary> 返回完全二叉树的数组表示中,
/// 一个索引所表示的元素的左孩子节点的索引
/// <... |
unit Geo.Calcs;
//------------------------------------------------------------------------------
// модуль простых операций с гео координатами
//------------------------------------------------------------------------------
// функции с постфиксом Rad принимают аргументы в радианах
// функции с постфиксом Deg принимаю... |
unit Win32.MFMediaCapture;
// Checked (and Updated) for SDK 10.0.17763.0 on 2018-12-04
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
Windows, Classes, SysUtils,
Win32.MFObjects;
const
IID_IAdvancedMediaCaptureInitializationSettings: TGUID = '{3DE21209-8BA6-4f2a-A577-2819B56FF14D}';
IID_IAdvan... |
unit Dialog_EditMemb;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, RzEdit, RzCmboBx, RzTabs,Class_Memb, ComCtrls,
RzDTP,ADODB,Class_DBPool, Grids, BaseGrid, AdvGrid, Menus,Class_Dict,
Class_Context,Class_Menu,Class_MembMenu,Class_Mo... |
unit KanjiDic;
{ Basic in-memory KanjiDic representation, heavy and slow. If you need anything
fancy, write your own engine and use KanjiDicReader to load data.
Usage:
kd := TKanjidic.Create;
kd.LoadFromFile('kanjidic');
common_ons := kd.FindEntry(char).readings[0].ons.Join(', ');
}
interface
... |
unit BaseTypes;
interface
uses Dialogs, pFIBDataBase, FIBDataBase;
const
INI_FILENAME = 'app.ini';
DELETE_QUESTION = 'Ви дійсно хочете видалити виділений запис?';
EMPTY_WARNING = 'Необхідно заповнити всі дані';
ST_REMOTE = 0;//Server type
ST_LOCAL = 1;
SYS_DIGITS_AFTER_DOT = 2;
ID_ACTION_ADD ... |
unit PaletteControl;
interface
uses Menus, BasicProgramTypes, Classes;
type
TPaletteControl = class
private
Owner: TComponent;
function IsFileInUse(const _FileName: string): Boolean;
function FindSubMenuItemFromCaption(var _BaseMenuItem: TMenuItem; const _Caption: str... |
unit MVVM.ViewFactory;
interface
uses
System.Rtti,
System.UITypes,
System.Classes,
System.SysUtils,
Spring.Collections,
MVVM.Interfaces.Architectural;
type
{ A factory for creating views based on their names.
View models can create a view by calling TViewFactory.CreateView. }
TViewFactory = cla... |
{----------------------------------------------------------------
Nome: SrvAnalisesUtils
Descrição: Biblioteca para analisar menssagens vindas do
servidor. Esta biblioteca faz complementação a IRCUtils.
----------------------------------------------------------------}
unit SrvAnalisesUtils;
interface
uses
SysU... |
Vie_algoentre10et20_LV_v1_20/11/17
Algotrithme:Nombre_entre_10_et_20
//But:Demander à un utilisateur un nombre entre 10 et 20 et lui indiquer si jamais le nombre saisie est trop grand ou trop petit
//Principe:On demande à l'utilisateur de saisir un nombre entre 10 et 20 , on test si le nombre est plus grand ou plus p... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
{..............................................................................}
{ Summary Demonstrate the use of several Schematic Object Interfaces }
{ to fetch details of schematic components on a current schematic. }
{ ... |
unit form_splash;
interface
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, form_main, Vcl.StdCtrls;
type
Tfrm_splash = class(TForm)
FTimer: TTimer;
FImage: TImage;
FPanel: TPanel;
... |
{:
GLSL Diffuse Specular Shader Demo<p>
A demo that shows how to use the TGLSLDiffuseSpecularShader component.
Version history:
24/07/09 - DaStr - Added fog support
02/07/07 - DaStr - Removed old Timer leftovers
(GLSimpleNavigation component now does this stuff)
20/03/07 - DaS... |
unit ibSHDDLFinder;
interface
uses
SysUtils, Classes,
SHDesignIntf,
ibSHDesignIntf, ibSHTool;
type
IibServerSideSearch= interface
['{E16DE9AB-BE3C-4294-8714-988F1F210476}']
// interface is visible in package Only
function FindOnServerSide(const AClassIID: TGUID; var OutPutList:TStrings):b... |
unit Main;
interface
uses
SysUtils, Forms, Dialogs, StdCtrls, Controls, Classes, ThreadComponent;
type
TMainForm = class(TForm)
ThreadListBox: TListBox;
CreateThreadsBtn: TButton;
GoBtn: TButton;
QuitBtn: TButton;
InfoLabel: TLabel;
procedure FormCreate(Sender: TObject);
... |
unit Design;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
LMDDsgClass, LMDDsgDesigner, LMDDsgManager;
type
TDesignForm = class(TForm)
LMDDesigner1: TLMDDesigner;
LMDDesignManager1: TLMDDesignManager;
procedure FormCreate(Sender: TObject);
private
... |
unit oopd2_form;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
OOPD2_Datensatz, OOPD2_Adresse, OOPD2_Kunde, StdCtrls, ComCtrls;
type
TFmOOPD2 = class(TForm)
eName: TEdit;
eGeburtstag: TEdit;
eStrasse: TEdit;
ePLZ: TEdit;
eOrt: TEdit;
btnSpeiche... |
unit UOptionsButton;
interface
uses
W3System;
type
TOptionsButton = class(TObject)
X : float; //The x position of the button
Y : float; //the y position of the button
Width : float; //the width of the button
Height : float; //the height of the button
Text : string; //the text in the button
TextX : fl... |
unit StockAppPath;
interface
uses
SysUtils, BaseApp, BaseWinApp,
define_datasrc,
define_dealitem,
define_dealstore_file;
type
TStockAppPathData = record
DBPathRoot: string;
DetailDBPath: string;
end;
TStockAppPath = class(TBaseWinAppPath)
protected
fStockAppPathData: TStockAppPathDa... |
{-------------------------------------------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
--------------------------------------... |
unit stmFifoError;
interface
uses classes, sysUtils,
util1, stmDef,
debug0,ErrorForm1;
Const
MaxError=20;
type
TFifoError=class
private
strings: TStringList;
ad: Tlist;
line: Tlist;
stF: TStringList;
FifoIn:integer... |
(*
Category: SWAG Title: TEXT/GRAPHICS COLORS
Original name: 0016.PAS
Description: Setting Text Attr
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:34
*)
{YZ> Does anyone know how to "extract" the foreground and background
YZ> colours from TextAttr?
}
uses crt;
{
Foreground := TextAttr and $0f;
Backg... |
unit Win32.AMAudio;
//------------------------------------------------------------------------------
// File: AMAudio.h
// Desc: Audio related definitions and interfaces for ActiveMovie.
// Copyright (c) 1992 - 2001, Microsoft Corporation. All rights reserved.
//------------------------------------------------------... |
unit uParamObject;
interface
uses
Classes, SysUtils, Variants, DBClient, superobject;
type
//参数定义
TGParam = record
ParamName: string;
ParamValue: Variant;
IsSystem: Boolean;
end;
//参数数组
TGParams = array of TGParam;
TParamObject = class(TObject)
private
FParams: TGParams;
FCount:... |
unit uMain;
interface
uses
{$IF DEFINED(android)}
Androidapi.Helpers,
FMX.Helpers.Android,
{$ENDIF}
FMX.VirtualKeyboard,
FMX.Platform,
FMX.DialogService.Async,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialog... |
{-------------------------------------------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
--------------------------------------... |
unit LrPageControlRegister;
interface
procedure Register;
implementation
uses
Classes, LrPageControl;
procedure Register;
begin
RegisterComponents('LR', [ TLrTabControl, TLrCustomPageControl, TLrPageControl ]);
end;
end.
|
unit DPM.Core.Spec.Writer;
interface
uses
DPM.Core.Types,
DPM.Core.Logging,
DPM.Core.Options.Spec,
DPM.Core.Spec.Interfaces;
type
TPackageSpecWriter = class(TInterfacedObject, IPackageSpecWriter)
private
FLogger : ILogger;
protected
function CreateSpecFile(const options : TSpecOptions) : Boolea... |
{******************************************************************************}
{ }
{ Icon Fonts ImageList: An extended ImageList for Delphi }
{ to simplify use of Icons (resize, colors and more...) ... |
unit Balldlg;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, Dialogs, ExtCtrls, Balls;
type
TBallDialog = class(TForm)
OKBtn: TBitBtn;
CancelBtn: TBitBtn;
HelpBtn: TBitBtn;
Bevel1: TBevel;
ColorDialog: TColorDialog;
ButtonColor: TSp... |
unit uDividerBase;
{$I ..\Include\IntXLib.inc}
interface
uses
uIDivider,
uStrings,
uDigitOpHelper,
uDigitHelper,
uEnums,
uConstants,
uIntX,
uIntXLibTypes;
type
/// <summary>
/// Base class for dividers.
/// Contains default implementation of divide operation over <see cref="... |
unit SomeRegistry;
interface
type
TSomeRegistry = class
public
procedure RegisterClass(AClass: TClass);
procedure DeregisterClass(AClass: TClass);
end;
function GetSomeRegistry: TSomeRegistry;
implementation
uses Windows;
var
mSomeRegistry : TSomeRegistry = nil;
function GetSomeRegistry: TSomeRegistry;
... |
program USBHIDLister;
{$mode objfpc}{$H+}
{ Raspberry Pi 3 Application }
{ Add your program code below, add additional units to the "uses" section if }
{ required and create new units by selecting File, New Unit from the menu. }
{ ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit UHistoricoVO;
interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO;
type
[TEntity]
[TTable('Historicos')]
THistoricoVO = class(TGenericVO)
private
FIdHistorico : Integer;
FDsHistorico : String;
FFlContaCorrente : String;
public
[TId('IdHistorico')... |
//
// Generated by JavaToPas v1.5 20180804 - 083309
////////////////////////////////////////////////////////////////////////////////
unit java.time.chrono.AbstractChronology;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.time.chrono.ChronoLocalDate,
java.time.format.ResolverStyle;
type
... |
unit URepositorioEstado;
interface
uses
UPais
, UEstado
, UEntidade
, URepositorioDB
, URepositorioPais
, SqlExpr
;
type
TRepositorioEstado = class(TRepositorioDB<TESTADO>)
private
FRepositorioPais: TRepositorioPais;
public
constructor Create;
destructor Destroy; override;
pro... |
{ ZFM-20 series fingerprint sensor support library.
Copyright (c) 2015 Dilshan R Jayakody [jayakody2000lk@gmail.com]
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, i... |
unit Data;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtDlgs, aiOGL, stdctrls, extctrls, jpeg;
type
TData1 = class(TDataModule)
ColorDialog: TColorDialog;
SaveDialog: TSaveDialog;
OpenDialog: TOpenPictureDialog;
OpenPictureDialog: TO... |
unit uMainInfoFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uMainInfoData, uFormControl, uFControl, SpFormUnit,
uLabeledFControl, uCharControl, ComCtrls, uIntControl, uSpravControl,
uEnumControl, uDateControl, Buttons, SpCommon, ExtCtrls, u... |
unit SDL2_SimpleGUI_Base;
{:< Base Unit which provides the common procedures and data that most units
need }
{ Simple GUI is a generic SDL2/Pascal GUI library by Matthias J. Molski,
get more infos here:
https://github.com/Free-Pascal-meets-SDL-Website/SimpleGUI.
It is based upon LK GUI by Lachlan Kingsford ... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2019 Embarcadero Technologies, Inc. }
{ All rights res... |
unit TITaxInvoices_ImportReestr;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxDBEdit, cxLabel, cxProgressBar,
StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxButtonEdit, ibase,TiMessages, TII... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.