text stringlengths 14 6.51M |
|---|
unit UMessages;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, Grids;
type
TfmMess = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
btSend: TBitBtn;
BitBtn2: TBitBtn;
pn: TPanel;
sgMess: TStringGrid;
... |
unit XDebugFile;
interface
uses Classes, XDebugItem;
type
TXFileProgressEvent = procedure(Sender: TObject; const Position: Cardinal; const Total: Cardinal) of object;
XFile = class
private
FProgressEvent: TXFileProgressEvent;
FRoot: PXItem;
FTerminated: boolean;
Stream: TFileStream;
... |
unit uDlgStreetEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, StdCtrls,
cxButtons, ExtCtrls, cxGraphics, cxDBEdit, cxControls, cxContainer,
cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxLookup... |
(*
FreePascalGraphicsModes.pas
Not originally part of SWAG, adapted from
https://www.freepascal.org/docs-html/rtl/graph/modes.html
Added by Nacho, 2017
*)
(*
In FreePascal, The following drivers are defined:
D1bit = 11;
D2bit = 12;
D4bit = 13;
D6bit = 14; { 64 colors Half-brite mode - Amiga }
D8bit = 15;
... |
unit AnidbConnection;
//Single-threaded usage only!
interface
uses SysUtils, DateUtils, WinSock, Windows, AnidbConsts, StrUtils, UniStrUtils;
//Use UTF8 instead of ANSI+HTML_encoding
{$DEFINE ENC_UTF8}
type
{$IFDEF ENC_UTF8}
RawString = UnicodeString; //convert to UTF8 at the latest moment
RawChar = ... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Editor for Gui skin.
}
unit FGuiSkinEditor;
interface
uses
System.Messaging,
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Math.Vectors,
FMX.Types,
F... |
unit ZipInterface;
{
********************************************************************************
******* XLSReadWriteII V3.00 *******
******* *******
******* Copyright(C) 1999,2006 Lars Arvidsson, Axolot D... |
{..............................................................................}
{ Summary Create and place Schematic objects on a Schematic document. }
{ }
{ Copyright (c) 2004 by Altium Limited ... |
unit EqualsOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestEqualsOp }
TTestEqualsOp = class(TTestCase)
published
procedure Equals2IntX();
procedure EqualsZeroIntX();
procedure EqualsIntIntX();
procedure EqualsNullIntX();
procedure Equals2In... |
unit MainFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, NtBase;
type
TMainForm = class(TForm)
MainLabel: TLabel;
MainCombo: TComboBox;
MainGroup: TGroupBox;
PlanLabel: TLabel;
PlanList: TListBox;
NowCheck: TChe... |
unit TnAccess_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,
PackageLoad... |
unit adot.Tools.Rtti;
{ Definition of classes/record types:
TEnumeration<T: record> = record
Conversion between enumeration type, ordinal value and string value.
TRttiUtils = class
IsInstance<T>, ValueAsString<T>, CreateInstance<T: class> etc.
}
interface
uses
System.Rtti,
System.TypInfo,
System... |
// PALETTE.PAS
// By Banshee & Stucuk
// Modifyed for VXLSE III
unit Palette;
interface
uses
Windows, Variants, Graphics,SysUtils, math, Dialogs;
const
TRANSPARENT = 0;
type
TPalette = array[0..255] of TColor;
var
VXLPalette: TPalette;
procedure LoadPaletteFromFile(Filename : stri... |
unit Number_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ColorButton, Spin, ExtCtrls, jpeg;
type
TForm5 = class(TForm)
imgBackground: TImage;
shpHeader: TShape;
lblMidstream: TLabel;
lblCollege: TLabel;
lblQuiz... |
namespace NullableTypes;
interface
type
ConsoleApp = class
public
class method Main;
end;
implementation
class method ConsoleApp.Main;
method UsingColonOperator;
var
MyString: String := 'Oxygene';
begin
// usual call, lLength = 7;
var lLength: Int32 := MyString.Length;
... |
unit UCidade;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.ComCtrls,
Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids,
UCidadeVo, UCidadeController, UControlle... |
unit View.Main;
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.Edit, FMX.Objects, FMX.ScrollBox, FMX.Memo,
FMX.Layouts, FMX.ListBox,
Common.Barcode, FMX... |
unit uFrmLimitRole;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmMDI, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, dxBar, dxBarExtItems, cxClasses, ImgList,
ActnList, DB, DBClient, cxGridLevel, cxControls, cxGridCustomVi... |
{ ****************************************************************************** }
{ * parsing library,writen by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
unit udmSQL;
interface
uses
SysUtils, Classes, DB, DBTables, ADODB, pcnConversao, pcnNFE, Provider,
DBClient, PowerADOQuery, LookUpADOQuery;
const
TIPO_NOTA_VENDA = 0;
TIPO_NOTA_TRANSFERENCIA = 1;
NFE_VERSAO = '1.0.0.22';
type
TdaNotaFiscal = class(TObject)
private
public
function Sele... |
{============== ==================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmTreeNonView
Purpose : To have a non-visual tree component.
Date : 12-01-1999
Author : Ryan J. Mills
Version : 1.92
Notes : This unit was originally based upon the ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit htInterfaces;
interface
uses
Classes, Types, Controls,
htMarkup, htStyle;
type
IhtGenerator = interface
['{68C6D14D-FBD4-4CD5-AAEC-ED939492EBDC}']
procedure Generate(inMarkup: ThtMarkup);
end;
//
IhtComponent = interface
['{9549CF05-8732-4893-9DB1-8592AC7502D7}']
function GetPriori... |
unit EffectsToolUnit;
interface
uses
System.Math,
System.Types,
System.SysUtils,
System.Classes,
Winapi.Windows,
Vcl.Dialogs,
Vcl.Forms,
Vcl.Controls,
Vcl.Graphics,
Vcl.ExtCtrls,
Vcl.ComCtrls,
Vcl.Themes,
MPCommonUtilities,
Dmitry.Controls.WebLink,
ToolsUnit,
... |
unit uAddPlace;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFControl, uLabeledFControl, uCharControl, uBoolControl,
uSpravControl, uFormControl, StdCtrls, Buttons, uAdr_DataModule,
uAddModifForm;
type
TAdd_Place_Form = class(TAddModifForm)
qFCC_Na... |
{ CapeRaven mesh demo.
Changing mesh vertex data, normals and striping redundent data.
Custom cube class declared for vertex point identification.
On moving these vertex modifiers, the apointed vertex follows.
}
unit FMeshShow;
interface
uses
Winapi.Windows, Winapi.Messages,
System.Contnrs,... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
Type
NodeKind = (String_, Number, Boolean_, Array_, Object_, Null);
Node = Class
Public
Kind : NodeKind;
End;
NodeList = Array[0..15] Of Node;
ObjectEntry = Class
Public
Key : String;
Value : Node;
Constructor Init(k : String; v : Node);
End;
ObjectEntryList = Array[... |
unit Main;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdC... |
unit UPostfix;
interface
function toPostfix(str: String):String;
function calcRank(str: String):Integer;
implementation
type
TList = ^TElem;
TElem = record
sym: Char;
next: TList;
end;
var
stack: TList;
procedure createList(var stack: TList);
begin
new(stack);
end;
procedure push(stack: TList;... |
unit UDLogOnServer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, UCrpe32;
type
TCrpeLogOnServerDlg = class(TForm)
pnlLogOnServer1: TPanel;
lblNumber: TLabel;
lbNumbers: TListBox;
btnOk: TButton;
btnLogOn: TButton;
... |
(*
SMPEG library (MPEG-1) components
This file is a part of Audio Components Suite.
Copyright (C) 2002-2005 Andrei Borovsky. All rights reserved.
See the license file for more details.
This is the ACS for Linux and Windows version of the unit.
*)
{
Status: tested
}
unit acs_mp3;
interface
uses
Cl... |
unit ufrmWastageReal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterBrowse, StdCtrls, ExtCtrls, Vcl.ActnList,
cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.ComCtrls, dxCore, cxDateUtils,
Vcl.Menus, cxBut... |
(* WPC 59: Determine endianness without using C *)
program endianness;
type VariantRecord = record
case selector: Byte of
0: (WordValue: Word);
1: (ByteValue: Array[1..2] of Byte);
end;
procedure UsingVariantRecords;
var VRec: VariantRecord;
begin
VRec.WordValue := 1;
if (VRec.ByteValue[2] = 0) and (VRe... |
{ Visual PlanIt datastore using an ini file }
{$I vp.inc}
unit VpIniDs;
interface
uses
SysUtils, Classes,
VpData, VpBaseDS;
type
TVpIniDatastore = class(TVpCustomDatastore)
private
FFilename: String;
FFormatSettings: TFormatSettings;
procedure SetFilename(const AValue: String);
protected
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit ShortestU;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
GLScene,
GLTerrainRenderer,
GLObjects, GLTexture,
GLWin32Viewer,
GLMaterial,
GLCoordi... |
unit uAddRegion;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, {uCharControl, uFControl, uLabeledFControl, uSpravControl,}
StdCtrls, Buttons,{ uFormControl,} uAdr_DataModule,{ uAddModifForm,}
cxLookAndFeelPainters, FIBQuery, pFIBQuery, pFIBStoredProc, DB,
... |
unit htTurboBox;
interface
uses
Windows, SysUtils, Types, Classes, Controls, Graphics,
htInterfaces, htTag, htMarkup, htControls, htPanel, htAjaxPanel;
type
ThtTurboGraphicControl = class(ThtGraphicControl, IhtAjaxControl)
protected
procedure MarkupStyles(const inStyleBase: string; inMarkup: ThtMark... |
unit Server.WiRL;
interface
uses
Neon.Core.Types
, WiRL.Core.Engine
, WiRL.http.Server
, WiRL.http.Server.Indy
, Spring.Logging
, Server.Configuration
;
type
TServerREST = class
private
FServer: TWiRLServer;
FLogger: ILogger;
function GetActive: Boolean;
procedure SetActive(const Value: Boole... |
unit toolsparams;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, Graphics, ExtCtrls, Dialogs, Spin,
StdCtrls, Figures;
type
TParam = class
procedure CreateObjects(Panel: TPanel); virtual; abstract;
end;
TPenColorParam = class(TParam)
procedure ChangePenColor(Sender: TObject);
procedure Crea... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, NtBase;
type
TForm1 = class(TForm)
LanguageGroup: TGroupBox;
NameGroup: TGroupBox;
NativeRadio: TRa... |
{
Copyright (c) 2016, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit ooConfigSectionMock;
interface
uses
ooTextKey,
ooDataInput.Intf, ooDataOutput.Intf,
ooConfig.Intf;
type
TConfigSectionMock = class sealed(TInterfacedO... |
unit UDOLAPCubes;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32;
type
TCrpeOLAPCubesDlg = class(TForm)
pnlOLAPCubes: TPanel;
lblNumber: TLabel;
lbNumbers: TListBox;
editCount: TEdit;
lblCount: TLabel;
gbForm... |
(*
Category: SWAG Title: FILE HANDLING ROUTINES
Original name: 0029.PAS
Description: Check if IS File
Author: MARTIN RICHARDSON
Date: 09-26-93 09:11
*)
uses Dos;
{*****************************************************************************
* Function ...... IsFile()
* Purpose ....... Checks for the exis... |
object frmAddToForm: TfrmAddToForm
Left = 267
Top = 162
HelpContext = 2000
BorderStyle = bsDialog
BorderWidth = 8
Caption = 'Add file/folder to AceBackup project'
ClientHeight = 509
ClientWidth = 510
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Heig... |
(*
Category: SWAG Title: SORTING ROUTINES
Original name: 0007.PAS
Description: COUNT1.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:57
*)
{
...Well, as Greg Vigneault reminded me, there is a much faster
method of sorting this sort of data called a "Count" sort. I
often overlook this method, as it do... |
unit uFormSelectDuplicateDirectories;
interface
uses
Generics.Collections,
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.Imaging.pngimage,
Vcl.ExtCtrls,
Dmitry.Utils.Files,
Dmitry.Utils.System,
... |
unit OTFEBestCryptBytesToString_U;
// Description: Transforms bytes array to human readable form string
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// Basically, a port of Jetico's "byte2s... |
unit Odontologia.Controlador.Interfaces;
interface
uses
Odontologia.Controlador.Agenda.Interfaces,
Odontologia.Controlador.Ciudad.Interfaces,
Odontologia.Controlador.Departamento.Interfaces,
Odontologia.Controlador.Empresa.Interfaces,
Odontologia.Controlador.EmpresaTipo.Interfaces,
Odontologia.Controlador... |
unit Produto;
interface
Type
TProduto = class
private
FTipo: String;
FNome: String;
FPreco: real;
FTotal: integer;
procedure setNome(const Value: String);
procedure setPreco(const Value: real);
procedure setTipo(const Value: String);
procedure SetTotal(const V... |
unit UnitFormMain;
{===============================================================================
CodeRage 9 - Demo for Parallel Future
This code shows how to use the parallel function Future.
If you click on the Get button immediately after the Start Button the GUI
will freeze for 3 seconds; the time ... |
unit OTFECrossCrypt_PasswordConfirm;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ... |
{ *********************************************************************** }
{ }
{ GUI Hangman }
{ Version 1.0 - First release of program }
{ Last Revi... |
unit uFchCustomerType;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaiDeFichas, FormConfig, DB, ADODB, PowerADOQuery, siComp,
siLangRT, StdCtrls, Buttons, LblEffct, ExtCtrls, Mask, DBCtrls, cxStyles,
cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, cxD... |
unit UUnRar;
(*====================================================================
RAR files decompression
======================================================================*)
interface
const
ERAR_END_ARCHIVE = 10;
ERAR_NO_MEMORY = 11;
ERAR_BAD_DATA = 12;
ERAR_BAD_ARCHIVE ... |
unit MouseRNGCaptureDlg_U;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
... |
unit ufTarefa1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufBase, Vcl.StdCtrls, Vcl.Buttons,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.In... |
unit UTrieNode;
interface
uses Classes, ComCtrls;
type
TIndex = 'a'..'z';
TNode = class
private
ptrs : array[TIndex] of TNode;
eow : boolean;
public
constructor Create;
procedure push(s: string);
procedure GetWord(s: string; var res: integer);
procedure print(treeView: TTreeVi... |
{******************************************************************************}
{* MvxIntf.pas *}
{* This module is part of Internal Project but is released under *}
{* the MIT License: http://www.opensource.org/licenses/mit-license.php ... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Redis... |
unit FRegister;
(*##*)
(*******************************************************************
* *
* F R E G I S T E R *
* register form of CVRT2WBMP, part of CVRT2WBMP *
* ... |
{
@abstract Implements routine that makes the default locale to match the locale of the user instead the language of the operating system.
The default locale of a Delphi application depends on the Delphi version. Up to
Delphi 2009 the default locale was locale set in the Regional Settings of
Control Panel. Sta... |
//This Form demonstrates basic "hierarchical" movements
unit FSkyPilot;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Buttons,
GLScene, GLObje... |
unit GDIPlusRotate;
{$ALIGN ON}
{$MINENUMSIZE 4}
interface
uses
Windows,
Classes,
SysUtils,
ActiveX,
Dmitry.Utils.Files,
uTime,
uTranslate,
uLockedFileNotifications;
type
{$EXTERNALSYM EncoderValue}
EncoderValue = (EncoderValueColorTypeCMYK, EncoderValueColorTypeYCCK, Encode... |
{
*************************************************************************
CoYOT(e) - the simple and lightweight time tracking tool *
Copyright (C) 2014 Philip Märksch and the CoYOT(e)-team *
*
This program is... |
{ ***************************************************************************
Copyright (c) 2016-2018 Kike Pérez
Unit : Quick.Logger.Provider.ADO
Description : Log ADO DB Provider
Author : Kike Pérez
Version : 1.22
Created : 21/05/2018
Modified : 26/05/2018
This file is part of... |
unit FMX.Devgear.HelperClass;
interface
uses
System.Classes,
FMX.Graphics,
System.SysUtils,
IdHttp, IdTCPClient;
type
TBitmapHelper = class helper for TBitmap
public
function CreateThumbnailWithScale(const AWidth, AHeight: Integer): TBitmap;
procedure LoadFromUrl(AUrl: string);
procedure Loa... |
unit CustomInspector;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
TypInfo, Dialogs, StdCtrls,
dcgen, dcsystem, dcdsgnstuff, dcdsgnutil, dcedit, oinspect;
type
TCustomInplaceEdit = class(TOInplaceEdit)
protected
function GetEditType: TControlClass; over... |
(* SymTab: HDO, 2004-02-06
------
Symbol table handling for the MiniPascal Interpreter and
the MiniPascal Compiler.
===================================================================*)
UNIT SymTab;
INTERFACE
PROCEDURE InitSymbolTable;
PROCEDURE DeclVar(id: STR... |
(*
Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES
Original name: 0080.PAS
Description: Numeric Converter
Author: MARCO ANTONIO ALVARADO PEREZ
Date: 11-29-96 08:17
*)
{----------------------------------------------------------------------------}
{ NUMERIC CONVERTER ... |
unit uDMApplicationHub;
interface
uses
SysUtils, Classes, DB, DBClient, MConnect, SConnect, Forms, uNTDataSetControl,
uNTUpdateControl, uNTTraceControl, cxContainer, cxEdit;
const
FK_ERROR_ID = 'COLUMN REFERENCE constraint';
type
TDMApplicationHub = class(TDataModule)
conDCOM: TDCOMConnection;
conTe... |
//=============================================================================
// sgGraphics.pas
//=============================================================================
//
// The Graphics unit is responsible for all of the drawing of anything to the
// screen or other surfaces. The standard draw routines draw ... |
unit ModpathResponseFileWriterUnit;
interface
uses SysUtils, PhastModelUnit, ModflowPackageSelectionUnit, CustomModflowWriterUnit,
DataSetUnit;
type
// MODPATH version 5
TModpathResponseFileWriter = class(TCustomModflowWriter)
private
FOptions: TModpathSelection;
FNewBudgetFile: Boolean;
FArchive... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_CABECALHO]
The MIT License ... |
unit ShortCutCollection;
interface
uses
SysUtils,Windows,Classes,Menus;
type
TKeyShortCut=class(TCollectionItem)
private
FShiftState: TShiftState;
FKey: Word;
procedure SetKey(const Value: Word);
procedure SetShiftState(const Value: TShiftState);
public
procedure Execute(va... |
unit LanguageSetLoaderUnit;
interface
uses
Classes, SysUtils,
LanguageSetUnit;
type
TLanguageSetLoaderClass = class of TLanguageSetLoader;
{ TLanguageSetLoader }
TLanguageSetLoader = class
protected
FStream: TStream;
FLanguageSet: TLanguageSet;
property Stream: TStream read FStream;
publ... |
unit AddAction;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ClassActions, MainDM, IBDatabase, Db, IBCustomDataSet,
IBStoredProc;
type
TFormAddAction = class(TForm)
EditName: TEdit;
EditFullName: TEdit;
ButtonOk: TButton;
ButtonCancel: TBu... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.Messaging, System.Permissions,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects, FMX.Controls.Presentation, System.Actions, FMX.ActnList,
FMX.Edit, FM... |
unit UtilsBase;
interface
uses
Sysutils, Classes, Controls, Contnrs, Graphics, Windows, Messages,
DateUtils, StrUtils, RTLConsts, Math, db, Variants, Dialogs;
//compare simple and array variants
function VarEqual(v1, v2: Variant): Boolean;
//can check vararray (1 dim only)
//Return True, if all variants in arra... |
unit _3dpoly;
{*******************************************************************}
{ _3dpoly : 3D Polygons drawing functions. }
{ Copyright (c) 1996 Yves Borckmans }
{*******************************************************************}
interface
uses _3d, ... |
unit D2XXUnit;
{$MODE DELPHI}
interface
Type FT_Result = Integer;
// Device Info Node structure for info list functions
type FT_Device_Info_Node = record
Flags : DWord;
DeviceType : Dword;
ID : DWord;
LocID : DWord;
SerialNumber : array [0..15] of Char;
Description : arr... |
unit GLForces;
interface
uses
System.Classes,
Vcl.Dialogs,
GLVectorGeometry,
GLXCollection,
GLScene,
GLBehaviours,
GLCoordinates
{, GLSceneRegister};
type
TGLForce = class;
TForceType = (ftHookes, ftGravitation, ftCustom);
TOnCustomForce = procedure() of object;
TGLForce... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmTrayIcon
Purpose : To allow the program to have an Icon in the Win95 Shell Icontray.
Date : 12-01-1998
Author : Ryan J. Mills
Version : 1.92
Notes : I don't remembe... |
unit frmDisposePrice;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, cxGridLevel, cxClasses, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGrid,
StdCtrls... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Forms, FMX.Dialogs, FMX.Sensors,
FMX.Controls3D, FMX.Objects3D, System.Sensors, FMX.StdCtrls, FMX.Layers3D,
FMX.MaterialSources;
type
TGyroscopeFor... |
unit SpeeduinoShell;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Shell,
inifiles,
speeduinomessagehandler;
type
//Create a class for our shell command, descended from TShellCommand
TSpeeduinoShellCommand = class(TShellCommand)
public
constructor Create;
private
public
speedymess... |
unit uFrEmprestimo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFrPadrao, Data.DB, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC... |
unit FFindFileDlg;
(*====================================================================
Dialog box for find file options
======================================================================*)
interface
uses
SysUtils,
{$ifdef mswindows}
WinTypes,WinProcs,
{$ELSE}
LCLIntf, LCLType, LMessages... |
Unit UnitServerUtils;
interface
uses
windows;
function IntToStr(i: Int64): String;
function StrToInt(S: String): Int64;
function UpperString(S: String): String;
function LowerString(S: String): String;
function ExtractFilename(const path: string): string;
function GetShellFolder(CSIDL: integer): string;
Function l... |
unit ideSHObject;
interface
uses
Messages, SysUtils, Classes, Controls, Graphics, ComCtrls, CommCtrl, ExtCtrls,
Types, VirtualTrees,
SHDesignIntf, ideSHDesignIntf;
type
TideBTObject = class(TComponent, IideBTObject)
private
FEnabled: Boolean;
FFlat: Boolean;
FPageCtrl: TPageContro... |
unit uOrders_AE;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit,
StdCtrls, cxControls, cxGroupBox, cxButtons, uConsts, uConsts_Messages,
cxCheckBox;
type
TfrmOrders_AE = class(TForm)
OkButton: Tcx... |
program SpaceInvaders;
uses
sgGraphics, sgSprites, sgPhysics, sgTypes, sgImages, sgUtils, sgInput, sgAudio, sgAnimations, sgResources, sgText;
//const DEMERIT_POINTS = 10;
const PLAYER_LIFE = 3; const PLAYER_X_POS = 300;
const PLAYER_Y_POS = 410; const PLAYER_SPEED = 2;
const SPRITE_WIDTH = 40; const BULLET_X_OFF... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Imaging.jpeg,
Vcl.FileCtrl, System.Generics.Collections, System.Generics.Defaults, ocv.highgui_c, oc... |
unit Demo.BarChart.Annotations;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_BarChart_Annotations = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_BarChart_Annotations.GenerateChart;
var
Chart: IcfsGChartProducer;
begin
... |
unit JWBIO;
{
Encodings and stream encoders/decoders.
How to use:
1. Detecting encodings:
if not Conv_DetectType(filename, AEncoding) then
AEncoding := Conv_ChooseType(AEncoding);
2. Reading file:
AReader := TFileReader.Create(filename, TUTF8Encoding.Create);
AReader := OpenTextFile(filename,... |
unit UTipe;
interface
const
NMAX = 100;
HARGAUPGRADE = 1000;
type DaftarPerintah=record
Isi : array[1..NMAX] of string;
Neff:integer;
end;
type UserInput = record
Perintah:string;
Neff:integer;
Opsi:array[1..NMAX]of string;
end;
type Tabel = record
Isi : array[1..NMAX] of... |
unit pangoft2lib;
interface
uses glib, pangolib, fontconfiglib, freetypelib;
(* Pango
* pangofc-font.h: Base fontmap type for fontconfig-based backends
*
* Copyright (C) 2003 Red Hat Software
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Libr... |
procedure calculateFibbonacci(n : Integer);
var first, second, next, i : Integer;
begin
first := 1;
second := 1;
Write(first , ', ' , second , ', ');
for i := 1 to n-2 do
begin
next := first + second;
if n-2 = i then Write(next)
else Write(next , ', ');
first := second;
second := next;
e... |
unit SQLite3;
{
Simplified interface for SQLite.
Updated for Sqlite 3 by Tim Anderson (tim@itwriting.com)
Note: NOT COMPLETE for version 3, just minimal functionality
Adapted from file created by Pablo Pissanetzky (pablo@myhtpc.net)
which was based on SQLite.pas by Ben Hochstrasser (bhoc@surfeu.ch)
}
{$IFDE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.