text stringlengths 14 6.51M |
|---|
unit Lib.AndroidUtils;
interface
uses
System.SysUtils,
FMX.Platform, FMX.Virtualkeyboard, FMX.Types,
FMX.Helpers.Android, Androidapi.Helpers, Androidapi.JNI.JavaTypes,
Androidapi.JNI.GraphicsContentViewText;
type
TKeyboardService = class
private
class var FKBService: IFMXVirtualKeyboardServi... |
unit ViewFull;
interface
uses
Windows, SysUtils, Messages, Graphics, Forms, Structs, Grids, Buttons, Controls, StdCtrls, Statistica, Classes;
type
TFullChipsDlg = class(TForm)
ParamsSG: TStringGrid;
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
procedure FormResize(Sender... |
program CompareSums;
var val1,val2,sum1,sum2 : integer;
function Sum(i:integer):integer;
var count,sum:integer;
begin
for count := 0 to i do
begin
sum := sum + count;
end;
end;
function getPosNum(void:integer):integer;
var result:integer;
begin
r... |
{******************************************************************}
{ MD5 Hashsum Evaluation Unit For Borland Delphi }
{ }
{ Derived from the RSA Data Security, Inc. }
{ MD5 Message-Digest Algorithm descr... |
unit Contact;
interface
uses
Classes;
type
TPreferedContactMethod = (
pcPhone,
pcEmail
);
TContact = class(TPersistent)
private
FId: string;
FFirstName: string;
FLastName: string;
FPreferedContact: TPreferedContactMethod;
FEmail: string;
FFax: string;
FPhone: string;
... |
unit YOTM.DB.Labels;
interface
uses SQLite3, SQLLang, SQLiteTable3, System.Generics.Collections,
HGM.Controls.VirtualTable, YOTM.DB, Vcl.Graphics, YOTM.DB.LabelTypes;
type
//Метки задач
TLabelItem = class;
TLabelItems = class;
TLabelItem = class(TObject)
private
FTypeID:Integer;
... |
{
Copyright (c) 2013 Bruno Barbieri
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the foll... |
unit Helper.TDBGrid;
interface
uses
Vcl.DBGrids;
type
THelperDBGrid = class helper for TDBGrid
/// <summary>
/// Counts and sets the width of the grid columns in pixels
/// </summary>
/// <param name="CalcForNumberOfRows">
/// The number of rows for which widths are counted
/// </para... |
(*
Name: UfrmDebugStatus_Key
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 14 Sep 2006
Modified Date: 3 Aug 2015
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
No... |
unit ServerContainerUnit1;
interface
uses System.SysUtils, System.Classes,
Datasnap.DSHTTPCommon, Datasnap.DSHTTP,
Datasnap.DSServer, Datasnap.DSCommonServer,
Datasnap.DSAuth, IPPeerServer, Datasnap.DSReflect;
type
/// <summary>
/// http://www.andreanolanusse.com/pt/registrando-datasnap-server... |
unit ViewModel.LocationList;
interface
uses
Model.Interfaces;
function CreateLocationListViewModelClass: ILocationListViewModelInterface;
implementation
uses
Model.Location,
Model.FormDeclarations,
Model.ProSu.Interfaces,
Model.ProSu.InterfaceActions,
Model.ProSu.Provider,
Model.ProSu.Subscriber;
typ... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit Crud.Services.Generic;
interface
uses
SimpleInterface,
SimpleDAO,
SimpleAttributes,
SimpleQueryFiredac,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Stan.Pool,
FireDAC.Stan.Async,
FireDAC.Phys,
FireDAC.Phys.M... |
unit UGSEPreSetup;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ Purpose: Append special responses for UAD Power User auto-response}
{ Instead of installing... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit clamav3;
{*--------------------------------------------------
* C... |
unit UImportWMS;
interface
uses
System.SysUtils,
System.Classes,
FireDAC.Comp.Client,
FireDAC.Stan.Param,
Xml.XMLIntf,
Xml.XMLDoc,
UDefinitions,
UQryThread;
type
TImportWMS = class
strict private
FStream: TMemoryStream;
FValues: TPacketValuesArray;
FData: TDataObjects;
// FErrQueue... |
unit tm_parser;
// {$mode objfpc}{$H+}
interface
uses Classes, SysUtils, tp_tinylist;
function tm_parse(tokenlist: TTinyList): TTinyList; // Stack of TTreeNodes
implementation
uses tm_constants, tm_lexer, tm_syntax_tree, tm_error_reporting, tm_utils;
function tm_parse(tokenlist: TTinyList): TTinyLi... |
unit RectangleShapeU;
interface
uses
Graphics, Types,
ShapesU;
type
/// Класът правоъгълник е основен примитив, който е наследник на базовия TShapes.
TRectangleShape = class(TShapes)
public
procedure DrawSelf(grfx : TCanvas);override;
function Contains(P : TPoint) : Boolean; override;
... |
unit repositorioCliente;
interface
uses
DB,
Repositorio,
RepositorioPessoa;
type
TRepositorioCliente = class(TRepositorioPessoa)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
funct... |
unit Menus.Model.Entity.Produtos;
interface
uses
Menus.Model.Entity.Interfaces, System.Classes,
Menu.Model.Conexoes.Interfaces;
type
TModelEntityProdutos = class(TInterfacedObject, iModelEntity)
private
FDataSet : iModelDataSet;
public
constructor Create(DataSet: iModelDataSet);
... |
unit CustomImageFX;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TCustomImageFX = class(TImage)
private
{ Private declarations }
FTimer: TTimer;
FirstShow : boolean;
FAutoRunning: boolean;
FCount : integer;
procedure SetRuning... |
{******************************************************************************}
{ }
{ SMART CHEF }
{ ... |
program timap;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
{$IFDEF MSWINDOWS}
{$apptype console}
{$ENDIF}
uses
Classes,
SysUtils,
mapper,
{$ifdef FPC}
custapp,
{$endif}
{$ifndef FPC}
delphi_custom_app,
{$endif}
AppModel,
common_schema_reader;
type
TMapperCmd = class(TCustomApplication)
... |
{==============================================================================}
{ }
{ OpenGL Video Renderer DirectShow Types }
{ Version 1.0 ... |
unit Historico_Produtos_03;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Mask;
type
THistoricoProdutos03 = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
Label2: TLabel;
editCodigo: TEdit;
e... |
unit MainForm;
interface
uses
System.SysUtils, System.Classes, WEBLib.Graphics, WEBLib.Controls, WEBLib.Forms, WEBLib.Dialogs,
Vcl.StdCtrls, WEBLib.StdCtrls, Vcl.Controls, WEBLib.ExtCtrls,
XData.Web.Client, XData.Web.Connection;
type
TForm3 = class(TWebForm)
cbNota: TWebComboBox;
btRegist... |
unit UErrorManagement;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}
interface
uses
Classes, SysUtils;
... |
unit UnitsTest;
interface
uses dbTest, dbObjectTest, ObjectTest;
type
TUnitTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TUnit = class(TObjectTest)
private
function InsertDefault: integer; override;
public
function InsertUpda... |
unit timepickerdialog;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
TOnTimePicker = procedure(Sender: TObject; hourOfDay: integer; minute: integer) of Object;
{Draft Component code by "Lazarus Android Module Wizard" [2/3/2015 22:51:56]}
{https://github.com/jmpessoa/lazandroidmod... |
unit uZToolButton;
interface
uses
Windows, SysUtils, Classes, Controls, ExtCtrls, Graphics, uZToolBar;
const BT_HEIGHT = 24;
type
ZToolButtonStyle = (xbsButton, xbsCheck, xbsSeparator);
ZToolButton = class(TPaintBox)
private
{ Private declarations }
f_style: ZToolButtonStyle;
f_... |
unit WindowStyleDlgUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ELPropInsp, Menus, IniFiles, ClipBrd, HelperUnit;
type
TWindowStyleDlg = class(TForm)
ListBox: TListBox;
PopupMenu: TPopupMenu;
pmenuShowAll: TM... |
{The encoding of these files is UTF-8, if you can not read the words below, try select UTF-8 as the default encoding of your text reader.}
unit pretreatment;
interface
uses SubPnt,order,expand,transform;
const
temp_file:string='nasmplustemp.txt';
procedure InitPretreatment(FNameIn:string); //一些初始化
function DoPre... |
unit LossFund;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Loss, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters,
dxSkinscxPCPainter, cxPCdxBarPopupMenu,... |
unit ChooseEmplFrom_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, AdvPanel, Front_DataBase_Unit,
FrontData_Unit, BaseFrontForm_Unit, AdvSmoothButton;
type
TChooseEmpl = class(TBaseFrontForm)
pnlMain: TAdvPanel;
... |
unit OperatorsForm;
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.ScrollBox, FMX.Memo, FMX.StdCtrls;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton... |
PROGRAM ArrayMerge;
FUNCTION Max2(valueA, valueB: INTEGER): INTEGER;
BEGIN
IF valueA > valueB THEN BEGIN
Max2 := valueA;
END
ELSE BEGIN
Max2 := valueB;
END;
END;
PROCEDURE AppendToArray(VAR sourceArray, destinationArray: ARRAY OF INTEGER; sourceIndex: INTEGER; VAR destinationLength: INTEGER);
VAR i: WORD;
... |
Unit CXP290;
//*********************************************************
// CREADO POR : Christian Flores Rodríguez
// Nº HPC : HPC_201801_CXP
// FECHA DE MODIF. : 29/01/2018
// DESCRIPCION : Formulario de Cargos de Directorio
//*********************************************************
// Actuali... |
unit Helper.TFDConnection;
interface
uses
System.Classes,
FireDAC.Comp.Client;
type
TFDConnectionHelper = class helper for TFDConnection
public
function WithConnectionDef(const aDefinitionName: string): TFDConnection;
function IsConnected: boolean;
function GetFieldNamesAsArray(const aTableName: ... |
unit Engine;
{$MODE Delphi}
interface
uses SysUtils, Classes;
type
T8085Command = class
private
FName: String;
FBytes: Integer;
FCode: Byte;
FAddress: Boolean;
FComma: Boolean;
public
constructor Create(const sName: String; nBytes: Integer; nCode: Byte;
bAddress, bComma: Boolean)... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2013 Embarcadero Technologies, Inc. }
{ ... |
unit UBank;
interface
uses USimulation;
type
// Класс TClient - процесс, моделирующий клиента банка
TClient = class(TProcess)
public
Inserted : Boolean;
constructor Create; overload;
constructor Create(AInserted : Boolean); overload;
protected
procedure RunProcess; override;
end;
// Класс... |
unit SpCalcFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TSpCalcForm = class(TForm)
btnCalculate: TButton;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
ledSunnyHours: TLabeledEdit;
... |
unit ReportOrderGoods;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
AncestorReport, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilter, cxDa... |
{*
* Open source license agreement: Lazarus Modified LGPL
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific lang... |
unit UDMServer;
interface
uses
System.Classes, DzSocket;
type
TDMServer = class(TDataModule)
S: TDzTCPServer;
procedure SClientRead(Sender: TObject; Socket: TDzSocket; const Cmd: Char;
const A: string);
procedure DataModuleCreate(Sender: TObject);
procedure SClientDisconnect(Sender: TObject... |
unit UCadFuncionario;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.StdCtrls,
Vcl.Buttons, Vcl.ComCtrls, Data.DB, Vcl.Mask, Vcl.ImgList, System.Actions,Xml.XMLDoc, WinIne... |
program var4;
type
{ Binary Search Tree }
PBSTree = ^BSTree;
BSTree = record
data : Char;
left : PBSTree;
right : PBSTree;
end;
{ Single Linked List }
PTList = ^TList;
TList = record
data : Char;
next : PTList;
end;
{ Insert new element (char) in tree }
procedure Tree_Insert(... |
unit system.text.wordparser;
interface
uses
SmartCL.System,
system.types,
system.text.parser;
type
// forward declarations
TTextModel = class;
TTextModelWord = class;
TTextModelSentence = class;
TSimpleTextParser = class;
(* Introduction
============
A classical parser setup consi... |
unit Entity;
interface
uses
Base.Argument, Base.Objects, Base.Value, Database, Database.Query, System.SysUtils;
type
{$M+}
{$TYPEINFO ON}
IEntity = interface(IFrameworkInterface)
['{08E53832-B924-4570-B4D0-F06D1063C7B0}']
end;
TEntity = class(TFrameworkObject, IEntity)
end;
TCust... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
//Корректировка доходов
unit fGainEd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, StdCtrls, DBCtrlsEh, Mask, LMDCalendarEdit,
LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit,
LMDCustomEdit, LMDCustomMaskEdit, LMDMaskEdit, T... |
unit Restourant.Forms.Main;
interface
uses
System.SysUtils, System.IOUtils, System.Types, System.UITypes
,System.Classes, System.Variants, System.Actions, System.ImageList
,FMX.Types, FMX.Graphics, FMX.Objects, FMX.Controls, FMX.Controls.Presentation
,FMX.StdCtrls, FMX.Forms, FMX.Dialogs, FMX.TabControl, FM... |
unit ucustomeditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, VirtualTrees, Windows;
type
{$REGION Пользовательские редакторы}
{ TBaseData }
TBaseData = class
type
TTypeEditor = (
teNone,
teFl... |
unit filechannel;
{ Copyright (C) 2006 Luiz Américo Pereira Câmara
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later vers... |
unit u2ColumnEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, VirtualTrees, Menus, lcltype, Dialogs,
uVtBaseEditor;
type
{ T2ColumnData }
T2ColumnData = class
protected
function GetShortDescription: string; virtual; abstract;
function GetName: string; virtual; abstract;
... |
unit Action;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ParentForm, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter,
cxData, cxDataStorage, cxEdit, Data.DB... |
unit AbstractFactory.Concretes.ConcreteFactory1;
interface
uses
AbstractFactory.Interfaces.IAbstractFactory,
AbstractFactory.Interfaces.IAbstractProductA,
AbstractFactory.Interfaces.IAbstractProductB;
// Concrete Factories produce a family of products that belong to a single
// variant. The factory guarantees ... |
unit SimpleExampleForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, DelphiTwain, jpeg;
type
TForm1 = class(TForm)
Title: TPanel;
ImageHolder: TImage;
GoAcquire: TButton;
Twain: TDelphiTwain;
procedure GoAcquireClick(Sender: TO... |
unit rsEnex;
interface
uses
SysUtils, Generics.Collections;
type
TEnex = record
class function Select<T, U: class>(input: TEnumerable<T>): TList<U>; static;
class function Where<T>(input: TEnumerable<T>; filter: TPredicate<T>): TList<T>; static;
class function KeysWhereValue<T, U>(in... |
unit uParser;
interface
uses VSoft.CommandLine.Options, uOptions;
implementation
procedure ConfigureOptions;
var
option: IOptionDefinition;
begin
option := TOptionsRegistry.RegisterOption<string>('version', 'v', 'Version of your RAD Studio.',
procedure(const value : string)
begin
TOptions.versions... |
unit ALTestCipher;
interface
uses
System.Diagnostics,
Alcinoe.Common,
Alcinoe.StringUtils,
DUnitX.TestFramework;
type
[TestFixture]
TALTestCipher = class
strict private
fFullAsciiCharset: TArray<AnsiChar>;
fStopWatchAlcinoe: TStopwatch;
fStopWatchDELPHI: TStopwatch;
p... |
unit BoolLogicalNegativeRepositoryCriterionUnit;
interface
uses
AbstractNegativeRepositoryCriterionUnit;
const
BOOL_NEGATIVE_CRITERION_DEFAULT_EXPRESSION = 'not';
type
TBoolNegativeRepositoryCriterion = class (TAbstractNegativeRepositoryCriterion)
protected
function GetNegativeExpression: Strin... |
{ NIM/Nama : Dhafin Rayhan Ahmad }
{ Tanggal : 4 April 2019 }
Program ipmahasiswa;
{ Membaca masukan sejumlah nilai IP mahasiswa (bilangan rill) sebuah angkatan,
sampai pengguna mengetikkan -999 (-999 tidak termasuk).
Selanjutnya program menuliskan berapa banyak mahasiswa,
berapa banyak yang lulus dan ... |
unit UDataBindings;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, RPDesignInfo, UToolForm, ExtCtrls, ImgList, ToolWin;
type
TfmDataBindings = class(TToolForm)
PageControl: TPageControl;
TabSheet1: TTabSheet;
TabSheet2: TTabSheet;
lvBands: TLi... |
unit game;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics,
Dialogs, ExtCtrls, StdCtrls, Interfaces, uCmdBox, dglOpenGL, windows,
fgl, core_main, vectortypes, vectorgeometry, core_types, core_camera,
types, core_render, core_editor, core_material_library,
menu_poi... |
unit mnMath;
interface
uses mnSystem, Types;
const
{--------------------------------
极小值。用于比较两个浮点数。
--------------------------------}
mnParticle = 0.0000000001;
{--------------------------------
比较两个浮点数,返回 A 是否等于、不等于、小于、小于等于、大于、大于等于 B。
Tested in TestUnit.
--------------------------------}
function mnFloat... |
unit Estoque;
interface
uses SysUtils, Contnrs;
type
TEstoque = class
private
Fcodigo :Integer;
Fcodigo_produto :Integer;
Fcodigo_dispensa :Integer;
Fquantidade :Real;
Funidade_medida :String;
Fpecas :Integer;
Fquantidade_min :REal;
Funidade_entrada :St... |
unit ImageForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, PNGImage, PicFile, Head;
type
TImageEditor = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
ScrollBar: TScrollBar;
Image: TImage;
FileNameEdit: TEdit;
Fil... |
{ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: QuickReport 2.0 for Delphi 1.0/2.0/3.0 ::
:: ::
:: QRPRGRESS.PAS - Foreground printing progress form ::
:: ::
... |
unit Safecode;
interface
uses Sysutils;
type
EUnexpectedValue = class(exception);
procedure RaiseUnexpectedValue;
procedure CheckZero(n:integer);
procedure CheckNotZero(n:integer);
procedure CheckTrue(b : boolean);
procedure CheckObject(obj : TObject);
procedure CheckPtr(Ptr : Pointer);
type
EInvalidParam... |
unit QueryExecutorFactory;
interface
uses
ConnectionInfo,
QueryExecutor;
type
IQueryExecutorFactory = interface
function CreateQueryExecutor(ConnectionInfo: TConnectionInfo): IQueryExecutor; overload;
function CreateQueryExecutor(Connection: TObject): IQueryExecutor; overload;
end;
impleme... |
unit direct_input_scan_codes;
interface
uses windows;
//Funkcja zamienia stała klawisza Delphi na staa uyzwana pryey Dx-a
//integer key - stała klawisza w delphi
//integer - stała klawisza w Dx
Function VKToDIK(key: integer): integer;
//Funkcja zamienia stała klawisza na jego nazwe
//integer key - stała klawisza
//s... |
unit uCadastro;
interface
uses
uEndereco, XMLIntf;
type
TCadastro = class
private
FId: integer;
FCpf: string;
FIdentidade: string;
FTelefone: string;
FNumero: string;
FComplemento: string;
FEmail: string;
FNome: string;
FEndereco: TEndereco;
public
... |
{ ****************************************************************************** }
{ }
{ Delphi OPENSSL Library }
{ Copyright (c) 2016 Luca Minuti }
{ https://bitbucket.org/lminuti/delphi-openssl }
{ }
{ ****************************************************************************** }
{ }
{ Licensed under the A... |
unit ListView.EmptyMessage;
interface
uses
Winapi.Windows, Winapi.Messages, System.Classes, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Graphics;
type
TListView = class( Vcl.ComCtrls.TListView )
private
FEmptyMessage: string;
procedure SetEmptyMessage(const Value: string);
procedure DrawEmptyMessage;
pro... |
unit dll_wininet_ftp;
interface
uses
atmcmbaseconst, winconst, wintype, dll_wininet;
const
{ flags for FTP }
FTP_TRANSFER_TYPE_UNKNOWN = $00000000;
FTP_TRANSFER_TYPE_ASCII = $00000001;
FTP_TRANSFER_TYPE_BINARY = $00000002;
FTP_TRANSFER_TYPE_MASK = FTP_TRANSFER_TYPE_ASCII or
... |
unit UFlowLine;
interface
uses USimulation;
type
// Класс TPiece - изделие
TPiece = class(TProcess)
protected
procedure RunProcess; override;
end;
// Класс Tworker1 - первое рабочее место
TWorker1 = class(TProcess)
protected
procedure RunProcess; override;
end;
// Класс TWorker2 - второе р... |
unit toolbar_lights;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ColorBox, Buttons, ExtCtrls, Spin, ComCtrls, core_types, TypInfo, types,
FPimage, core_terrain_generator,core_render,VectorGeometry,core_editor,core_main,
brickUIMain;
type
{... |
{Programa que convierte de grados celsius a grados farenheit, y muestra
una tabla con las conversiones de los grados comprendidos entre -15 y
+15 grados celsius, en intervalos de 0.5 grados y en forma de tabla}
PROGRAM CelsiusAFarenheit;
USES Crt;
VAR
celsius : real;
{Función que realiza el calculo de la ... |
{
Copyright © Norstedts Juridik AB
Made by Per-Erik Andersson, inspired by J Hamblin - Qtools Software.
Author grants unrestricted use of this software code.
All use is on your own risk.
J Hamblin has made a component TjhALTBugFix to solve a problem in Vista.
It can be downloaded from CodeGear Quality centre he... |
unit FH.DeckLink.Vitrual.InputFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.SyncObjs, System.Generics.Collections,
Winapi.ActiveX, Winapi.DirectShow9, DeckLinkAPI_TLB_10_3_1, FH.DeckLink.DisplayMode;
const
// SD 75% Colour Bars
gSD75pcColourBa... |
unit ImgLibObjs;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,ImageLibX,Controls;
{ Wrap the ImageLib functions
}
const
ESGetInfo = 'Get Image Info';
ESLoad = 'Load Image';
ESSave = 'Save Image';
procedure CheckImgLibCallError(ReturnCode : SmallInt);
procedure CheckImgLibCallErrorEx(Const... |
{
Classe Implementada para centralização de funções comuns entre módulos
Autor: Gabriel Teixeira
Data Criação: 01/02/2013 - 19:10
}
unit TCobranca_un;
interface
uses DB, DBXpress, Dialogs, SysUtils, SqlExpr;
type
TCobranca = class
private
{Procedimento de retorno e atualização do campo sequencial para ... |
program e7p3;
uses
crt;
const
MAX_ELEMENTOS = 5;
type
puntNodo = ^tNodo;
tNodo = record
numero:real;
sig:puntNodo;
end;
////////////////////////////////////////////////////////////////////////
procedure eliminarLista(var lista:puntNodo);
begin
if (lista <> nil) then
eliminarLista... |
unit FrmMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, StdCtrls, ActnList, DBCtrls, DB, ExtCtrls;
type
TFMain = class(TForm)
ActLogIn: TAction;
ActLogOut: TAction;
ActMain: TActionList;
ActMainOpenQuestions: TAction;
ActOpenRe... |
unit ImageRotationU;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.StdCtrls,
FMX.Gestures;
type
TImageRotationForm = class(TForm)
Image1: TImage;
GestureManager1: TGesture... |
(*
Copyright (c) 2011, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and t... |
{ Private include file for the modules implementing the DISPL library.
}
%include 'sys.ins.pas';
%include 'util.ins.pas';
%include 'string.ins.pas';
%include 'file.ins.pas';
%include 'img.ins.pas';
%include 'vect.ins.pas';
%include 'rend.ins.pas';
%include 'displ.ins.pas';
{
* Private subroutines and functions.
}
p... |
{
TUSBControllerInfo Component Version 1.3b - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Representa la clase para manejar las capacidades del Universal Serial Bus (USB).
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and activ... |
{$IFDEF FREEPASCAL}
{$MODE DELPHI}
{$ENDIF}
unit dll_user32_win_w;
interface
uses
atmcmbaseconst, winconst, wintype, wintypeW;
function SetWindowLongW(hWnd: HWND; nIndex: Integer; dwNewLong: Longint): Longint; stdcall; external user32 name 'SetWindowLongW';
function GetWindowLongW(hWnd: HWND; nIndex: Integer):... |
{
@abstract(Events definition for GMLib.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(August 2, 2022)
@lastmod(August 21, 2022)
The GMLib.Events unit provides access to all events fired for GMLib components.
}
unit GMLib.Events;
{$I ..\gmlib.inc}
interface
uses
GMLib... |
unit SpecialImageLists;
interface
uses System.SysUtils, Vcl.ImgList;
/// <summary>
/// Универсальная функция для создания иконок нескольких специальных состояний
/// </summary>
/// <param name="ASource">
/// Исходный список изображений
/// </param>
/// <param name="ABrightness">
/// яркость от -1 ... |
unit u_Shp2PasProcessor;
interface
uses
Types,
Classes,
ShpFiles,
t_Shp2PasProcessor,
u_KmlWriter;
type
TShp2PasProcessor = class(TObject)
private
FShapeFile: string;
FOutPutPath: string;
FKmlOutputRoot: string;
FLatLonAccuracy: TLatLonAccuracy;
FDoCompactArray: Bo... |
unit calendarview;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget, systryparent;
type
TOnCalendarSelectedDayChange = procedure(Sender: TObject; year: integer; monthOfYear: integer; dayOfMonth: integer) of Object;
{Draft Component code by "Lazarus Android Module Wizard" [9/17/2018 16:06:... |
unit MemoEx;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs,
StdCtrls;
type
TMemoEx = class(TMemo)
private
{ Private declarations }
protected
{ Protected declarations }
procedure CreateWnd; override;
public
{ Public declarations }
published
{ Published... |
unit Download.Model.IdHTTP;
interface
uses
Download.Model.Interfaces, IdBaseComponent, IdComponent,
IdTCPConnection, IdTCPClient, IdHTTP, System.Threading,
Download.Download.Tipos, Download.Controller.Interfaces,
System.Generics.Collections, IdAuthentication, IdAntiFreezeBase,
IdAntiFreeze, Download.Model.D... |
unit winole.clientsite;
interface
uses
Windows, ActiveX, uiwin.wnd;
type
POleWindow = ^TOleWindow;
POleWinSiteData = ^TOleWinSiteData;
POleWinEventData = ^TOleWinEventData;
TOnInvokeCallBack = function (DispID: Integer; const IID: TGUID; LocaleID: Integer;
Flags: Word; var Params; Va... |
unit dll_cabinet;
interface
implementation
(*
const
SHCONTCH_NOPROGRESSBOX = 4;
SHCONTCH_AUTORENAME = 8;
SHCONTCH_RESPONDYESTOALL = 16;
SHCONTF_INCLUDEHIDDEN = 128;
SHCONTF_FOLDERS = 32;
SHCONTF_NONFOLDERS = 64;
function ShellUnzip(zipfile, targetfolder: string; filter: string = ''): boo... |
unit UCellMunger;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 1998 - 2011 by Bradford Technologies, Inc. }
{ This is... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.