text stringlengths 14 6.51M |
|---|
unit Acme.Robot.GUI.Console.Controller;
interface
uses
System.Generics.Collections,
System.SysUtils,
Acme.Robot.Core.Bot;
type
TConsoleBotController = class
private
FBot: IBot;
FMacros: TDictionary<string, TProc<IBot>>;
public
constructor Create(ABot: IBot);
function Han... |
unit ADC.Elevation;
interface
uses
System.SysUtils, Winapi.Windows, Winapi.ActiveX, System.Win.ComObj, ADCommander_TLB;
type
// Vista SDK - extended BIND_OPTS2 struct
BIND_OPTS3 = record
cbStruct: DWORD;
grfFlags: DWORD;
grfMode: DWORD;
dwTickCountDeadline: DWO... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSshUserKey;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$ELSE}
System.Classes, System.SysUtils,
{$ENDIF}
clUtils;
type
TclSshUserKey = class(TPersis... |
unit vcmOperationsCollection;
{* Коллекция операций. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmOperationsCollection - }
{ Начат: 11.03.2003 12:19 }
{ $Id: vcmOperationsCollection.pas,v 1.16 2011/07/29 15:08:37 lulin Exp $ }
// $Log: vcmOperationsCollection.pas,v $
// Revision 1.16 2011/0... |
unit TasksAllFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, ToolWin, TasksUnit;
type
TFrameTasksAll = class(TFrame)
toolbarMain: TToolBar;
tbRefresh: TToolButton;
tbLoadTasks: TToolButton;
tbS... |
unit ufrmJurnal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDefault, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, Vcl.Menus, cxStyles,
cxCustomData, cxFilter, cxDa... |
unit l3IniFile;
{$I+}
{ $Id: l3IniFile.pas,v 1.30 2016/02/26 16:16:12 voba Exp $ }
// $Log: l3IniFile.pas,v $
// Revision 1.30 2016/02/26 16:16:12 voba
// - лингвомодули можно подключать в инишнике
//
// Revision 1.29 2014/10/29 15:37:58 voba
// no message
//
// Revision 1.28 2014/10/16 13:44:04 lukyanets
// З... |
unit fmuSlipRegistration;
interface
uses
// VCL
Windows, ComCtrls, StdCtrls, Controls, Classes, SysUtils, ExtCtrls, Buttons,
Dialogs, Spin,
// This
untPages, untDriver, untUtil, untTypes, Grids, ValEdit, untTestParams;
type
{ TfmSlipRegistration }
TfmSlipRegistration = class(TPage)
btnStdRegistra... |
unit gGUI;
//=============================================================================
// gGUI.pas
//=============================================================================
//
// Responsible for drawing and handling user input for the main menu
//
//============================================================... |
unit DelphiUp.View.Pages.Menu.Favoritos;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, DelphiUp.View.Styles,
DelphiUp.View.... |
unit GX_SharedImages;
{$I GX_CondDefine.inc}
interface
uses
Classes, ImgList, Controls;
type
TdmSharedImages = class(TDataModule)
Images: TImageList;
DisabledImages: TImageList;
end;
const
ImageIndexNew = 10;
ImageIndexExpand = 12;
ImageIndexContract = 13;
ImageIndexInfo = ... |
unit graphicwebconst;
interface
resourcestring
{error}
ETransparencyError = 'Transparency must be between [0 and 9]';
EGraphicCreateError = 'Error creating';
EApiPasswordError = 'invalid password';
EApiServerOff = 'Server Off';
EApiCommunicationError = 'Unable to communicate with server';
{label... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Collections,
RemObjects.Elements.EUnit;
type
HashSetTest = public class (Test)
private
Data: HashSet<String>;
public
method Setup; override;
method &Add;
method Clear;
method Contains;
method &Remove;
meth... |
unit IRoute4MeManagerUnit;
interface
uses
IConnectionUnit,
AddressBookContactActionsUnit, OptimizationActionsUnit, RouteActionsUnit,
UserActionsUnit, AddressNoteActionsUnit, AddressActionsUnit,
AvoidanceZoneActionsUnit, OrderActionsUnit, ActivityActionsUnit,
TrackingActionsUnit, GeocodingActionsUnit, Territ... |
unit BatchUpdatesU1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, ExtCtrls, DB, ADODB, StdCtrls;
type
TForm1 = class(TForm)
ADODataSet1: TADODataSet;
DataSource1: TDataSource;
Panel1: TPanel;
DBGrid1: TDBGrid;
Button1: TB... |
unit PessoaLive.Model.PessoaJuridica;
interface
uses
PessoaLive.Interfaces, PessoaLive.Model.Endereco;
type
TPessoaJuridica = class(TInterfacedObject, iPessoaJuridica)
private
FCNPJ : String;
FEndereco : iEndereco<iPessoaJuridica>;
public
constructor Create;
destruct... |
{$I Compilers.inc}
// These functions are get from:
(**************************************************************)
(* *)
(* TWebbrowser functions by toms *)
(* Version 1.9 *)... |
unit DocImage;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TDocImage = class(TComponent)
private
FZoomFactor: integer;
procedure SetZoomFactor(const Value: integer);
{ Private declarations }
protected
{ Protected declarations }
... |
{----------------------------------------------------------------------------
|
| Library: Envision
|
| Module: EnScan
|
| Description: Scanning class.
|
| History: Feb 28, 1999. Michel Brazeau, first version
|
|---------------------------------------------------------------------------}
unit EnScan;
{$I Envision.Inc}... |
unit phoenix_audio_digital;
interface
uses sound_engine;
procedure phoenix_audio_reset;
procedure phoenix_audio_update;
procedure phoenix_audio_cerrar;
procedure phoenix_audio_start;
procedure phoenix_wsound_a(valor:byte);
procedure phoenix_wsound_b(valor:byte);
implementation
uses principal,sysutils;
type
phoeni... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as defin... |
program oddEven1(input, output);
var
k : integer;
isEven : boolean;
procedure odd(n : integer; var b : boolean); forward;
procedure even(n : integer; var b : boolean);
begin
if n = 0 then
b := true
else
odd(n - 1, b)
end; { even }
procedure odd;
begin
if n = 0 then
b := false
... |
unit tfwWordWorker;
{* Поддержка исполняемых скомпилированных слов. }
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwWordWorker.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TtfwWordWorker" MUID: (4DCBD489023A)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If ... |
unit Rule_LLV;
interface
uses
BaseRule,
BaseRuleData;
type
TRule_LLV = class(TBaseRule)
protected
fParamN: Word;
fInt64Ret: PArray;
fFloatRet: PArray;
function GetLLVValueF(AIndex: integer): double;
function GetLLVValueI(AIndex: integer): int64;
function GetParamN: Word;
procedure... |
unit SheetHandlers;
interface
uses
Classes, Controls, VoyagerInterfaces, VoyagerServerInterfaces,
ObjectInspectorInterfaces, SyncObjs;
const
htmlAction_RefreshSheet = 'REFRESHSHEET';
type
TSheetHandler =
class(TInterfacedObject, IPropertySheetHandler)
protected
fContain... |
unit DAO.TiposVerbasExpressas;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.TiposVerbasExpressas;
type
TTiposVerbasExpressasDAO = class
private
FConexao : TConexao;
public
constructor Create();
function Insert(aTipos: TTiposVerbasExpressas): Boolean;
... |
unit gameconfigform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
// LCL
ExtCtrls,
// TappyTux
tappymodules, gameplayform;
type
{ TformConfig }
TformConfig = class(TForm)
buttonLoad: TButton;
btnWordlist: TButton;
comboLang... |
unit AceMerge;
//
// Copyright 2009 SCT Associates, Inc.
// Written by Steven Tyrakowski and Kevin Maher
//
// Revised October 2, 2009 to support Unicode
interface
uses classes, Acefile, Aceutil, AceStr, SysUtils, AceTypes, AceSetup;
type
//------------------------------------------------------------... |
// This file is unused, for now
unit GX_IdePackageRenameDlg;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls;
type
TfmIdxPackageRenameDlg = class(TForm)
l_PackageFn: TLabel;
l_Description: TLabel;
ed_De... |
unit GX_IdeSearchPathEnhancer;
{$I GX_CondDefine.inc}
interface
uses
SysUtils,
Classes,
StdCtrls,
Forms;
type
TGxIdeSearchPathEnhancer = class
public
class function GetEnabled: Boolean;
class procedure SetEnabled(_Value: Boolean);
end;
implementation
uses
Windows,
... |
unit DW.Androidapi.JNI.SystemClock;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Librar... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
program Control;
uses DataTypes, Crt, Generics, Streams, Dos, Graph, GAPI;
const efSTRINGCUT = $0001;
efUSERBREAK = $0002;
efREACHLIMIT = $0004;
efUNKNOWN = $0008;
efEXTERNALSTOP = $0010;
efRESERVED1 = $0020;
efR... |
unit ufrmMain;
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.Objects,
System.DateUtils, System.Math, System.Math.Vectors, System.IOUtils,
FMX.... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
program Divide;
{$mode objfpc}{$H+}
uses
SysUtils,Classes;
type
TDivide = class
private
numerator,denominator,result,remainder:integer;
procedure calculate;
procedure displayresult;
end;
procedure TDivide.calculate;
begin
result:=(numerator div denominator);
remainder:=(numerator mod ... |
unit uGUI;
interface
uses
Windows, Graphics, Classes, SysUtils, Types, Messages,
// Own units
uResFont, UCommon;
type
TGUI = class(THODObject)
MainBG, BarBG, GreenBar, BlueBar, RedBar, GoldBar, Slot, MSlot,
RSlot, BSlot, MiniMap, DMark, UMark, MMark: TBitmap;
procedure MakeMiniMap;
... |
unit Play_MV;
interface
uses
Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, scStyledForm, scControls,
scGPControls, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, PasLibVlcPlayerUnit,
PasLibVlcUnit, FullScreen;
const
MAX_ARGS = 25... |
unit main;
{$mode objfpc}{$H+}
interface
uses
windows, Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
ComCtrls, IniFiles;
type
TInstallStage= (STAGE_INIT, STAGE_INTEGRITY, STAGE_PACKING, STAGE_PACKING_SUCCESS, STAGE_SELECT_DIR, STAGE_SELECT_GAME_DIR, STAGE_INSTALL, STAGE_CONFIG, ST... |
unit StationaryStocksFRM;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.UITypes,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.DBCtrls,
Vcl.Mask, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids,
StockController, Virtua... |
unit frmCustomer;
interface
uses
module, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm3 = class(TForm)
Panel1: TPanel;
Label2: TLabel;
Label1: TLabel;
txtCode: TEdit;
txtName: TEdit;
txtCpf: TEdit;
Label5: TLabel;
... |
unit ZMDirectory;
// ZMDirectory.pas - Represents the readable Directory of a Zip file
(* ***************************************************************************
TZipMaster VCL originally by Chris Vleghert, Eric W. Engler.
Present Maintainers and Authors Roger Aelbrecht and Russell Peters.
Copyright (C) 1997... |
unit TokyoScript.Parser;
{
TokyoScript (c)2018 Execute SARL
http://www.execute.Fr
}
interface
uses
System.SysUtils,
TokyoScript.Chars,
TokyoScript.Keywords;
type
TDefine = class
Value: string;
Next : TDefine;
end;
TAppType = (
APPTYPE_GUI, // default
APPTYPE... |
{ Invokable interface ITest }
unit SoapIntf;
interface
uses InvokeRegistry, Types, XSBuiltIns;
type
{ Invokable interfaces must derive from IInvokable }
IWSYXDSVR = interface(IInvokable)
['{2FEFD041-C424-4673-8B86-42106004CCE4}']
function HelloWorld:String;
{ Methods of Invokable interface must not u... |
unit ssVCLUtil;
interface
uses Controls, Graphics, Windows, Types;
const
PaletteMask = $02000000;
type
TFillDirection = (fdTopToBottom, fdBottomToTop, fdLeftToRight, fdRightToLeft);
procedure GradientFillRect(Canvas: TCanvas; ARect: TRect; StartColor,
EndColor: TColor; Direction: TFillDirection;... |
unit UpdateUserUnit;
interface
uses SysUtils, BaseExampleUnit, UserParametersUnit;
type
TUpdateUser = class(TBaseExample)
public
procedure Execute(Parameters: TUserParameters);
end;
implementation
procedure TUpdateUser.Execute(Parameters: TUserParameters);
var
ErrorString: String;
begin
Route4MeM... |
// -------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// -------------------------------------------------------... |
unit ZMOprMerge;
// ZMMergeOpr.pas - MergeZipped operation
(* ***************************************************************************
TZipMaster VCL originally by Chris Vleghert, Eric W. Engler.
Present Maintainers and Authors Roger Aelbrecht and Russell Peters.
Copyright (C) 1997-2002 Chris Vleghert and Eri... |
{!DOCTOPIC}{
Matrix » TByteMatrix
}
{!DOCREF} {
@method: Single percision floating point matrix
@desc: [hr]
}
{!DOCREF} {
@method: procedure TByteMatrix.SetSize(Height,Width:Int32);
@desc:
Sets the size (width and height) of the matrix.
Same as SetLength(Matrix, H,W);
}
procedure TByteMatrix.SetS... |
unit ujxDataEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GridsEh, DBGridEh, DB, DBClient, StdCtrls, Buttons,CnProgressFrm,
ExtCtrls, pngimage, frxpngimage, Mask, DBCtrlsEh, DBFieldComboBox,
DBGridEhGrouping;
type
TjxDataEdit = class(TFo... |
unit PluginAPI;
interface
uses
ActiveX;
type
TClientFile = record
SrvrFile: WideString;
Version: WideString;
ClntFile: WideString;
Ext: WideString;
TypeF: WideChar;
Action: Integer;
MD5: WideString;
Source: WideChar;
SID: WideString;
end;
ICore = inter... |
namespace Sugar;
interface
type
Consts = public static class
public
const PI: Double = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679;
const E: Double = 2.718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525... |
unit CompName;
interface
uses
// VCL
Windows, Messages, SysUtils, Classes, Consts, Controls, Forms,
ShellAPI, ShlObj, ComObj, ActiveX, FileCtrl;
function BrowseComputer(AParentWnd: HWND; var ComputerName: string;
const DlgText: string; AHelpContext: THelpContext): Boolean;
implementation
function RemoveBac... |
unit daouib;
interface
uses Interfaces.base,
Rtti,
attributes,
system.SysUtils,
System.Classes,
Data.DB,
FireDAC.Comp.Client,
FireDAC.Stan.Param,
FireDAC.DatS,
FireDAC.DApt.Intf,
FireDAC.DApt,
FireDAC.Comp.DataSet;
type
TDaoUib = class(TInterfacedObject, IDao... |
unit dcEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, DataController, dbctrls, db, ffsException,
AdvEdit, FFSTypes, ffsutils;
type
TdcEditChar = (dceLetters, dceNumbers, dceDash, dceSpace, dceAllOther);
TdcEditChars = set of TdcEditChar;
... |
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
{ Functions for legacy Delphi versions.
Copyright (C) 2006, 2007 Kryvich, Belarusian Linguistic Software team.
}
{$include version.inc}
unit uLegacyCode;
interface
uses Windows, Classes, SysUtils;
{$ifdef D5}
const
sLineBreak = #13#10;
function TryStrToInt(const S: string; out Value: Integer):... |
unit pinballaction_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,ay_8910,rom_engine,
pal_engine,sound_engine,timer_engine;
function iniciar_pinballaction:boolean;
const
pinballaction_rom:array[0..2] of tipo_roms=(
(n:'b-p7.bin';l:$4000;p:0;c... |
unit uDM;
interface
uses
System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient, frxClass, frxDBSet, frxExportBaseDialog, frxExportPDF,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireD... |
{ Subroutine SST_W_C_SYMBOL (SYM)
*
* Write the declaration for the symbol SYM, if appropriate. If the
* declaration of this symbol depends on other symbols, then these symbols will
* be declared first, if not already done so.
*
* Nothing will be done if the symbol declaration was previously written.
}
modul... |
unit MdIntfTest;
interface
uses
Windows, Messages, SysUtils, Classes, StdCtrls;
type
IMdViewer = interface
['{9766860D-8E4A-4254-9843-59B98FEE6C54}']
procedure View (const str: string);
end;
TMdIntfTest = class(TComponent)
private
FViewer: IMdViewer;
FText: string;
procedure SetViewer(... |
unit uBorder;
interface
uses Graphics;
type
TBorder = class
private
public
TL, DL, TR, DR, THL, LVL, DHL, RVL: TBitMap;
procedure Make(AImage: TBitMap);
constructor Create(Path: string);
destructor Destroy; override;
end;
implementation
uses SysUtils;
{ TBorder }
... |
unit uItens;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, Vcl.Buttons, PngSpeedButton, Vcl.ExtCtrls, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Para... |
unit uGnSingleton;
interface
uses
SysUtils, Generics.Collections;
type
ESingletonException = class(Exception);
TSingleton = class(TObject)
strict private
FRefCounter: Integer;
strict protected
procedure CreateSingleton; virtual;
procedure DestroySingleton; virtual;
public
... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
program folding;
type EvalFunc = function (x, y : Integer) : Integer;
function Sum(x, y : Integer) : Integer;
begin
Sum:=x+y;
end;
function Max(x, y : Integer) : Integer;
begin
If x < y then
Max:=y
Else
Max:=x;
end;
function foldl(f : EvalFunc; init : Integer; arr : array of Integer) : Integer;
var i, cul :... |
unit Form.Interval;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Math,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Plus.Vcl.Timer,
Patterns.Observable, Interval;
type
TForm1 = class(TForm, IObserver)
LabelExampleInfo: T... |
{-----------------------------------------------------------------------------
hpp_searchthread (historypp project)
Version: 1.0
Created: 05.08.2004
Author: Oxygen
[ Description ]
Global searching in History++ is performed in background so
we have separate thread for doing it. Here it is, all... |
unit XMLModel;
{*************************************************************************}
{ }
{ Hitsoft Xml Object Library }
{ ... |
{ *************************************************************************** }
{ }
{ This file is part of the XPde project }
{ }
... |
unit uClimateSpiralUtils;
interface
uses
System.UITypes;
function GetViridisColor(APercent: Single): TAlphaColor;
function Map(AValue, AInputMin, AInputMax, AOutputMin, AOutputMax: Double): Double; forward;
const
FEdHawkinsGrey = $FF424242;
FEdHawkinsWhite = $FFD6D6D6;
VIRIDIS_HEX_DATA: array... |
unit SelectCategory;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, dcEdit, AdvGrid, FFSAdvStringGrid, Grids, dcEditBtn, sBitBtn, AdvUtil, AdvObj, BaseGrid;
type
TfrmSelectCategory = class(TForm)
grdCats: TFFSAdvStringGrid;
btnOk:... |
unit uTipoController;
interface
uses
System.SysUtils, uDMTipo, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms,
uTipoVO, uConverter;
type
TTipoController = class
private
FModel: TDMTipo;
FOperacao: TOperacao;
procedure Post;
public
procedure Filtrar(ACampo, ATexto, AAtivo: string; AContem: Bo... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: March 2007
Version: 0.99d ALPHA CODE
Description: TMultipartHttpDownloader is a component to download files using
simultaneous connections to speedup download. The demo mak... |
unit EquipAttributesForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OkCancel_frame, DB, FIBDataSet, pFIBDataSet, StdCtrls,
DBCtrls, Mask, DBCtrlsEh, DBLookupEh, CnErrorProvider, PrjConst, DBGridEh;
type
TEquipAttributesForm = class(TForm)
OkCance... |
unit CurrentLocationForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Sensors,
System.Sensors.Components, FMX.Maps, FMX.Controls.Presentation, FMX.StdCtrls,
FMX.Objects, FMX.ListView.Types,... |
unit uBalloon;
(*
Образцы кода взяты из
Delphi Russian Knowledge Base
from Vit
Version 2.2
*)
interface
uses { Какие библиотеки используем }
Windows, ShellAPI, SysUtils, Classes, SyncObjs, Messages,// Dialogs,
DataHelper, OSFuncHelper;
const
cs_CantCreateObject = 'Не вдалося створити об''єкт';
cs_Cant... |
unit UFrameAnalog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Buttons, UTreeItem, IniFiles, UFrameKP;
type
TItemAnalog = class;
TFrameAnalog = class(TFrame)
Panel: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLab... |
unit main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Registry,
ComCtrls, StdCtrls, ShellAPI;
type
TfrmMain = class(TForm)
btnClose: TButton;
btnHelp: TButton;
lvwItems: TListView;
btnDelete: TButton;
btnRefresh: TButton;
procedure Rea... |
{
Source Name: ToolTipApi
Description: usefull functions for using windows tooltips
Copyright (C) Martin Krämer <MartinKraemer@gmx.net>
Source Forge Site
https://sourceforge.net/projects/sharpe/
SharpE Site
http://www.sharpenviro.com
This program is free software: you can redistribute it and/or modify
it... |
unit RDORootServer;
interface
uses
SyncObjs, RDOServer, RDOInterfaces;
type
{$M+}
TRDORootServer =
class
public
constructor Create(ConnectionsServer : IRDOConnectionsServer; MaxQueryThreads : integer; QueryCritSection : TCriticalSection; const RootName : string);
des... |
unit Control.FechamentoExpressas;
interface
uses FireDAC.Comp.Client, Common.ENum, Model.FechamentoExpressas, Control.Sistemas;
type
TFechamentoExpressasControl = class
private
FFechamento : TFechamentoExpressas;
public
constructor Create;
destructor Destroy; override;
function Gravar: Boolean... |
unit mainform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, EditBtn,
StdCtrls, process;
type
{ TForm1 }
TForm1 = class(TForm)
buttonResolveSymbols: TButton;
editGDBPath: TFileNameEdit;
editProgramPath: TFileNameEdit;
Label1: TLabel;
... |
// Defines several default settings
// Original Author: Thomas Mueller (http://www.dummzeuch.de)
unit GX_CodeFormatterDefaultSettings;
{$I GX_CondDefine.inc}
interface
uses
SysUtils,
Classes,
GX_CodeFormatterTypes;
function BorlandDefaults: TSettings;
implementation
function BorlandDefa... |
unit SOList;
interface
uses
FMX.Layouts, Data.DB, FMX.Forms, System.SysUtils, System.Classes, FMX.Types,
FMX.Dialogs, FMX.Controls, System.Diagnostics, FMX.Ani, FMX.InertialMovement,
System.Generics.Collections, System.UITypes, System.Types;
type
TSOList<L: TFmxObject; I: TFrame> = class(TComponent)
privat... |
unit UnitEditorNotifier;
interface
uses ToolsApi, DockForm, System.Classes;
type
TEditorNotifier = class(TNotifierObject, INTAEditServicesNotifier)
public
procedure DockFormRefresh(const EditWindow: INTAEditWindow;
DockForm: TDockableForm);
procedure DockFormUpdated(const EditWindow: INTAEditWindow... |
unit Test.Automapper;
interface
uses
DUnitX.TestFramework
, AutoMapper.Mapper
, Test.Models
, Test.ModelsDTO
;
type
[TestFixture]
TestTMapper = class
strict private
const
CS_LAST_NAME = 'Иванов';
CS_FIRST_NAME = 'Сергей';
CS_MIDDLE_NAME = 'Николаеивч';... |
Program Example13;
uses Crt;
{ Program to demonstrate the TextBackground function. }
begin
TextColor(White);
WriteLn('This is written in with the default background color');
TextBackground(Green);
WriteLn('This is written in with a Green background');
TextBackground(Brown);
WriteLn('This is written in wit... |
unit MdiChilds.SetPriceBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, JvComponentBase,
JvDragDrop, Vcl.StdCtrls, Vcl.CheckLst,
Vcl.ExtCtrls, MdiChilds.ProgressForm, GsDocument... |
unit uFlashRect;
interface
type
TFlashRect = record
private
FFlashTop: Integer;
FFlashHeigth: Integer;
FFlashLeft: Integer;
FFlashWidth: Integer;
FFlashFontSize: Integer;
procedure SetFlashHeigth(const Value: Integer);
procedure SetFlashLeft(const Value: Integer);
pro... |
unit EasyUpdateForm;
interface
uses
Windows
, Buttons
, Classes
, Controls
, ExtCtrls
, Forms
, StdCtrls
, SysUtils
//
, EasyUpdateParamsForm
, EasyUpdateSupport
//
, LocaleMessages
;
type
TEasyUpdateForm = class(TForm)
f_MainPanel: TPanel;
f_StatusGroupBox: TGroupBox;
f_AutomaticUpdateLabel:... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Angus Robertson, Magenta Systems Ltd
Description: Client Cookie Handling, see RFC2109/RFC6265 (RFC2965 is obsolete)
Creation: 19 March 2012
Updated: 19 March 2012
Version: 1.02
EMail: francois.piet... |
unit PhotoBoxMainFmx1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.TabControl, FMX.StdCtrls, FMX.Objects,
FMX.Edit, FMX.Layouts, FMX.Media, FMX.ListBox, FMX.ExtCtrls... |
unit NtUtils.Exec.Shell;
interface
uses
NtUtils.Exec;
type
TExecShellExecute = class(TInterfacedObject, IExecMethod)
function Supports(Parameter: TExecParam): Boolean;
function Execute(ParamSet: IExecProvider): TProcessInfo;
end;
implementation
uses
Winapi.Shell, Winapi.WinUser, NtUtils.Exceptions,... |
unit Entidade.TipoCulto;
interface
uses SimpleAttributes;
type
TTIPO_CULTO = class
private
FDESCRICAO: string;
FID: integer;
FOBJETIVO: string;
procedure SetID(const Value: integer);
procedure SetDESCRICAO(const Value: string);
procedure SetOBJETIVO(const Value: string);
published
[PK,Aut... |
(*
* 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 distributed under the License is distributed on an "AS... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Application Server Component. This is the communication kernel
for the application server.
This component handle all the communication work for the
ap... |
unit infosistemas.business.mail;
interface
uses
System.Classes, System.SysUtils, infosistemas.model.exceptions,
infosistemas.view.messages, IdSMTP, IdSSLOpenSSL, IdMessage, IdText, IdGlobalProtocols,
IdAttachmentFile, IdExplicitTLSClientServerBase, XML.XMLDoc, XML.XMLIntf,
infosistemas.system.winshell;
type
... |
unit SetGPSPositionUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TSetGPSPosition = class(TBaseExample)
public
procedure Execute(RouteId: String);
end;
implementation
uses GPSParametersUnit, EnumsUnit;
procedure TSetGPSPosition.Execute(RouteId: String);
var
ErrorString: String;
Parameter... |
Program a5;
{ This program compares sorting methods. Your job is to fill in code for the
Radix Sort procedure below}
uses QueueADT;
const MAX = 100000;
type KeyType = integer;
ArrayIndex = 1..MAX;
SortingArray = array[ArrayIndex] of KeyType;
(************************************ HEAP SORT ************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.