text stringlengths 14 6.51M |
|---|
{
Funkcja skrotu (Delphi)
implementacja wlasnego rozwiazania funkcji skrotu
autor: Rafal Toborek (toborek.info)
}
// funkcja pomocnicza, ktorej zadaniem jest pobranie znaku z tablicy przesunietego
// o podana ilosc miejsc (szyfr Cezara)
function _obliczPrzesuniecie(sTablica: string; cLitera: char; iPrzesun... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmEditGrid
Purpose : Standard Grids (String/Draw) with enhanced inplace editing capabilities.
Date : 10-05-2000
Author : Ryan J. Mills
Version : 1.92
===================... |
unit ResStrings;
interface
Const
// Exception messages
// Exceptions on form fmRazp
C_EXCEPT_MSG_SOLVER_NOT_INIT = 'Neinicializiran problem ali sprememba datumov - pritisni gumb "Prikaži"';
C_EXCEPT_MSG_DAYS_EXCEEDED = 'Razpored lahko vsebuje največ %d dni!';
C_EXCEPT_MSG_SELECT_DATES = 'Izberite spodnji ... |
unit mrConfigList;
interface
uses
SysUtils, Classes, uSystemTypes;
type
TmrCommandOption = (tcoInsert, tcoOpen, tcoDelete, tcoRestore, tcoClassification,
tcoPrint, tcoGroup, tcoColumn, tcoExport, tcoReport);
TmrCommandOptions = set of TmrCommandOption;
TmrConfigList = class(TComponent)
... |
(* ADS Unit Test 19.04.2017 *)
(* ---------- *)
(* *)
(* ================================================== *)
PROGRAM StackTADS;
USES
StackADS;
VAR
e: INTEGER;
i: INTEGER;
... |
unit uModSettingApp;
interface
uses
uModApp, uModUnit, uModGudang, System.Classes, uModBank;
type
TModSettingApp = class(TModApp)
private
FAUTUNIT: TModUnit;
FDEFAULT_BANK_BCO: TModBank;
FGUDANG_DO: TModGudang;
FPRICE_BARCODE_REQ: Double;
FREKENING_HUTANG: string;
FREKENING_PENDAPATAN_L... |
Unit ListarDispositivos;
interface
uses
StrUtils,windows,
SetupAPI,
DeviceHelper;
const
NumDevices = 500;
SeparadorDevices = '@@##&&';
var
ClassImageListData: TSPClassImageListData;
hAllDevices: HDEVINFO;
DeviceHelper: TDeviceHelper;
tvRoot: array [0..NumDevices] of string;
LastRoot: integer = ... |
unit UFlow;
interface
uses URegularFunctions, UConst;
type
Flow = class
mass_flow_rate, mole_flow_rate, volume_flow_rate: real;
mass_fractions, mole_fractions, volume_fractions: array of real;
temperature: real;
density: real;
molar_mass: real;
heat_capacity: real;
constructor C... |
(*
Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES
Original name: 0065.PAS
Description: Another Bits example
Author: PHIL NICKELL
Date: 02-28-95 09:48
*)
{
I'll give a little program to demonstrate testing bits of a word for
being set or clear. The BitIsSet function can be coded a little more
effic... |
unit ThTag;
interface
uses
SysUtils, Classes,
ThStyledCtrl, ThAttributeList, ThStyleList;
type
//
// This is only here so that ThTag unit is automatically included by the
// Delphi designer in forms that use WebControls
//
TThWebControlBase = class(TThStyledCustomControl)
end;
//
TThTag = c... |
unit UnitFormMain;
{===============================================================================
CodeRage 9 - Demo for Task Chaining using WaitForAll
This code shows how to chain Tasks together (Fork / Join pattern)
Using the ITask interface you can let new Tasks wait for results from previous
Tasks.
... |
unit SuperEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TSuperEdit = class(TEDit)
private
{ Private declarations }
FOnPressEnter : TNotifyEvent;
protected
{ Protected declarations }
procedure CNKeyDown(var Message: TWMKeyDown);... |
unit Horse.Query;
interface
uses
Horse,
DataSet.Serialize, DataSet.Serialize.Config,
Data.DB,
System.JSON, System.SysUtils;
procedure Query(Req: THorseRequest; Res: THorseResponse; Next: TProc);
implementation
procedure Query(Req: THorseRequest; Res: THorseResponse; Next: TProc);
var
LContent: TObject;
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFileTIN<p>
TIN (Triangular Irregular Network) vector file format implementation.<p>
<b>History :</b><font size=-1><ul>
<li>05/06/03 - SG - Separated from GLVectorFileObjects.pas
</ul></font>
}
unit GLFileTIN;
interface
uses
Classe... |
unit uModElectric;
interface
uses
uModApp, uModOrganization, uModUnit, uModRekening;
type
TModElectricRate = class;
TModElectricCustomer = class(TModApp)
private
FELCUST_DATE_BEGIN: TDatetime;
FELCUST_IS_ACTIVE: Integer;
FELCUST_KAVLING_CODE: string;
FELCUST_LAST_INVOICE: TDatetime;
FELCU... |
unit uModFinalPayment;
interface
uses
uModApp, uModBeginningBalance;
type
TModFinalPayment = class(TModApp)
private
FBEGINNING_BALANCE: TModBeginningBalance;
FFINPAYMENT_TOTAL: Double;
public
class function GetTableName: String; override;
published
property BEGINNING_BALANCE: TModBeginningB... |
unit RenderTest;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Render, ExtCtrls, pngimage;
type
TRenderTestForm = class(TForm)
BoxMemo: TMemo;
Panel: TPanel;
PaintBox: TPaintBox;
Splitter1: TSplitter;
DOMMemo: TMemo;
Splitte... |
unit AST.Parser.Options;
interface
uses SysUtils, Variants, Generics.Collections, System.Classes;
type
TOptDataType = (odtInteger, odtBoolean, odtFloat, odtString, odtEnum, optSpecial);
// base class for option
TOption = class(TList<Variant>)
private
OptionType: TOptDataType;
BoosterPtr: Pointer; ... |
{
I've made this with help from the following links:
for initial help with oracle:
http://www.orafaq.com/wiki/Delphi
for dataset/simpledataset stuff:
http://conferences.embarcadero.com/article/32229
}
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.... |
/// In this demo, we see how a simple object can be linked to using
/// Visual LiveBindings.
/// To get best understanding at design time, select from the
/// menu "View" > "LiveBindings Designer"
unit frmFoo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
... |
unit fContador;
interface
uses
tContador,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Controls.Presentation;
type
TfraContador = class(TFrame)
lblContador: TLabel;
lblOr... |
unit uBox;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Themes,
Dmitry.Controls.WebLink;
type
TBox = class(TPanel)
private
FIsHovered: Boolean;
FIsSelected: Boolean;
procedure SetIsHovered(const Value:... |
unit uForm2;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListView.Types, FMX.ListView.Appearances,
FMX.ListView.Adapters.Base, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.ListView,... |
program HowToMoveAShape;
uses
SwinGame, sgTypes;
procedure Main();
var
r: Rectangle;
begin
r := RectangleFrom(140, 110, 40, 20);
OpenGraphicsWindow('How To Move A Shape', 320, 240);
LoadDefaultColors();
repeat // The game loop...
// Update the game
ProcessEvents();
if Ke... |
unit Model.Projeto;
interface
uses
Model.Interfaces, System.SysUtils, System.Math;
type
TModelProjeto = class(TInterfacedObject, IProjetoModel)
private
FClientDataSet: TClientDataSet;
procedure PopularDataSet;
procedure CriarDataSet;
public
function ObterTotal(PDataSet: TDataSet): Currency;... |
//
// Generated by JavaToPas v1.5 20180804 - 083237
////////////////////////////////////////////////////////////////////////////////
unit java.nio.channels.AsynchronousFileChannel;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.util.concurrent.ExecutorService,
java.nio.file.attribute.File... |
unit UCacheMem;
{
This file is part of AbstractMem framework
Copyright (C) 2020 Albert Molina - bpascalblockchain@gmail.com
https://github.com/PascalCoinDev/
*** BEGIN LICENSE BLOCK *****
The contents of this files are subject to the Mozilla Public License Version
2.0 (the "License"); you may not use t... |
unit Usage;
{ modal dialog used for displaying number of surveys a question was used on }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, DBGrids, Buttons, StdCtrls, DBCtrls, ExtCtrls, Mask;
type
TfrmUsage = class(TForm)
dgrUsage: TDBGrid;
Label3: TLabel... |
//
// Generated by JavaToPas v1.5 20150830 - 104112
////////////////////////////////////////////////////////////////////////////////
unit android.telephony.IccOpenLogicalChannelResponse;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.os;
type
JIccOpenLogicalChannelResponse = in... |
unit txFilter;
interface
uses SysUtils, txDefs;
type
TtxFilterIDType=(dtNumber,dtNumberList,dtSystem,dtSubQuery,dtEnvironment);
TtxFilterOperator=(
foAnd,foOr,foAndNot,foOrNot,
//add new here above
fo_Unknown);
TtxFilterAction=(
faChild,faObj,faObjType,faTokType,faRefType,faRef,faBackRef,
... |
(*
Category: SWAG Title: MATH ROUTINES
Original name: 0125.PAS
Description: Dealing with Matrix Inversion
Author: ALEKSANDAR DLABAC
Date: 05-30-97 18:17
*)
Program MatrixInversionExample;
{
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMM|MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM... |
// This must be in UTF-8 becasue it contains Japanese
unit NumberTests;
interface
uses
System.Classes,
TestFramework;
type
TNumberTests = class(TTestCase)
private
FPrecision: Integer;
procedure SetLanguage(const value: String);
procedure Process(value: Double; const long, short, currency: Stri... |
{
Autor: Fábio Moura de Oliveira
Data: 29/11/2015
A classe gera todas as permutações possíveis para um jogo, por exemplo, se o jogo
tiver as bolas: 1, 2, 3, 4, 5, 6, 7.
A classe irá gera os jogos:
}
{include }
unit {$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
cmem,
{$ENDIF}{$ENDIF}
uPermutador_... |
unit MainU;
interface
uses
{SafeMessageThreadU,}
System.Classes,
Winapi.Windows,
OutraThreadU;
type
TMain = class({TSafeMessage}TThread)
private
m_OutraThread : TOutraThread;
procedure MessageLoop;
procedure MessageHandler(MsgRec : TMsg);
public
constructor Create;
destructor Destr... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLHeightData<p>
Classes for height data access.<p>
The components and classes in the unit are the core data providers for
height-based objects (terrain rendering mainly), they are independant
from the rendering stage.<p>
In short... |
unit Constants;
// Constants unit
// ==============
//
// Created by Koen van de Sande
//
// Revision 1.0 (12-06-2001)
//
// Applicationwide constants are stored here. These are a sort of
// 'configuration' options for the Recently Used File List, the Undo system
// and others.
interface
const
Hist... |
unit UGetHLShablon;
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 GetTemplateString;
implementation
fun... |
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
Unit
UseableItem
*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
[2007/10/25] Helios - RaX
================================================================================
License: (FreeBSD, ... |
unit uFormSteganography;
interface
uses
Windows,
Messages,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.Themes,
Vcl.Imaging.pngimage,
Dmitry.Controls.Base,
Dmitry.Controls.LoadingSign,
uDBForm,... |
unit uClassEnfermidades;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TEnfermidades = class
private
Faids: string;
Fanemia: string;
Fasma: string;
Fdiabete: string;
FdisritmiaEpilepsia: string;
FdoencaCoracao: string;
FdoencaRenal: string;
FfebreReumatic... |
unit Stud_Terms_Edu_Ctrl_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, cxMaskEdit, cxDropDownEdit,
cxCalendar, cxTextEdit, cxButtonEdit, cxContainer, cxEdit, cxLabel,
cxControls, cxGroupBox, StdCtrls, cxButtons, gr... |
unit ThDbListSource;
interface
uses
Classes, DB, DBCtrls,
ThListSource, ThDbData;
type
TThDbListSource = class(TThListSource)
private
FData: TThDbData;
FItems: TStringList;
FItemsLoaded: Boolean;
protected
function GetDataSet: TDataSet;
function GetDataSource: TDataSource;
function ... |
{*******************************************************************************
* uIntControl *
* *
* Библиотека компонентов для работы с формой редактирования (qFControls) ... |
unit nsScheduledThread;
interface
uses
Classes, Windows, SysUtils, Forms, Dialogs, nsGlobals, nsTypes;
type
TScheduledThread = class(TThread)
private
{ Private declarations }
FWndOwner: HWND;
FProject: TNSProject;
protected
procedure Execute; override;
public
constructor... |
(*
LinCRT Kylix unit v 1.0
Author: Andrei Borovsky, aborovsky@mtu-net.ru
Copyright (c) 2002 Andrei Borovsky
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, in... |
//
//--------------------------------------------------------------------------------------------------
//
{Dallas CRC utilities}
function CRC16(CRC_Prev: word; X: Byte) : word;
{
This function calculates the new CRC16 value
given the previous value and the incoming X byte
}
Var
I : Byte;
CRC : word;
F : Boolea... |
namespace proholz.xsdparser;
interface
type
XsdGroupVisitor = public class(XsdAnnotatedElementsVisitor)
private
// *
// * The {@link XsdGroup} instance which owns this {@link XsdGroupVisitor} instance. This way this visitor instance
// * can perform changes in the {@link XsdGroup} object.
//
//
v... |
unit binlib;
INTERFACE
FUNCTION _DectoBin( d : word; dig : byte ) : string;
FUNCTION _SetParity( d : word; dig : byte ) : string;
FUNCTION _SetHaffman( d : word; dig : byte ) : string;
FUNCTION _SetHemming( d : word; dig : byte ) : string;
procedure _SetNoise( var d : string; failcount : byte );
FUNCTION _SetHaffm... |
unit uMainForm;
//
// PHOLIAGE Model, (c) Roelof Oomen, 2006-2007
//
// Main user interface handling
//
interface
uses
// Own units
Ellipsoid_Integration,
// Delphi Units
LCLIntf, LCLType, Controls, Forms, StdCtrls, ExtCtrls,
ValEdit, Dialogs, ComCtrls, Classes;
const
PROCT... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmCCTabsReg
Purpose : Component editor for the CCTab controls
Date : 10-26-2000
Author : Ryan J. Mills
Version : 1.92
===================================================... |
/// <summary>
/// Projections definition
/// </summary>
unit LibProjProjections;
interface
uses
Classes, SysUtils, Math,
WKTProjections;
type
ENotSupportedProjection = class(ENotSupportedException)end;
function LibProjDefnFromEpsgCode(const Code: Integer): string;
function LibProjDefnToWKTProjection(const Source... |
{-----------------------------------------------------------------------------
Unit Name: cPythonSourceScanner
Author: Kiriakos Vlahos
Date: 14-Jun-2005
Purpose: Class for Scanning and analysing Python code
Does not check correctness
Code draws from Bicycle Repair Man and Boa Const... |
unit uLoadSaveStyleItems;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CVStyle, StdCtrls;
type
TFontInfoLoadSave = class(TComponent)
//Используется только для загрузки/сохранения коллекции
protected
procedure DefineProperties(Filer: TFiler);override... |
unit uRAWImage;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes,
Vcl.Graphics,
CCR.Exif,
Dmitry.Graphics.Types,
FreeBitmap,
FreeImage,
uMemory,
uConstants,
uTime,
uFreeImageIO,
uBitmapUtils;
type
TRAWImage = class(TBitmap)
private
FDispla... |
unit IntegerList;
interface
uses Classes;
type
TIntegerList = class
protected
FList: TList;
function Get(Index: Integer): Integer;
procedure Put(Index: Integer; const Value: Integer);
private
FBiggest: Integer;
FBiggestIndex: Integer;
FLowest: Integer;
FLowestIndex: Integer;
FE... |
unit NFSEditBtnProp;
interface
uses
Classes, SysUtils, Contnrs, Controls, StdCtrls, ExtCtrls, Graphics, nfsButton,
Vcl.ImgList;
type
TnfsEditBtnProp = class(TPersistent)
private
fOnChanged: TNotifyEvent;
fButton: TnfsButton;
//fFont: TFont;
fEnabled: Boolean;
fImages: TCustomImageList;
... |
unit System_Prt;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils;
type
{ TSystemPrt }
TSystemPrt = class
private // Attribute
type
TBitReg8 = bitpacked record
case byte of
0: (Value: byte); // 8Bit Register Value
2: (bit: bitpacked ar... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Platform, FMX.PhoneDialer,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit;
type
TForm1 = class(TForm)
lblCarrierName:... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, IniFiles, ShellApi, XPMan,
// XLSReadWriteII5 units
XLSSheetData5, XLSReadWriteII5, XLSCmdFormat5, Xc12Utils5, Xc12Manager5;
// ***************************************************... |
unit Tools;
interface
uses
Classes,SysUtils,Windows,WinSvc,WinSock,ExtCtrls,StdCtrls,Controls,Uni,OracleUniProvider,MySQLUniProvider,AccessUniProvider,SQLiteUniProvider;
type
{-----------------------------------------------------------------------
PassType密码结构:
PassCode:返回的ACCESS密码
FileType:... |
unit ibSHWizardExceptionFrm;
interface
uses
SHDesignIntf, ibSHDesignIntf, ibSHDDLWizardCustomFrm,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, SynEdit, pSHSynEdit, StdCtrls;
type
TibSHWizardExceptionForm = class(TibSHDDLWizardCustomForm)
... |
unit Messages_Demo_MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Themes;
type
TMessages_Demo_MainForm = class(TForm)
Button1: TButton;
Label... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLGameMenu<p>
Manages a basic game menu UI<p>
<b>History : </b><font size=-1><ul>
<li>05/03/10 - DanB - More state added to TGLStateCache
<li>04/09/07 - DaStr - Fixed memory leak in TGLGameMenu
(Bugt... |
namespace proholz.xsdparser;
interface
type
XsdAnnotatedElementsVisitor = public class(XsdAbstractElementVisitor)
private
// *
// * The {@link XsdAnnotatedElements} instance which owns this {@link XsdAnnotatedElementsVisitor} instance. This way
// * this visitor instance can perform changes in the {... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit uDigitHelper;
{$I ..\Include\IntXLib.inc}
interface
uses
uConstants,
uIntX,
uIntXLibTypes;
type
/// <summary>
/// Contains big integer <see cref="TIntXLibUInt32Array" /> digits utilitary methods.
/// </summary>
TDigitHelper = class sealed(TObject)
public
/// <summary>
/// Returns rea... |
// ----------- Parse::Easy::Runtime -----------
// https://github.com/MahdiSafsafi/Parse-Easy
// --------------------------------------------
unit Parse.Easy.StackPtr;
interface
const
MAX_STACK_ITEM_COUNT = 4000;
type
TStackPtr = class(TObject)
private
FIndex: Integer;
FArray: array [0 .. MAX_STACK_IT... |
{Jeu de l'oie :
le jeu se joue seul, le joueur est caractériser par un nombre "place" qui situe sa position sur le jeu de l'oie, sachant qu'aprés jet des 2 dés, on applique les règle suivantes:
-on avance du nombre de cases indiquer par la somme des dés
-si on arrive juste sur la cases 66 on gange, sinon on recule
-... |
unit SDUProgressDlg;
// Description: Progress bar dialog
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// This unit defines two different progress dialogs:
//
// TSDUProgress... |
//----------------------------------------------------------------------
//ParameterList UNIT
//----------------------------------------------------------------------
// What it does -
// A "super" class that handles multi parameters used to
// send in arealoop.... |
unit Inspector;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
JvComponent, JvInspector, JvExControls, JvTabBar,
LMDDsgComboBox;
type
TInspectorForm = class(TForm)
JvInspector1: TJvInspector;
JvInspectorDotNETPainter1: TJvInspectorDo... |
unit UFileInfo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, ComCtrls, Menus,Clipbrd, PCGrids, ImgList,
Tabnotbk, MPlayer;
const
IMAGE_RESOURCE_NAME_IS_STRING = $80000000;
IMAGE_RESOURCE_DATA_IS_DIRECTORY = $80000000;
... |
object NavSiteForm: TNavSiteForm
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Edit Sites Display'
ClientHeight = 304
ClientWidth = 575
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
... |
unit DP.SensorsData;
//------------------------------------------------------------------------------
// !!! *** !!! ВНИМАНИЕ !!! реализовано только чтение !!! *** !!!
//------------------------------------------------------------------------------
//-------------------------------------------------------------------... |
PROGRAM HeatIllness (Input,Output);
(**********************************************************************
Author: Scott Janousek
Username: [ScottJ]
Instructor: Jeff Clouse
Program Description:
INPUT:
OUTPUT:
LIMITATIONS: [1]
[2]
[3]
***********... |
unit GLDColorForm;
interface
uses
Classes, Controls, Forms, StdCtrls, Buttons, ExtCtrls, ComCtrls, GL, GLDTypes, GLDClasses;
type
TGLDColorForm = class(TForm)
L_Red: TLabel;
L_Green: TLabel;
L_Blue: TLabel;
L_Alpha: TLabel;
TB_Red: TTrackBar;
TB_Green: TTrackBar;
TB_Blu... |
unit FPDxfWriteBridge;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, GeometryUtilsBridge{, Dialogs};
type
TDXFColor = (
DXFByBlock = 0,
DXFRed = 1,
DXFYellow = 2,
DXFGreen = 3,
DXFCyan = 4,
DXFBlue = 5,
DXFMagenta = 6,
DXFWhite = 7,
DXFGray = 8,
DXFBrown = 15,
DXFltRed = 23,
DXF... |
unit Pospolite.View.JS.Basics;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
Goal: ES2019 Parser & Interpreter
}
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
int... |
unit UnitExplorerThumbnailCreatorThread;
interface
uses
Windows,
Graphics,
Classes,
ExplorerUnit,
uManagerExplorer,
JPEG,
SysUtils,
Math,
ComObj,
ActiveX,
ShlObj,
CommCtrl,
Dmitry.Utils.Files,
Dmitry.Utils.ShellIcons,
Dmitry.PathProviders,
CCR.Exif,
Effec... |
unit PowTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uEnums,
uIntX;
type
{ TTestPow }
TTestPow = class(TTestCase)
published
procedure Simple();
procedure Zero();
procedure PowZero();
procedure PowOne();
procedure Big();
protected
procedure SetUp; ov... |
unit UProduto;
interface
uses
UEntidade
, UUnidadeMedida
, UGrupoProduto
, UMarca
;
type
TPRODUTO = class(TENTIDADE)
public
DESCRICAO : string;
QUANTIDADE_MINIMA : Integer;
QUANTIDADE_MAXIMA : Integer;
TAMANHO : Integer;
UNIDADEMEDIDA : TUNIDA... |
unit TriangleList;
interface
uses BasicRenderingTypes, BasicConstants;
type
CTriangleList = class
private
Start,Last,Active : PTriangleItem;
FCount: integer;
procedure Reset;
function GetV1: integer;
function GetV2: integer;
function GetV3:... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clDnsMessage;
interface
{$I clVer.inc}
uses
Classes, SysUtils, Windows, clUtils, clSocket;
type
TclDnsOpCode = (ocQuery, ocIQuery, ocStatus);
TclDnsRecordClass = (rcInternet, rcChaos, rcHesio... |
unit Odontologia.Modelo.Departamento.Interfaces;
interface
uses
Data.DB,
SimpleInterface,
Odontologia.Modelo.Entidades.Departamento,
Odontologia.Modelo.Pais.Interfaces;
type
iModelDepartamento = interface
['{89B9EBC9-DD50-466E-B032-6C59B574BD5E}']
function Entidad : TDDEPARTAMENTO; overload;
f... |
namespace ExampleForAwesomeApp;
uses
Awesome,
RemObjects.Elements.RTL,
UIKit;
type
[IBObject]
RootViewController = public class(UIViewController,IAwesomeMenuDelegate)
private
method awesomeMenu(menu: AwesomeMenu) didSelectIndex(idx: NSInteger);
begin
end;
public
metho... |
unit HashAlgSHA1_U;
// Description: SHA-1 Hash (Wrapper for the SHA-1 Hashing Engine)
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Classes,
HashAlg_U,
HashVal... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: PictureRegisteredFormats<p>
Hacks into the VCL to access the list of TPicture registered TGraphic formats<p>
<b>History : </b><font size=-1><ul>
<li>25/01/10 - DaStr - Updated warning about a possible crash while using the
... |
unit uVSAnalysisResultList;
{违标分类单元}
interface
uses classes, SysUtils, Contnrs;
type
//运行记录分析出的事件信息
TLKJEventDetail = class
//事件发生的事件
dtCurrentTime : TDateTime;
//事件范围的开始时间
dtBeginTime : TDateTime;
//事件范围的结束时间
dtEndTime : TDateTime;
end;
TLKJEventDetailList = class(TObjectList)
prote... |
{$I CetusOptions.inc}
unit ctsBaseInterfaces;
interface
uses
ctsTypesDef;
type
IctsBaseInterface = IInterface;
IctsIdentify = interface(IctsBaseInterface)
['{7FAF1691-1D3E-4369-8007-FB349BC6FB1D}']
function GetName: TctsNameString;
end;
IctsNamed = interface(IctsIdentify)
['{9B008CDA-638F-41... |
unit CurrentCtrl_ByAvgSm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, FIBDatabase, pFIBDatabase, DB, IBase,
FIBDataSet, pFIBDataSet, ActnList, StdCtrls, cxButtons, cxTextEdit, zMessages,
cxMaskEdit, cxControls, cxContainer, cxEdit, ... |
unit GLDPlane;
interface
uses
Classes, GL, GLDTypes, GLDConst, GLDClasses, GLDObjects;
type
TGLDPlane = class(TGLDEditableObject)
private
FLength: GLfloat;
FWidth: GLfloat;
FLengthSegs: GLushort;
FWidthSegs: GLushort;
FNormals: PGLDVector3fArray;
FPoints: PGLDVector3fArra... |
unit API_Types;
interface
uses
System.Classes,
System.SysUtils;
type
TMIMEType = (mtUnknown, mtBMP, mtJPEG, mtPNG, mtGIF);
TObjProc = procedure of object;
TMethodEngine = class
public
class procedure AddProcToArr(var aProcArr: TArray<TMethod>; aCode, aData: Pointer);
class procedure ExecProcArr... |
{-------------------------------------------------------------------------------
Unit Name: cGLCoordinateAxes
Author: HochwimmerA
Purpose: Helper class for laying out coordinate axis and flat text labels
$Id: cGLCoordinateAxes.pas,v 1.9 2004/07/08 09:54:53 hochwimmera Exp $
-------------------------------... |
{* ***** 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 "License"); you may ... |
unit MyCat.BackEnd.Mysql;
interface
uses
System.Classes, System.SysUtils, Data.FmtBcd, MyCat.BackEnd;
type
TMySQLMessage = record
public const
EMPTY_BYTES: TBytes = [];
NULL_LENGTH: Int64 = -1;
private
FData: TBytes;
FPosition: Integer;
public
constructor Create(const Data: TBytes);
... |
unit uDMValidateVCTextFile;
interface
uses
Dialogs, SysUtils, Classes, Variants, ADODB, DB, uDMCalcPrice,
uDMImportTextFile, uDMValidateTextFile, DBClient;
type
TDMValidateVCTextFile = class(TDMValidateTextFile)
qryPoItemList: TADOQuery;
quModelExist: TADODataSet;
qryMaxBarcode: TADOQuery;
private... |
unit Objekt.SepaModulGutschrift;
interface
uses
SysUtils, Classes, IBX.IBDatabase, IBX.IBQuery, Objekt.SepaBSHeaderList,
o_Sepa_G_CstmrCdtTrfInitn, Objekt.SepaBSHeader, o_Sepa_G_CdtTrfTxInf,
Objekt.SepaFormat, o_Sepa_G_PmtInf, Objekt.SepaBSPos, o_nf,
XML.XMLIntf, XML.XMLDoc, o_Sepa_Obj_BS, o_Sepa_Log, Objekt.... |
program HowToMoveSpriteWithKeyboardInput;
uses
SwinGame, sgTypes;
procedure Main();
var
ball: Sprite;
begin
OpenGraphicsWindow('Move a Sprite with Keyboard Input', 800, 600);
LoadBitmapNamed('ball', 'ball_small.png');
ball := CreateSprite(BitmapNamed('ball'));
SpriteSetX(ball, 385);
Sprit... |
unit OpenCV.HighGUI;
interface
uses
Winapi.Windows,
OpenCV.Lib,
OpenCV.Core;
// --------- YV ---------
// These 3 flags are used by cvSet/GetWindowProperty;
const
CV_WND_PROP_FULLSCREEN = 0; // to change/get window's fullscreen property
CV_WND_PROP_AUTOSIZE = 1; // to change/get window's autosiz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.