text stringlengths 14 6.51M |
|---|
unit MetrickMakkeiba_3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, StrUtils, Grids;
const
numberWords=20;
numberUsefullWords=4;
type
TAdjacencyMatrix=array [1..numberWords,1..numberWords] of boolean;
TarrayCodeString=array [1..numberWords... |
object Form1: TForm1
AlignWithMargins = True
Left = 0
Top = 0
Align = alClient
AlphaBlend = True
BorderStyle = bsSingle
Caption = 'DEJOTA EDITOR'
ClientHeight = 494
ClientWidth = 726
Color = clGrayText
TransparentColorValue = clNone
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Fo... |
{ -------------------------------------------------------------------------------
Unit Name: cGLSimulationGrids
Author: Aaron Hochwimmer (hochwimmera@pbworld.com)
Purpose: visual classes for rendering TOUGH/MULKOM/TETRAD grids with
GLScene.
Updates: TETRAD Grid Support
-----------------------... |
unit htAttributeList;
interface
uses
SysUtils, Classes, Graphics;
type
ThtAttributeList = class(TStringList)
private
function GetThisList: ThtAttributeList;
function GetAttribute(const inName: string): string;
procedure SetAttribute(const inName, Value: string);
procedure SetBoolean(const inN... |
unit uDMImportInventory;
interface
uses
SysUtils, Classes, uContentClasses, variants, ADODB, uDMCalcPrice;
type
TDMImportInventory = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
private
FSQLConnection: TADOConnection;
FLog: TStrin... |
Unit ColumnForm;
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,
Generics.Collections,
ListModel, IRPMonRequest;
Type
TColumnFrm = Class (TForm)
LowerPanel... |
unit AdvancedSearchForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,
InflatablesList_Types,
InflatablesList_Manager;
type
TfAdvancedSearchForm = class(TForm)
leTextToFind: TLabeledEdit;
btnSearch: TButton;
grbSearchSetti... |
unit ufrmDialogCustomerAgreement;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, uInterface,
StdCtrls, Mask, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit, Vcl.ComCtrls... |
(*
Category: SWAG Title: MATH ROUTINES
Original name: 0043.PAS
Description: Pascal Triangle
Author: LOU DUCHEZ
Date: 11-02-93 10:30
*)
{
LOU DUCHEZ
>Also, does anyone have anycode to do Pascal's Triangle?
The pattern is:
1 1
1 2 1
1 3 3 1
1 4 6 4 1
where each element = the sum of the two above... |
unit WebJS_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type libra... |
unit SubListPanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, uParentSub;
type
TOnDataChange = procedure of object;
TOnSelectData = procedure (AParams: String) of object;
TOnGetFchParam = function(): String of object;
TOnGetSQLEnvent = function(): S... |
unit Grijjy.FacebookAPI;
{ Http Rest interface for Facebook API }
interface
uses
Grijjy.FBSDK.Types;
type
TFacebook = class
private
FClientId: String;
FClientSecret: String;
FAccessToken: String;
private
{ Http }
function Get(const AUrl: String; out AResponse: String): Integer;
public
... |
unit f1df_AddReportm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxLabel,
cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit,
FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase, pFIBDat... |
unit uPrintWorker;
interface
uses
Classes, SysUtils, Windows, cmbtls28, cmbtll28, L28, ADODB, DB;
type
TPrintWorker = class(TThread)
private
procedure DesignerPrintPreview();
procedure DefineCurrentRecord();
function GetTempFile(): string;
protected
procedure Execute; override;
procedure ... |
//******************************************************************************
// Проект ""
// Справочник типов водомеров
//
// последние изменения
//******************************************************************************
unit uHydrometerType_main;
interface
uses
Windows, Messages, SysUtils, Variants, Cla... |
unit Form.StringSortTest;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.StdCtrls;
type
TFormStringSortTest = class(TForm)
PageControlMain: TPageControl;
PanelBottom: T... |
unit uMsgConstant;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
siComp, siLangRT;
const
//EXCLAMATION
MSG_EXC_SELECT_A_MODEL: string = ''; (* Please select a model! *)
MSG_EXC_BARCODE_EXISTE: string = ''; (* Barcode already in use! *)
MSG_EXC_NO_DEFA... |
unit VirtualShellContainers;
// Version 1.3.0
//
// 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/
//
// Alternatively, yo... |
{ *************************************************************************** }
{ }
{ EControl Syntax Editor SDK }
{ }
... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (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 versi... |
unit LrTreeData;
interface
uses
SysUtils, Classes, Contnrs;
type
TLrTreeLeaf = class;
TLrSaveItemEvent = procedure(inSender: TLrTreeLeaf; inIndex: Integer;
var inAllow: Boolean) of object;
//
TLrTreeLeaf = class(TComponent)
private
FDisplayName: string;
FOnChange: TNotifyEvent;
FOnSaveI... |
unit HomeLibrary_EditorForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, MySkinCtrls, MySkinEditors, MySkinListView, HomeLibrary_Query,
ActnList, MySkinButtons, MySkinGroups, MySkinEngine;
type
{ TEditorForm }
TEditorForm = class(TMyForm)
... |
{ ****************************************************************************** }
{ * GBK media Data writen by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
namespace com.example.android.jetboy;
{*
* 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.org/... |
{******************************************************************************}
{ }
{ Delphi JOSE Library }
{ Copyright (c) 2015-2021 Paolo Rossi ... |
unit Chapter09._08_Solution1;
{$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)
pub... |
// *************************************************************************** }
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2020 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// ***************************************************************************
//
/... |
program HowToMoveSpriteUsingAnimation;
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 WavFiles;
interface
uses Windows, Classes, acm, Text2Speech;
type
TWavFile = class(TObject)
private
FPcmStream: TMemoryStream;
public
function GetSize: Integer;
function GetPosition: Integer;
procedure SetPosition(Value: Integer);
function GetBuffer(Buffer: PAnsiChar; BufLen: Integer):... |
unit uAssociations;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
uModelEntity, uDocumentation;
type
// this may or may not go
TAssociationType =(
atOwnedMember,
atMemberReference, // pointer members declared ^Thing
atDirectInheritance,
atInterfaceInheritance,
atS... |
unit UsuarioDAO;
interface
uses
Classes, DBXCommon, SqlExpr, Usuario, SysUtils;
type
{$MethodInfo ON}
TUsuarioDAO = class(TPersistent)
private
FComm: TDBXCommand;
procedure PrepareCommand;
public
function List: TDBXReader;
function Insert(usuario: TUsuario): Boolean;
function Update(us... |
unit fInitial;
interface
uses
Winapi.Windows,
System.SysUtils,
System.IniFiles,
Vcl.Forms,
Vcl.Graphics,
Vcl.Menus,
Vcl.Actnlist,
GnuGettext;
type
TInitialForm = class(TForm)
procedure FormCreate(Sender: TObject);
private
public
IniFile : TIniFile;
procedure Re... |
unit VoxelEngine;
interface
uses System.SysUtils, System.Classes;
type
Colour = record
R: Byte;
G: Byte;
B: Byte;
A: Byte;
end;
type
MagicaVoxelData = record
x: Byte;
y: Byte;
z: Byte;
color: Byte;
end;
type
VoxData = record
FStream: TMemoryStream;
Map_X, Map_Y, Ma... |
unit uDMValidateTextFile;
interface
uses
SysUtils, Classes, ADODB, DBClient, DB;
type
TDMValidateTextFile = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
private
FSQLConnection: TADOConnection;
FTextFile: TClientDataSet;
FLinke... |
unit VertexTransformationUtils;
// This class is a split from ClassTextureGenerator and it should be used to
// project a plane out of a vector and find the position of another vector in
// this plane. Boring maths stuff.
interface
uses Geometry, BasicMathsTypes, GLConstants, Math;
{$INCLUDE source/Glob... |
unit MeshUnsharpMaskingCommand;
interface
uses ControllerDataTypes, ActorActionCommandBase, Actor;
{$INCLUDE source/Global_Conditionals.inc}
type
TMeshUnsharpMaskingCommand = class (TActorActionCommandBase)
public
constructor Create(var _Actor: TActor; var _Params: TCommandParams); over... |
unit uTPLb_XXTEA;
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2010 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "L... |
unit OnesComplementOpTest;
interface
uses
DUnitX.TestFramework,
uIntXLibTypes,
uConstants,
uIntX;
type
[TestFixture]
TOnesComplementOpTest = class(TObject)
public
[Test]
procedure ShouldOnesComplementIntX();
[Test]
procedure ShouldOnesComplementNegativeIntX();
[Test]
procedure ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : D:\DonnU\SourcesSVN\FMAS-WIN\Contingent_Student\Sources\WSDL\EDBOGuidesToFMASService.wsdl
// Encoding : UTF-8
// Version :... |
unit FieldEdit;
{$MODE Delphi}
interface
uses Grids, Classes, StdCtrls;
{TFieldEdit pseudo control
For Sector/Wall/Vertex/Object editors
}
type
TVarType=(vtString,vtDouble,vtInteger,vtDword);
TFieldInfo=class
Private
Grid:TStringGrid;
row:Integer;
olds:string;
Function GetS:String;
Procedure SetS(const s:St... |
unit NewFrontiers.Reflection;
interface
uses
System.Rtti, Generics.Collections, System.TypInfo;
type
TClassOfAttribute = class of TCustomAttribute;
/// <summary>
/// Der Reflection Manager kapselt Zugriffe auf die Rtti und hält den
/// Context über die ganze Laufzeit am Leben.
/// ... |
unit SotrListFilterFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxDropDownEdit, cxMRUEdit, cxLookAndFeelPainters, cxButtons,
SotrListConsts, packageLoad, IBase, Ztypes;
type
TS... |
unit PhpCodeDesigner;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
TypInfo,
dcsystem, dcparser, dcstring, dccommon, dcmemo, dccdes, dcdsgnstuff;
type
TPhpCodeDesigner = class(TJSCodeDesigner)
protected
function GetClassEnd: Integer;
function SkipToToken(inT... |
unit Strings;
{----} interface {----}
uses
CRT;
type
StringType = array [0..255] of Char;
var
StringResult : StringType;
ByteResult : Byte;
Pos : Integer;
procedure StringLength (var AString : StringType);
procedure ClearStringResult;
procedure StringWriteLn (var AString : StringType);
procedure... |
UNIT NewDelay;
{ Improved Delay routine
For TP 6.0 and TP/BP 7.00/7.01 (real and protected mode).
Version 1.00, released 29-09-97
(Note: The code itself has NOT changed since version 0.96!
I just thought it was about time to finish beta stage and make a
version 1.00)
Please send any BUG RE... |
unit UDEmbeddedFields;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeEmbeddedFieldsDlg = class(TForm)
pnlEmbeddedFields: TPanel;
lblNames: TLabel;
lblFieldName: TLabel;
lblFieldType: TLabel;
lblTextStart: TLab... |
namespace RemObjects.Elements.System;
uses
java.util,
java.util.concurrent.atomic;
type
ParallelLoopState = public class
private
public
property IsStopped: Boolean read private write;
method &Break;
begin
if not IsStopped then IsStopped := True;
end;
end;
&Parallel = static publ... |
unit uTSBaseClass;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs;
type
TSBaseClassClass = class Of TSBaseClass;
TComponentMode = (csNone, csCreated, csLoaded);
TSBaseClass = class(TComponent)
private
FMode: TComponentMode;
published
property Mode: TCompo... |
unit UCidadeVO;
interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO,UPaisVO, UEstadoVO;
type
[TEntity]
[TTable('Cidade')]
TCidadeVO = class(TGenericVO)
private
FIdCidade: Integer;
FnomeCidade: String;
FIdEstado : Integer;
FIdPais : Integer;
// Atrib... |
unit uEstoqueDAOClient;
interface
uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, Estoque, DBXJSONReflect;
type
TEstoqueDAOClient = class(TDSAdminClient)
private
FListCommand: TDBXCommand;
FInsertCommand: TDBXCommand;
FUpdateCommand: TDBXCommand;
FDelete... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmMDIBackground
Purpose : To allow an image to be placed with in the workspace area of an
MDI Form. Background colors are also available.
Date : 04-24-2000
Autho... |
unit frmCypherInfo;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCt... |
program HP_Calculator (input, output);
type
OperationType = ( opUnknown,
opError,
opValue,
opQuit,
opAdd, opSub, opMul, opDiv,
opSign, opExp, opLn, opSin, opCos,
opArcTg, op10x, opFix,
opClear,
opPush, opRollUp, opRollDown, opSwapXY );
ValueKind = (theNumber, theErro... |
unit FMain;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Messaging,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Controls.Presentation,
FMX.StdCtrls,
Grijjy.Social;
type
TFormMain = class(TForm)
ButtonLog... |
(***** 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... |
//______________________________________________________________________________
//-----------------------------------Salimov Artem----------------------10.11.12
//----------Последние изменение : Литовченко Дмитрий Николаевич-------22.12.2009
unit SpWorkMode;
interface
uses
Windows, Messages, SysUtils, Variants, Cl... |
Unit Dcache;
{ * Dcache : *
* *
* Unidad encargada dl mantenimiento del cache de nombres a *
* traves del arbol de dentrys del sistema . Es utilizada *
* por la unida namei.pas ... |
{Le joueur est caractérisé par un nombre nommé "place" compris entre 0 et 66. Il situe sa position sur le Jeu de l'Oie, sachant qu'après jet des deux dés, on applique les règles suivantes : On avance du nombre de cases indiqués par la somme des dés. Si on arrive juste sur la case 66, le jeu est terminé. Sinon on recule... |
unit Objekt.DHLReceiverNativeAddress;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2, Objekt.DHLOrigin;
type
TDHLReceiverNativeAddress = class
private
fReceiverNativeAdressTypeAPI: ReceiverNativeAddressType;
fStreetName: string;
fZip: string;
fStreetNumber: string;
fName1: ... |
{
@abstract Implements localization routines.
The routines are grouped into following static classes: @link(TNtResource),
@link(TNtLocale) and @link(TNtMap).
These routines are low level routines. Normally you do not call them but
you use @link(TNtLanguageDialog.Select) to change a language. However if you
... |
unit NewFrontiers.Tapi;
interface
type
/// <summary>
/// Der Record TTapiResult kapselt Ergebnisse einer Operation. Tritt ein
/// Fehler auf, wird der Fehler in der Eigenschaft error zur Verfügung
/// gestellt.
/// </summary>
TTapiResult = record
/// <summary>
/// true, falls der Aufruf erfolgre... |
//***********************************************************************
//* Проект "Студгородок" *
//* Справочник категорий - добавление источников финансирования *
//***********************************************************************
unit uPrices_services_AE... |
unit ufrmDialogMerchandiseGroup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, StdCtrls, ufraFooterDialog2Button, ExtCtrls,
uNewMerchandize, uRetnoUnit, System.Actions, Vcl.ActnList,
ufraFooterDialog3Button ;
type
TFormMode = (fmAdd, f... |
unit uFreeImageIO;
interface
uses
Classes,
FreeImage;
procedure SetStreamFreeImageIO(var IO: FreeImageIO);
implementation
function StreamFI_ReadProc(buffer: Pointer; size, count: Cardinal;
handle: fi_handle): Cardinal; stdcall;
begin
Result := Cardinal(TStream(handle).Read(buffer^, size * co... |
{-Almacenar en una vector K números reales, se sabe que existen elementos nulos. Generar un
nuevo arreglo donde cada uno de sus elementos sean la suma de los valores previos a un cero.
Ejemplos: K= 11, (2, 6, 0, 1, 0, 4, 7,-2,0, 8, 4) (8, 1, 9)
(0, 2, 6, 0, 1, 0, 4, 7, -2, 3, 0) (0, 8, 10) }
Program eje4;
Type
TV ... |
{В m файлах создать сведения о студентах m групп. Формат сведений: № группы, порядковый номер, фамилия, имя, отчество.
Выбрать всех однофамильцев из всех групп и сформировать из них последовательность. Обеспечить вывод сведений о каждой
группе и результаты поиска однофамильцев. Сортировка сведений выполняется методом... |
unit Form.PDFMemoryLeak;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, frxClass, frxRich,
gtClasses3, gtCstDocEng, gtCstPlnEng, gtCstPDFEng, gtExPDFEng, gtPDFEng, gtFrxportIntf;
type
Tfrm_PDF... |
{
Font info WDX plugin.
Copyright (c) 2015-2023 Daniel Plakhotich
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pur... |
unit uImportaCadastro;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
StdCtrls, fCtrls, ComCtrls, fDBCtrls,
Dialogs, db, funcoes, funcsql, ADODB, funcDatas;
type
TfmExportaEmp = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
cbDemitidos:... |
unit TextureAtlasExtractorOrigamiGPU;
interface
uses BasicMathsTypes, BasicDataTypes, TextureAtlasExtractorOrigami, MeshPluginBase, NeighborDetector,
Math, IntegerList, VertexTransformationUtils, Math3d, NeighborhoodDataPlugin,
SysUtils, Mesh, TextureAtlasExtractorBase, OpenCLLauncher;
{$INCLUDE source... |
unit MatrixG;
{----------------------------------------------------------------------------}
{- -}
{- Turbo Pascal Numerical Methods Toolbox -}
{- Copyright (c) 1986, 87 by Borland International, Inc. ... |
{: GLFileDXF<p>
Support-Code to load DXF (Drawing eXchange Files) TGLFreeForm or
TGLActor Components in GLScene.<p>
Note that you must manually add this unit to one of your project's uses
to enable support for DXF at run-time.<p>
Turn on TwoSideLighting in your Buffer! DXF-Faces have no defined winding ord... |
unit St_sp_Category_Class_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ToolWin, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxCheckBox,
FIBQuery, pFIBQuery, pFIBStoredProc, ActnList, F... |
unit PaiDeForms;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, siComp, siLangRT;
type
TFrmParentForms = class(TForm)
siLang: TsiLangRT;
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure FormKeyDow... |
{
******************************************************
EMI Background Viewer
Copyright (c) 2004 - 2010 Bgbennyboy
Http://quick.mixnmojo.com
******************************************************
}
unit uLABManager;
interface
uses
classes, sysutils, Contnrs, forms,
uFileReader, ZLibExGz;
type
EInvali... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{En un Torneo de Arquería se presentan un conjunto de participantes y tienen todos N oportunidades.
Del torneo se conoce:
Nombre del arquero (***=fin de datos)
Coordenadas del punto de impacto P(x,y) de los N tiros
El Blanco tiene centro en las coordenadas C(0,0).
La zona A (más cercana) tiene un radio de 5 y la B ... |
unit DatabaseConnection;
interface
uses SqlExpr, SimpleDs, DB, Classes;
type
// Enumerator of suported comand types
TSqlCommandType = (sqcSelect, sqcOther);
// Class to implement a list of SQL parameters
TSqlParams = class
private
paramCount : Integer;
params : Array of TParam;
// Set... |
//------------------------------------------------------------------------------
//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/MP... |
unit uControllerThread;
interface
uses
System.Classes, System.SysUtils, Vcl.Forms, DateUtils,
uController, uModbus, IniFiles;
//, uLogger;
type
TJobError = procedure(AMessage: string) of object;
TControllerThread = class(TThread)
private
FController: TController;
FTurnList: TStringList;
FCod... |
program hello_triangle_exercise2;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, gl, GLext, glfw31;
const
// settings
SCR_WIDTH = 800;
SCR_HEIGHT = 600;
// process all input: query GLFW whether relevant keys are pressed/released this frame and ... |
unit InflatablesList_Utils;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Windows, SysUtils, Graphics, Classes,
AuxTypes, AuxClasses,
InflatablesList_Types;
//==============================================================================
//- string functions redirection ------------------------------... |
unit Beacon;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TBeacon = class(TPanel)
Shape: TShape;
Timer: TTimer;
private
FEnabled: boolean;
FTimeOn: integer;
FTimeOff: integer;
FColorOn: TColor;
FColorOff: TCol... |
program HowToRespondToMouseClickAndPosition;
uses
SwinGame, sgTypes, sysutils;
procedure Main();
var
str : String;
mPos : Point2D;
begin
OpenGraphicsWindow('Mouse Click And Position', 400, 220);
LoadDefaultColors();
repeat // The game loop...
ProcessEvents();
Cle... |
unit UUsuario;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.StdCtrls,
Vcl.ComCtrls, Vcl.Mask, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Generics.Collections,
UUsuarioController,... |
{
BitmapSpeedButton component for FireMonkey.
See documentation at http://monkeystyler.com/wiki/TBitmapSpeedButton
Brought to you by the author of MonkeyStyler - FireMonkey style designer.
http://monkeystyler.com
You are free to use this code for any purpose provided:
* You do not charge for source code
* If you fork... |
unit UBiblioDataSet;
interface
uses Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, Vcl.Grids,
Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.DBCtrls;
procedure InitDataset(pDataSet: TClientDataSet); overl... |
program boxconsole;
{
(§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-2009, FirmOS Business Solutions GmbH
All rights reserved.
Redi... |
unit CatLogger;
{
Catarinka Debug Logger class with elapsed time calculation functions
Copyright (c) 2003-2020 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
}
interface
{$I Catarinka.inc}
uses
{$IFDEF DXE2_OR_UP}
{$DEFINE USEDIAGNOSTICS}
System.Classes, S... |
unit adot.Tools;
{$OVERFLOWCHECKS OFF}
{$IFNDEF Debug}
{ $Define UseInline}
{$ENDIF}
{ Definition of classes/record types:
TArrayStream<T: record> = class
Makes any array of ordinal type to be accessable as stream of bytes.
TArrayUtils = record
Fill/fillRandom/Randomize and other tools for arrays.
... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Implements basic shadow volumes support.
Be aware that only objects that support silhouette determination have a chance
to cast correct shadows. Transparent/blended/shader objects among the receivers
or the caster... |
unit track_simplify;
{
https://sourceforge.net/p/simdesign-os/code/HEAD/tree/trunk/simlib/geometry/sdSimplifyPolylineDouglasPeucker.pas
Implementation of the famous Douglas-Peucker polyline simplification
algorithm.
This file contains a 3D floating point implementation, for spatial
polylines
Permalink:
htt... |
unit RXUtils; //Some functions from RX's VCLUtils.Pas;
{$IFNDEF VER80} {-- Delphi 1.0 }
{$IFNDEF VER90} {-- Delphi 2.0 }
{$IFNDEF VER93} {-- C++Builder 1.0 }
{$DEFINE RX_D3} { Delphi 3.0 or higher }
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$P+,W-,R-,V-}
interface
{$IFDEF WIN32}
uses Windows, Classes, ... |
{ -----------------------------------------------------------------------------
Unit Name: cUsersSettings
Author: Aaron Hochwimmer
Purpose: Stores the user's settings
$Id: cUsersSettings.pas,v 1.25 2004/07/08 09:54:53 hochwimmera Exp $
----------------------------------------------------------------... |
unit uFrmExport;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ExtCtrls, cxLookAndFeelPainters, cxButtons,
IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdMessageClient, IdSMTP;
type
TFrmExport = class(TForm)
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFCE_CONFIGURACAO]
The MIT License ... |
unit WriteSettings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Simplex.Types;
type
TfrmWriteSettings = class(TForm)
GroupBox1: TGroupBox;
btnOK: TButton;
btnCancel... |
unit uMediaEncryption;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes,
System.Win.Registry,
Dmitry.Utils.System,
uConstants,
uTransparentEncryption,
uFormInterfaces,
uSettings,
uRuntime,
uMediaPlayers,
uTranslate,
uShellIntegration,
uAssociations,
u... |
{*************************************************************
Author: Stéphane Vander Clock (SVanderClock@Arkadia.com)
www: http://www.arkadia.com
EMail: SVanderClock@Arkadia.com
product: Alcinoe HTML function
Version: 3.05
Description: Function to work on Html Tag (extract Text, HTM... |
Program Example7;
uses Crt;
{ Program to demonstrate the WhereX and WhereY functions. }
begin
Writeln('Cursor postion: X=',WhereX,' Y=',WhereY);
end.
{http://www.freepascal.org/docs-html/rtl/crt/wherex.html} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.