text stringlengths 14 6.51M |
|---|
unit Orcamento.Controller.interf;
interface
uses TESTORCAMENTOITENS.Entidade.Model, Generics.Collections, Orcamento.Model.Interf,
OrcamentoItens.Model.Interf, TESTORCAMENTO.Entidade.Model, OrcamentoFornecedores.Model.Interf;
type
TOrcamentoItens = record
codigo: string;
qtde: Double;
end;
TOrcamento... |
//
// Generated by JavaToPas v1.5 20180804 - 083300
////////////////////////////////////////////////////////////////////////////////
unit java.util.concurrent.ForkJoinPool;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.util.concurrent.Callable,
java.util.concurrent.TimeUnit,
java.util.... |
unit PasswordRichEdit;
// Description: Password Richedit
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// This control exposes the "PasswordChar" property of TRichEdit
interface
uses... |
unit u_cscene;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, J_Level, Prender, u_pj3dos, U_pjkey,ResourcePicker,
CommCtrl, u_templates, values, u_Preview, Buttons, ExtCtrls;
type
TKeyForm = class(TForm)
LVThings: TListView;
EBTime: TEdit;... |
unit UEstado;
interface
uses UPais;
type
TEstado = class (TObject)
private
protected
FIdEstado:Integer;
FEstado:String;
FSigla:String;
FDDD:String;
FPais:TPais;
FDataCadastro:String;
FDataAlteracao:String;
public
//Construtores e Destrutore
constructor Create;
destruc... |
unit FFoundExport;
(*====================================================================
Progress window for exporting found items to text format, implements
the export in the Run procedure
======================================================================*)
interface
uses
{$ifdef mswindows}
WinTyp... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmTVComboBox
Purpose : TreeView and PathTreeView based ComboBoxes
Date : 02-01-2000
Author : Ryan J. Mills
Version : 1.92
===============================================... |
unit Objekt.Allgemein;
interface
uses
SysUtils, Classes, Objekt.Logger, Winapi.Windows, Objekt.Ini,
uTPLb_CryptographicLibrary, uTPLb_Codec;
type
TAllgemeinObj = class
private
fLog: TLoggerObj;
fIni: TIni;
fKey: string;
fLibrary : TCryptographicLibrary;
fCodec : TCodec;
protected
pu... |
unit CatActiveScript32;
{
This is an ugly hack to allow two IActiveScriptParse, one linked to
CLSID for 64-bit and this one linked to the CLSID for 32-bit
In case you want to try both without having to recompile your binary
}
{*******************************************************}
{ ActiveScript... |
namespace CirrusCache;
interface
type
ConsoleApp = class
public
class method Main;
end;
implementation
class method ConsoleApp.Main;
begin
// We create array of 100 random numbers from 0 to 40 which will be used
// as arguments when calculating Fibonacci numbers
// So both cached and non-cached ... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A shader that renders hidden (back-faced) lines differently from visible
(front) lines. Polygon offset is used to displace fragments depths a little
so that there is no z-fighting in rendering the same geometry multiple... |
unit UnitCDExportThread;
interface
uses
Windows,
Classes,
Forms,
DB,
Graphics,
ActiveX,
SysUtils,
Dmitry.CRC32,
Dmitry.Utils.Files,
UnitCDMappingSupport,
uLogger,
uConstants,
uShellIntegration,
uDBBaseTypes,
uDBForm,
uDBThread,
uMobileUtils,
uMemory,
... |
unit ThVclUtils;
interface
uses
SysUtils, Messages, Classes, Controls, Forms;
function ThFindComponentByClass(inOwner: TComponent;
inClass: TClass): TComponent;
function ThFindControlByClass(inOwner: TWinControl;
inClass: TClass): TControl;
function ThFindElderComponent(inControl: TControl;
const i... |
unit UnitWebcam;
interface
uses
StrUtils,Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Buttons, StdCtrls, UnitMain, JPEG, ComCtrls, Mask, sTrackBar, sUpDown,
UnitConexao, sSkinProvider;
type
TFormWebcam = class(TForm)
ComboBox1: TComboBox;
AdvTrackBar1:... |
{******************************************************************************}
{ }
{ Delphi OpenAPI 3.0 Generator }
{ Copyright (c) 2018-2021 Paolo Rossi ... |
unit LrPersistComponent;
interface
uses
SysUtils, Classes,
LrStreamable;
type
TLrPersistComponent = class(TLrStreamable)
private
FFilename: string;
protected
procedure SetFilename(const Value: string); virtual;
public
procedure Load;
procedure LoadFromFile(const inFilename: string); ove... |
unit UPCommon;
interface
uses
System.Classes, System.SysUtils;
const
{ 消息指令码 }
MSG_CMD = 'm.cmd'; // 指令名称
CMD_KEEPALIVE = 1; // 心跳包
CMD_CHECKVERSION = 2; // 检查版本
CMD_UPDATEFIELS = 3; // 要升级的文件
CMD_DOWNLOADFILE = 4; // 下载要升级的文件
/// <summary> 请求参数 </summary>
HCUP_VERNO = 'u.no';... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
//
// Generated by JavaToPas v1.5 20180804 - 082445
////////////////////////////////////////////////////////////////////////////////
unit android.service.autofill.SaveInfo;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.os;
type
JSaveInfo = interface;
JSaveInfoClass = interf... |
unit UnitListarPortasAtivas;
interface
uses
Windows,
winsock,
tlhelp32,
UnitServerUtils;
resourcestring
ResTCPStateClosed = 'CLOSED';
ResTCPStateListen = 'LISTEN';
ResTCPStateSynSent = 'SYNSENT';
ResTCPStateSynRcvd = 'SYNRCVD';
ResTCPStateEst = 'ESTABLISHED';
ResTCPStateFW1 = 'FIN_WAIT1';
ResT... |
unit uSp_Kat_Pay_Print;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxControls, cxContainer, cxEdit,
cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, StdCtrls, cxButtons,
ActnList, DB, FIBDataSet, pFIBDataSet, frxExportXLS, frxEx... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
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.apa... |
unit uListViewUtils;
interface
uses
System.Types,
System.Classes,
System.SysUtils,
System.Math,
Winapi.Windows,
Winapi.CommCtrl,
Vcl.Controls,
Vcl.Graphics,
Vcl.ComCtrls,
Vcl.Themes,
Dmitry.Utils.System,
Dmitry.Graphics.LayeredBitmap,
EasyListview,
UnitBitmapImageList... |
//SynZip unit - Copyright (C) 2018 Arnaud Bouchez / Synopse
//Officially released under MPL 1.1/GPL 2.0/LGPL 2.1 tri-license.
//Released by permission as BSD, exclusively for use within MRIcroGL and Surfice projects.
/// low-level access to ZLib compression (1.2.5 engine version)
// - this unit is a part of the... |
unit ufrmDialogProdukJasa;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uInterface, ufrmMasterDialog,
System.Actions, Vcl.ActnList, ufraFooterDialog3Button, Vcl.ExtCtrls,
cxGraphics, cxControls, cxLookAndF... |
namespace LinkedList;
interface
uses
System.Text;
type
List<T> = public class
where T is Object;
private
method AppendToString(aBuilder: StringBuilder);
public
constructor(aData: T);
constructor(aData: T; aNext: List<T>);
property Next: List<T>;
property Data: T;
method ToString... |
unit RefundByItemWithoutInvoiceView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxControls, cxContainer, cxEdit, cxRadioGroup,
cxLookAndFeelPainters, StdCtrls, cxButtons, DbClient;
type
TfrmRefundByItemWithoutInvoiceView = class(TForm)
selectAction:... |
//---------------------------------------------------------------------------
// 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... |
///////////////////////////////////////////////////////////
//
// 网络连接库接口定义 开发版本: Delphi XE5
// 作者:龙仕云 2013-12-20
//
// 修改
// 编号 作者 时间 修改内容
// 1 龙仕云 2013-12-20 创建文件
//
//
///////////////////////////////////////////////////////////
unit UtilUnit;
interface
uses
SysUtils,Windows,Classes... |
unit M_global;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, IniFiles, Graphics;
TYPE Integ16 =
{$IFNDEF WDF32}
Integer;
{$ELSE}
SmallInt;
{$ENDIF}
{ CONSTANTS }
CONST
{$IFNDEF WDF32}
WDFUSE_VERSION = 'Version 2.50 beta 3 (16 bits)';
{$ELSE}
WDFUSE_VERSION ... |
{* ***** 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 uFrEditora;
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.DA... |
unit uEmprestimoController;
interface
uses SysUtils, StrUtils, Dialogs, Vcl.StdCtrls, Generics.Collections,
uEmprestimoModel, uPadraoController, uUsuarioModel, uLivroModel,
Variants, DB;
type
TEmprestimoController = class(TPadraoController)
private
FUsuarios: TDictionary<integer, TUsuarioModel>;
... |
unit ChainsawConfig;
{
Configuration for Chainsaw.
Written by Keith Wood (kbwood@iprimus.com.au)
Version 1.0 - 19 September 2003.
}
interface
uses
SysUtils, Variants, Classes, Windows, Messages, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, CheckLst, ColorGrd, ComCtrls, Spin,
IniFiles, TypInfo,... |
unit uDMCalcTax;
interface
uses
SysUtils, Classes, Db, ADODB, CalcExpress;
type
TItemTax = class
public
IDPurchaseItemTax: Integer;
IDPurchaseItem: Integer;
IDTaxCategory: Integer;
TaxPercentage: Double;
TaxValue: Currency;
MVA: Currency;
Debit: Boolean;
Formula: String;
Cos... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, clisted, contnrs,
Vcl.ComCtrls, Vcl.CheckLst;
type
TCheckObj = class
Id: Integer;
Kurz: string;
Text: string;
Checke... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, mmSystem;
{$I CONSTANTS.INC}
type
TForm1 = class(TForm)
lblInstalled: TLabel;
Button1: TButton;
Button2: TButton;
Button3: TButton;
procedure Button1Click(Sender: TObject);
pr... |
unit frmListaContaReceber;
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.Layouts, FMX.TMSBaseControl, FMX.TMSGridCell, FMX.TMSGridOptions,
FMX.TMSGridData, FMX.TMSCustomGri... |
unit Style;
interface
uses
Types, Classes, Graphics;
type
TDisplay = ( diInline, diBlock );
TTextAlign = ( taDefault, taLeft, taCenter, taRight );
//
TStyle = class
private
FDisplay: TDisplay;
FColor: TColor;
FBackgroundColor: TColor;
FFontSize: Integer;
FFontFamily: string;
FHei... |
unit UHeatExchanger;
interface
uses UFlow;
type
HeatExchanger = class
d_in := 0.16;
d_out := 0.38;
length := 3.0;
k := 4900;
function calculate(hot, cold: Flow;
h: real := 0.01): array of Flow;
end;
implementation
function HeatExchanger.calculate(hot, cold: Flow;
h: real):... |
unit uBase;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Registry;
type
TfrmBase = class(TForm)
btnOK: TBitBtn;
btnReset: TBitBtn;
btnCancel: TBitBtn;
bvl: TBevel;
imgHelp: TImage;
procedure FormCreate(Se... |
unit BCEditor.Editor.LeftMargin.Bookmarks.Panel;
interface
uses
System.Classes, Vcl.Graphics, BCEditor.Types;
type
TBCEditorLeftMarginBookMarkPanel = class(TPersistent)
strict private
FLeftMargin: Integer;
FOnChange: TNotifyEvent;
FOptions: TBCEditorLeftMarginBookMarkPanelOptions;
... |
unit FMX.IS_Base;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.Ani,
FMX.Effects, FMX.Filter.Effects, FMX.Objects, FMX.StdCtrls, FMX.Forms;
type
[ComponentPlatfor... |
unit cn_Roles_AE;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxTextEdit, cxButtons, cxLabel,
cxContainer, cxEdit, cxMaskEdit, cxButtonEdit, cxControls, cxGroupBox,
Ibase, cnConsts, cn_DM_Roles, cn_Common_Funcs, cnConsts_M... |
unit InflatablesList_Manager_IO_Threaded;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Classes,
InflatablesList_Types,
InflatablesList_Manager_IO;
type
TILManager_IO_Threaded = class(TILManager_IO)
protected
procedure LoadedDataCopyHandler(Sender: TObject); virtual;
public
procedure Sa... |
unit pBTGridEhExt;
interface
uses
Windows,Messages,SysUtils,Classes,Controls,Forms,DB,DBGridEh,GridsEh,TntStdCtrls;
procedure PrepareDBGridEh(Grid:TDBGridEh);
implementation
var IsWinNT:boolean;
IsWin2K:boolean;
IsWinXP:boolean;
const
WideNull = WideChar(#0);
WideCR = WideChar(#13);... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
btObter: TButton;
edID: TEdit;
edNome: TEdit;
lbID: TLabel;
lbNome: TLabel;
procedure btObterClick(Sender: TObject);
end;... |
{$A+,B-,C+,D+,E-,F-,G+,H+,I+,J+,K-,L+,M-,N+,O+,P+,Q-,R-,S-,T-,U-,V+,W-,X+,Y+,Z1}
{$MINSTACKSIZE $00004000}
{$MAXSTACKSIZE $00100000}
{$IMAGEBASE $00400000}
{$APPTYPE GUI}
{
Модуль проверок
Принцип:
Есть две основных функции - FirstTest и SecondTest
Вызов каждой вызывает создание окна проверок.
В первом случае тестируют... |
unit AboutForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls,
InflatablesList_Manager;
type
TfAboutForm = class(TForm)
imgLogo: TImage;
lblTitle: TLabel;
lblTitleShadow: TLabel;
lblVersion: TLabel;
lblCompiler: TLabe... |
{******************************************************************}
{ SVG common }
{ }
{ home page : http://www.mwcs.de }
{ email : martin.walter@mwcs.de ... |
unit rpuFoodsAllReport;
interface
uses
System.SysUtils, System.Classes, System.Variants, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, frxClass, Data.DB, FireDAC.Comp.DataSet,
FireDAC.Comp.Client, frxDBSet, fruDateTimeFilter... |
Program BinarySearchLogic;
{ Change Maximum from 10 to 100, 200, 500, 1000, 5000, 10000
and 15000 and see how many additional passes it takes as the
Data Base gets larger. }
{ Suggestion: Add the timer program to this one and let it run
automatically to see just how fast it is on an ORDERED G... |
unit LrUtils;
interface
uses
SysUtils, StrUtils, Classes, Controls, Forms;
function AppFolder: string;
procedure NeedFolder(const inFolder: string);
function IsSubfolder(const inFolder, inRoot: string): Boolean;
procedure CopyFile(const inSrc, inDst: string);
procedure AddForm(out outForm; inFormClas... |
unit Ils.Utils;
//------------------------------------------------------------------------------
// модуль маленьких полезных подпрограмм
//------------------------------------------------------------------------------
// содержит процедуры и функции, выполняющие сервисную работу
//------------------------------------... |
unit Pospolite.View.Popups;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, Controls, Pospolite.View.Basics,
Pospolite.View.Drawing.Basics, Pospolite.View.Drawing.Renderer;
type
TPLPopupItemKind = (pikButton, pikDropDown, pikButtonDrop, pikSeparator,
pikSmallButton, pikLabel);
{ TPLPop... |
unit DSA.List_Stack_Queue.LinkedListStack;
interface
uses
System.SysUtils,
System.Rtti,
DSA.Interfaces.DataStructure,
DSA.List_Stack_Queue.LinkedList;
type
TLinkedListStack<T> = class(TInterfacedObject, IStack<T>)
private type
TLinkedList_T = TLinkedList<T>;
var
__list: TLinkedList<T>;
pub... |
(*
Category: SWAG Title: DATA TYPE & COMPARE ROUTINES
Original name: 0016.PAS
Description: Inverse Ordinal Types
Author: STEVEN TALLENT
Date: 01-27-94 12:10
*)
(*
> is there any way to write an inverse Ord function for any type?
> Type Color = (RED, BLUE, GREEN, VIOLET, PURPLE);
> Var Whatever : Color;
> ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLPerlin<p>
Classes for generating perlin noise.<p>
The components and classes in the unit are a base to generate textures and heightmaps from,
A Perlin Height Data Source have been included as an example. Use this combined with a terra... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit frmAbout;
// Description: About Dialog
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//
// layer 2
interface
uses
//delphi and 3rd party libs - layer 0
Classes, Contr... |
unit IntegerLogNTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestIntegerLogN }
TTestIntegerLogN = class(TTestCase)
published
procedure LogNBase10();
procedure LogNBase2();
end;
implementation
procedure TTestIntegerLogN.LogNBase10();
var
base, number: ... |
unit Dialog_EditSmsx;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, RzEdit, Mask, RzLabel,Class_Smsx;
type
TDialogEditSmsxEditMode=(desemEdit,desemAddx);
TDialogEditSmsx = class(TForm)
Labl_1: TRzLabel;
Labl_2: TRzLabel;
... |
// RemObjects CS to Pascal 0.1
namespace UT3Bots.UTItems;
interface
uses
System,
System.Collections.Generic,
System.Linq,
System.Text,
System.ComponentModel;
type
UTObject = public class(INotifyPropertyChanged)
protected
var _id: UTIdentifier;
var _location: UTVector;
method OnPrope... |
unit AListBoxHelper;
interface
uses
Classes, Types, FMX.ListBox, FMX.Types;
Const
CLastCheckPointTimerInterval = 150;
type
TListBoxScrollEvent = procedure(Sender: TObject; ABegIndex, AEndIndex: Integer) of object;
TListBoxScrollDetector = class
public
procedure ViewportPositionChangeFired(Sender: TOb... |
{$B-,I-,Q-,R-,S-}
{$M 16384,0,655360}
{ 28þ [MAXIMA SUMA] Veszpr‚m '96
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Dado un arreglo de dos dimensiones de enteros positivos y negativos,
encontrar el rect ngulo con la mayor suma. La suma de un rect ngulo
... |
unit uDMPeachtree;
interface
uses
SysUtils, Classes, PAW_TLB, Messages, Dialogs, DB, DBClient;
const
RESULT_OPERATION_SUCCEED = 0;
RESULT_KEY_NOT_FOUND = 4;
RESULT_DUPLICATED_KEY = 5;
RESULT_INVALID_KEY_NO = 6;
RESULT_NO_MORE_RECORDS = 9;
RESULT_INVALID_FILENAME = 11;
RESULT_FILE_NOT_FO... |
unit DsiPDCXIntegration;
Interface
uses SysUtils, ProcessorInterface, DeviceIntegrationInterface, uCreditCardFunction, DSIPDCXLib_TLB, VER1000XLib_TLB,
VER2000XLib_TLB, uXML, uMRPinpad, classes, DeviceIntegration, MercuryProcessor, WorldPayProcessor,
CardTranMsgStatus;
type
TDsiPDCXIntegration = class(TDevic... |
Function RealToStr(InVal:Real; Decimals:Byte): String;
//
// Converte um numero real em String
//
Var
Width : Byte;
IntPart : Real;
TempStr : String;
Begin
IntPart := Int(InVal);
STR(Int(InVal):0:0,TempStr);
Width := Length((TempStr));
STR(InVal:Width:Decimals,TempStr);
Result := TempStr;
End;
|
unit ExtLabel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TExtLabel = class(TLabel)
private
{ Private declarations }
FDigits : byte;
FIntDigs : byte;
FFractDigs : byte;
FLongintN : longint;
FDoubleN : double;
procedure S... |
unit dlgCommandLine;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEdit, StdCtrls, ExtCtrls, Buttons, TB2Item, TBX, TBXExtItems,
Menus, TBXDkPanels;
type
TCommandLineDlg = class(TForm)
Panel1: TPanel;
Label1: TLabel;
SynParameters: TSynEdit;... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IPPeerClient, REST.Backend.EMSServices,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, F... |
//------------------------------------------------------------------------------
//LoginOptions UNIT
//------------------------------------------------------------------------------
// What it does-
// This unit is used to gain access to configuration varia... |
unit UnitPasswords;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Menus;
type
TFormPasswords = class(TForm)
ListView1: TListView;
PopupMenu1: TPopupMenu;
Copiarnomedeusurio1: TMenuItem;
Copiarsenha1: TMenuItem;
Abrirsite1: TMenu... |
unit uNotifier;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, ExtCtrls, Graphics, Forms, StdCtrls;
type
TNotifier = class
private
Panel: TPanel;
Lbl: TLabel;
function GetBottom: Integer;
function GetText: String;
procedure SetText(Text: String);
public
property Bott... |
unit uFrmBaseInput;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmParent, ActnList, ExtCtrls, Menus, cxLookAndFeelPainters, DBClient,
StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, cxLabel, cxCheckBox, uParamObject,
uBaseInfoDef, uDefCom, uModelB... |
unit UTipos;
interface
type TEstoqueBloqueado = class
private
FProduto: String;
FTipo: String;
FDataAbate: String;
FHabilitacao: String;
FQuantidade: Integer;
procedure SetProduto(const Value: String);
procedure SetTipo(const Value: String);
procedure SetDataAbate(const Value: Strin... |
unit AddObject;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, AccessObject, MainDM, cxTextEdit, cxControls,
cxContainer, cxEdit, cxMaskEdit, cxDropDownEdit, cxLookupEdit,
cxDBLookupEdit, cxDBLookupComboBox;
type
TFormAddObject = class(TForm)
... |
unit EscherTypes2;
{-
********************************************************************************
******* XLSReadWriteII V3.00 *******
******* *******
******* Copyright(C) 1999,2006 Lars Arvidsson, Axolot ... |
{==========================================================================
This unit is used to create an SQL insert statement for the purposes of
logging program behavior to a remote SQL server.
TODO:
Sanitize read/write from properties.
Format connection string from seperate variables.
Written by :
Morgan Thra... |
{ *****************************************************************************
Project:
Description: Data Access Layer Interface
Author: ³جةع±ّ
CreateDate: 2005-05-03
History:
*****************************************************************************}
unit DataAccess;
interface
... |
unit Actions;
{$mode objfpc}{$H+}
interface
uses Graphics,Main,Param,Math,DecConsts,obsavoid,SysUtils,MPC,Model;
const
IDCTRL_OMNI_FORWARD=1;
IDCTRL_OMNI_POSITION=2;
IDCTRL_OMNI_XYTETA=3;
type
TAction=(acStop, acGoToXYTeta,acAdvisedSpeed,acDesiredSpeed,acDoFormation,acDoFormationFollower);
const
CAction... |
unit udpmulticast;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, winsock,
StdCtrls;
const
WM_SOCK = WM_USER + 1; //自定义windows消息
UDPPORT = 6543; //设定UDP端口号
//D类地址224.0.0.0 - 239.255.255.255
//若为224.0.0.1则本机也能收到,否则本机收不到,其它机器能收到。
MY_... |
unit UDBoxes;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32;
type
TCrpeBoxesDlg = class(TForm)
pnlBoxes: TPanel;
lblNumber: TLabel;
lbNumbers: TListBox;
lblCount: TLabel;
editCount: TEdit;
{Border}
gbBor... |
unit xMiniReg;
{
lightweight replacement for TRegistry. Does not use Classes or SysUtils. Intended
for space-limited applets where only the commonly used functions are necessary.
Returns True if Successful, else False.
Written by Ben Hochstrasser (bhoc@surfeu.ch).
This code is GPL.
Function Examples:
... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls,
Entities,
Aurelius.Drivers.Interfaces;
type
TForm1 = class(TForm)
Panel1: TPanel;
btConnection: TButton;
lbConnection: TLabel;
Panel2: TPanel;
... |
unit ApplyFormat;
{-
********************************************************************************
******* XLSReadWriteII V3.00 *******
******* *******
******* Copyright(C) 1999,2006 Lars Arvidsson, Axolot D... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit UNaturezaJuridicaVO;
interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO;
type
[TEntity]
[TTable('NaturezaJuridica')]
TNaturezaJuridicaVO = class(TGenericVO)
private
FidNatureza: Integer;
FcodigoNatureza : String;
Fdescricao: String;
public
[TId(... |
unit CSoporte;
interface
uses
SysUtils,
classes,
contnrs,
COpDivSystemRecord;
const
kSopTipoItem = 'TIPO';
kSopFechaItem = 'FECHA';
kSopNumItem = 'NUMSOPORTE';
kSopEstacionItem = 'ESTACION';
type
TTipoSoporte = ( tsDocumental, tsNoDocumental );
TSoporte = clas... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 2001 Borland Software Corporation }
{ ... |
namespace Lambdas;
interface
uses System.Collections.Generic,
System.Linq;
type
ConsoleApp = class
public
class method Main;
method FillPersons();
method Test();
method SumAge(): Integer;
var persons: List<Person>;
end;
type
Person = public class
public
property Name: Stri... |
unit ULeituraGasVO;
interface
uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO,
UCondominioVO,UitensLeituraGasVO;
type
[TEntity]
[TTable('LeituraGas')]
TLeituraGasVO = class(TGenericVO)
private
FidLeituraGas : Integer;
FdtLeitura : TDateTime;
FidCondominio : Int... |
(*
Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED
Original name: 0191.PAS
Description: Very Quick Loan Amortizaton
Author: GLENN GROTZINGER
Date: 11-29-96 08:17
*)
program amortization_schedule;
{ smaller than what exists in swag now and doesn't need to know the
payment...just the APR and terms... |
unit uFormUtils;
interface
uses
System.Types,
System.Classes,
Winapi.Windows,
Vcl.Graphics;
procedure RenderForm(FormHandle: THandle; Bitmap32: TBitmap; Transparenty: Byte; UpdateFormStyle: Boolean = True); overload;
implementation
procedure RenderForm(FormHandle: THandle; Bitmap32: TBitmap; ... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A cross-platform full-screen viewer.
}
unit VXS.FullScreenViewer;
interface
{$I VXScene.inc}
uses
Winapi.Messages,
Winapi.Windows,
System.Classes,
System.SysUtils,
FMX.Types,
FMX.Forms,
FMX.Con... |
unit lcDialogs;
// Note: In order to use this, need XP Manifest in your application
// See also: TaskDialogIndirect(...) and TASKDIALOGCONFIG!!!
interface
uses
Dialogs,
Windows;
var
// If set, then any messages displayed will have any single CRLFs stripped
// out, while double CRLFs (SDU_CRLF... |
unit UserScript;
uses dubhFunctions;
var
lsMasters: TStringList;
aSource: IInterface;
function Initialize: Integer;
var
aRecord: IInterface;
sFormID: String;
begin
// populate masters list
lsMasters := TStringList.Create;
lsMasters.Duplicates := dupIgnore;
lsMasters.Add('Fallout4.esm');
/... |
unit Utils;
interface
uses
windows,
TLhelp32;
const
ENTER = #10;
faReadOnly = $00000001 platform;
faHidden = $00000002 platform;
faSysFile = $00000004 platform;
faVolumeID = $00000008 platform;
faDirectory = $00000010;
faArchive = $00000020 platform;
faSymLink = $00000040 platform;
f... |
{ *********************************************************************** }
{ }
{ GUI Hangman }
{ Version 1.0 - First release of program }
{ Last Revi... |
unit uDataSetHelper;
interface
{
TDataSet helper classes to simplify access to TDataSet fields and make TDataSet
work with a for-in-loop.
Author: Uwe Raabe - ur@ipteam.de
Techniques used:
- class helpers
- enumerators
- invokable custom variants
This unit implements some "Delph... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.