text stringlengths 14 6.51M |
|---|
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit uCadastroOrigemDoLancamento;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBaseCadastro, Data.DB, Vcl.Grids,
Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Mask,
uCrudOrigemDoLancamento, uO... |
unit ufrmLivros;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Spin, ExtCtrls, Grids, DBGrids, DBCtrls, DB,
DBTables, jpeg;
type
TFormLivros = class(TForm)
GroupBox1: TGroupBox;
Label6: TLabel;
Label7: TLabel;
Label8: TLa... |
unit UnaryRepositoryCriterionUnit;
interface
uses
AbstractRepositoryCriteriaUnit,
ConstRepositoryCriterionUnit, SysUtils, Variants;
const
UNARY_CRITERION_ELEMENTS_SEPARATOR = ' ';
type
TUnaryRepositoryCriterion = class (TAbstractRepositoryCriterion)
protected
FCriterionObjectName: String;
... |
object GoToLineDialog: TGoToLineDialog
Left = 279
Top = 190
BorderStyle = bsDialog
Caption = 'Go to Line'
ClientHeight = 73
ClientWidth = 185
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreate... |
unit DBErrorsAtUserDataMapperUnit;
interface
uses SysUtils, Classes, Variants, AuxCollectionFunctionsUnit;
type
TDBErrorsAtUserDataMapperItem = class
private
FDBComparisonObject: Variant;
FRelatedErrorsUserData: TStringList;
public
destructor Destroy; override;
constructor Crea... |
program calcdate;
uses
SysUtils;
type
// TYpe de base de calcul
basetype = (
btYesterday,
btToday,
btTomorow,
btWeekstart,
btWeekend,
btMonthstart,
btMonthend,
btYearstart,
btYearend
);
const
basetypelib : array[basetype] of string =
(
'yesterday',
'today',
'to... |
unit Unit_SaveType;
interface
uses Graphics, MPiDeclaration;
type
{ ------ TChartParam ------}
TChartParam = packed record
MainLine_PenStyle : TPenStyle;
MainLine_PenColor : TColor;
NotMainLine_PenStyle : TPenStyle;
NotMainLine_PenColor : TColor;
LeftAx... |
unit GetSystemInfo;
interface
uses System.SysUtils, System.Types, System.Variants, System.UITypes, System.Classes,
Winapi.Windows, System.Win.ComObj, Winapi.ActiveX;
function GetComputerName : string;
function GetBaseBoardProduct : string;
function GetProcessorName : string;
function GetDiskDriveModel : string;... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
System.Win.ComObj, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGridExportLink, cxGraphics, Math,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, System.RegularExpressions,
... |
unit lJSONReqResp;
interface
uses System.SysUtils, System.JSON, REST.JSON, System.Rtti, System.TypInfo;
const
Current_Service_Request_Ver = '100';
type
TServiceResponseCode = (rcUnknown, rcOK, rcError, rcException);
const
TServiceResponseCodeStr : array[TServiceResponseCode] of string = ('Unknown', ... |
unit ServiceTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TServiceTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TService = class(TMovementTest)
private
function InsertDefault: integer; override;
public
functi... |
unit RecordsMethodsForm;
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.ScrollBox, FMX.Memo;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TB... |
Unit XAbout;
Interface
Uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dsgnintf;
type
TAboutBoxEditor = class(TPropertyEditor)
function GetAttributes: TPropertyAttributes; override;
function GetValue: string; override;
procedure Edit; override... |
unit FindUnit.Settings;
interface
uses
System.Classes,
System.IniFiles;
type
TCacheSettings = record
AutoImportEnabled: Boolean;
AlwaysUseInterfaceSection: Boolean;
StoreChoices: Boolean;
BreakLine: Boolean;
SortUsesAfterAdding: Boolean;
UseDefaultSearchMatch: Boolean;
BlankLineBt... |
unit uItensObraDAO;
interface
uses Generics.Collections, SqlExpr, DB, Dialogs, SysUtils, DBAccess, Ora, MemDS, OraCall,
Datasnap.DBClient, IPPeerClient, uModelObra, udmDados, uModelItensObra;
type
TItensObraDAO = class
private
FQuery : TOraquery;
FItemObra: TItensObra;
FListaItensObra: TList<TIten... |
unit SharedMemoryAllocator;
interface
uses Generics.Collections, Generics.Defaults, System.SysUtils, System.Math,
System.SyncObjs;
type
TRMemChunk = class
public
ptr: PByte;
Size: UInt64;
constructor Create;
destructor Destroy; override;
end;
// "управлятор" памятью File Mapping
TRShared... |
unit uDeviceForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, Windows,
ulibrary, usetting;
type
{ TDeviceForm }
TDeviceForm = class(TForm)
CancelButton: TButton;
SlaveIdBox: TComboBox;
ModuleBox: TComboBox;
... |
unit UAppraisalIDs;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 2006 by Bradford Technologies, Inc. }
interface
const
{ Global Context IDs }
kCoName = 1; //Co Nmae at top of form
kFileNo... |
(* Output:
Enter two numbers:
1
2
num1 = 1.0
num2 = 2.0
*)
program Test2;
var
num1, num2 : real;
begin
writeln ('Enter two numbers:');
readln(num1, num2);
writeln('num1 = ', num1);
writeln('num2 = ', num2);
end. |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
namespace DocsGen;
interface
uses
NDesk.Options,
System.IO,
System.Linq;
type
ConsoleApp = class
public
class var fPort: Integer := 4000;
class var fLoop: Boolean := false;
class var fLogger: ILogger := new ConsoleLogger;
class var fOverrideOptions: System.Collections.Generi... |
unit BaseWinFileStream;
interface
uses
BaseStream;
const
{ TFileStream create mode }
fmCreate = $FFFF;
type
EFileStreamError = class(EStreamError)
constructor Create(ResStringRec: PResStringRec; const FileName: string);
end;
EFCreateError = class(EFileStreamError);
EFOpenE... |
{
Fast Memory Manager: Messages
English translation by Pierre le Riche.
}
unit FastMM4Messages;
interface
{$Include FastMM4Options.inc}
const
{The name of the debug info support DLL}
FullDebugModeLibraryName32Bit = 'FastMM_FullDebugMode.dll';
FullDebugModeLibraryName64Bit = 'FastMM_FullDebugMode64.dll';
... |
program Tennis;
uses Crt, Dos, Graph, GrafBits;
const
MOUSEINTR = $33;
type
TBall = object
MaxMoveDist, Speed,
X, Y: integer;
XDir, YDir: shortint;
Mask, Image: Pointer;
procedure Init;
procedure Create;
procedure Move;
procedure Draw;
procedure Erase;
procedur... |
program TiketKeretaApi;
uses crt;
type waktu = record
jam : Integer;
menit : Integer;
end;
type bangku = record
nama : String;
ID : String;
hp : String;
duduk : Boolean;
end;
type jadwalkereta = record
nomor : Integer;
asal : String;
tujuan : String;
berangkat : waktu;
tiba : waktu;
gerbong : Integer;
t... |
unit Storage;
{$I dsdVer.inc}
interface
uses SysUtils, System.Classes, IdSSLOpenSSL, IdHTTP, IDComponent;
type
/// <summary>
/// Интерфейс - мост между приложением и средним уровнем.
/// </summary>
/// <remarks>
/// Используейте данный Интерфейс для вызова методов на сервере базе данных
/// </remarks>
... |
unit uConexao;
interface
uses
SysUtils,ZAbstractConnection, ZConnection, DB, ZAbstractRODataset,
ZAbstractDataset, ZDataset;
type
TConexao = class
private
FConn: TZConnection;
procedure ConfigurarConexao;
public
constructor Create;
destructor Destroy;override;
function Ge... |
Unit Proc;
INTERFACE
Uses Crt, Graph, Mouse;
Const
Brancoforte = 15 ;
Brancofraco = 7 ;
Preto = 0 ;
Azulescuro = 1 ;
Azulclaro = 9 ;
Vermelhoforte = 4 ;
Vermelhoclaro = 12 ;
... |
{***************************************************************}
{ Работа с реестром Windows через функции API }
{ Copyright (c) 2013 год . }
{ Тетенев Леонид Петрович, ltetenev@yandex.ru }
{ ... |
unit DelphiToHero.View.Main;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Vcl.Buttons;
type
TFormPrincipal = class(TForm)
pnlMain: TPanel;
pnlMenu: TPanel;
pnlFul... |
unit Alg;
{
DESCRIPTION: Additional math/algorithmic functions
AUTHOR: Alexander Shostak (aka Berserker aka EtherniDee aka BerSoft)
}
(***) interface (***)
uses Utils, Math;
type
TCompareFunc = function (Value1, Value2: integer): integer;
TCompareMethod = function (Value1, Value2: integer): ... |
unit AncestorDialogScale;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons,Db;
type
TAncestorDialogScaleForm = class(TForm)
bbPanel: TPanel;
bbOk: TBitBtn;
bbCancel: TBitBtn;
procedure bbOkClick(Sender: TObject);
... |
unit UColourShifter;
{
Copyright (c) 2014 George Wright
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License, as described at
http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/
}
interface
uses
Sma... |
unit core_process;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl;
type
processTypes = (
ptWait //waits for given time. ment for delayed launch of child process
);
{ TProcess }
TProcess = class
kill:boolean;
active:boolean;
paused:boolean;
initialUpdate:boolean;
pro... |
unit DIOTA.IotaAPICore;
interface
uses
System.Classes,
DIOTA.IotaLocalPow,
DIOTA.Dto.Response.GetNodeInfoResponse,
DIOTA.Dto.Response.GetNeighborsResponse,
DIOTA.Dto.Response.AddNeighborsResponse,
DIOTA.Dto.Response.RemoveNeighborsResponse,
DIOTA.Dto.Response.GetTipsResponse,
DIOTA.Dto.Response.FindTr... |
unit UPrefFAppraiserCalcs;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the Frame that contains the Appraiser Calculation Preferences}
interface
us... |
unit uktoybutton;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget, systryparent;
type
TKToyShapeType = (kstRectangle, kstCircle);
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [9/10/2022 20:30:29]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{j... |
unit AqDrop.DB.SQLite;
interface
uses
AqDrop.DB.SQL.Intf,
AqDrop.DB.Adapter;
type
TAqDBSQLiteSQLSolver = class(TAqDBSQLSolver)
strict protected
function SolveLimit(pSelect: IAqDBSQLSelect): string; override;
function SolveOffset(pSelect: IAqDBSQLSelect): string; override;
function So... |
unit ThothCommands;
interface
uses
System.Classes, System.Types, System.SysUtils,
ThothTypes, ThothObjects;
var
TestCmd: Integer = 0;
type
///////////////////////////////////////////////////////
// Command
TThCommand = class;
TThCommand = class(TInterfacedObject, IThCommand)
public
end;
TThShapeCom... |
unit DomainObjectListUnit;
interface
uses
SysUtils,
Classes,
DomainObjectUnit,
IDomainObjectUnit,
DomainObjectBaseListUnit,
IDomainObjectListUnit,
VariantListUnit,
ClonableUnit,
EquatableUnit;
type
TDomainObjectList = class;
TDomainObjectListEnumerator = class (TDomainObjectBaseListEnumerato... |
unit BankStatementTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TBankStatementTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TBankStatement = class(TMovementTest)
private
function InsertDefault: integer; override;
... |
unit sudokuUtil;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,constraint,
arrayUtils,
cell,
region,
laz2_DOM,
laz2_XMLRead,
laz2_XMLWrite,
laz2_XMLUtils;
type
TDOMNodeArray = array of TDOMNode;
function readXML(filename: string): TXMLDocument;
procedure writeXML(doc: TXMLDocument;... |
unit resourceaccessunit;
interface
uses sysutils, windows,contnrs;
type
TResIdentType = (riString, riNumbered);
TResourceIDRec = record
ident: TResIdentType;
id: integer;
name: string;
end;
TResourceTypeNameRec = record
id: integer;
name: string;
end;
TResourceIdentifier = class
p... |
unit Ntapi.WinUser;
{
This file provides definitions for User and GDI functions.
See SDK::WinUser.h for sources.
}
interface
{$MINENUMSIZE 4}
uses
Ntapi.WinNt, Ntapi.WinBase, DelphiApi.Reflection;
type
MAKEINTRESOURCE = PWideChar;
const
user32 = 'user32.dll';
// Desktop access masks
DESKTOP_READOBJ... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
// ******************************************************************
//
// Program Name : Single Instance Framework
// Platform(s) : Linux64
// Framework : FMX
//
// Filename : AT.SingleInstance.Linux.pas
// File Version : 1.00
// Date Created : 07-Dec-2017
// Author : Matthew Vesperman
//
... |
// Filename: AliasEd.pas
// Version : 01.02
// Date : 29/03/97
// Author : Glenn Davies
//
// Description:
// BDE alias management component.
//
// History:
// 14/06/97 - V01.03
// Revised for compatibility with Delphi 3.
// 29/03/97 - V01.02
// Added GetDriverList and GetDriverParams metho... |
unit uFontInfoSave;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, AdvEdit,
AdvPanel, Vcl.CheckLst;
type
TfontInfoSave_f = class(TForm)
AdvPanel2: TPanel;
btnOk: TButton;... |
(*
Audio filters
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com
*)
u... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Design, Design2;
type
TForm1 = class(TForm)
Designer21: TDesigner2;
Panel1: TPanel;
Panel2: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Edit1: TEdit;
... |
{******************************************************************************
Autor: Daniel Jurado
jurado@gmail.com
******************************************************************************}
unit uThreadSimprona;
interface
uses Classes;
... |
unit UCC_MLS_Dialog;
{ MLS Mapping Module }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
{ Dialog display }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,UForms,
Dialogs, ... |
namespace BetaServer;
interface
uses
System.Collections.Generic,
System.IO,
System.Linq,
System.Text,
RemObjects.InternetPack.Http,
RemObjects.SDK,
RemObjects.SDK.Push,
RemObjects.SDK.Server;
type
BetaApiDispatcher = public class(ExtendedHttpDispatcher)
private
protected
pu... |
unit MateriaPrima;
interface
uses
SysUtils,
Contnrs;
type
TMateriaPrima = class
private
Fcodigo: integer;
Fvalor: Real;
Fdescricao: String;
FDescricao2: String;
FCodigoProduto: integer;
FQuantidade: Real;
procedure Setcodigo(const Value: integer);
procedure Setdescricao(cons... |
unit Frm_SelectorRadioGroup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniRadioGroup, uniToolBar, uniGUIBaseClasses;
type
TFrmSelectorRadioGroup = class(TUniForm)
UniToolBar1: TUniToolBar;
U... |
unit BkGround2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,extctrls,
ComWriUtils,ComCtrls,StdCtrls,Buttons,Mask;
type
TBackGround = class(TCustomControl)
private
FImage : TImage;
//FSwitch : boolean;
FBrush : HBrush;
procedure SetPicture(const Valu... |
unit SevenZip_Compressor_u;
interface
Uses SevenZipVCL,SysUtils,Advanced,Classes;
Type TCompressType=(ctLZMA,ctPPMD);
Type TCompressLevel=(clFast,clNormal,clMaximum,clUltra);
Type TSevenZipCompressorProgress=procedure (Sender:TObject;FProgress,AProgress:Byte;Var Abort:Boolean) of object;
Type TSevenZipCompressor=Cl... |
{ SdpoZMQ v1
CopyRight (C) 2017 Paulo Costa
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 version.
This program ... |
unit DFG1;
interface
uses
NLO, SignalField, Func1D, Numerics, FrogTrace;
type
TDFG1 = class(TNLOInteraction)
public
procedure MakeSignalField(pEk: TEField; pEsig: TSignalField); override;
procedure MakeXSignalField(pEk, pERef: TEField; pEsig: TSignalField); override;
function Z(pEx: PArray; pEsi... |
unit Numerics;
interface
type
TArray = Array [0..4194304] of double;
PArray = ^TArray;
TMinFunc = function(pX: double): double of object;
TLinMinFunc = function(pX: PArray): double of object;
TNumerics = class(TObject)
private
// Some private data for Linmin
mNCom: integer;
mNRFunc: TLi... |
unit FormaPagamento;
interface
type
TFormaPagamento = class
private
FDescricao: String;
private
procedure SetDescricao(const Value: String);
public
property Descricao :String read FDescricao write SetDescricao;
end;
implementation
{ TFormaPagamento }
procedure TFormaPagamento.SetDescricao(co... |
unit uAtrasos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFormCadBase, ImgList, DB, ComCtrls, ToolWin, Grids, DBGrids, StdCtrls, JvExStdCtrls, JvCombobox, JvExControls, JvXPCore, JvXPButtons,
JvEdit, ZAbstractRODataset, ZAbstractDataset, ZDataset, ConstTi... |
{**********************************************************************}
{ }
{ "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 comp... |
unit DebugTools;
interface
uses
RyuLibBase,
Windows, Classes, SysUtils, SyncObjs;
procedure Trace(const AMsg:string);
procedure SetDebugMsg(AMsg:string);
function GetDebugMsg:string;
implementation
uses
TaskQueue;
type
TDebugTool = class
private
FTaskQueue : TTaskQueue;
procedure on_Task(Sender... |
unit ProjectCheck;
interface
uses Project, Classes;
type TProjectChecker = class
private
FProject : TveProject;
public
property Project : TveProject read FProject write FProject;
function CheckOutlinesNames( report : TStrings ) : boolean;
function CheckOutlinesDuplicateNames( re... |
unit Alcinoe.FMX.DesignEditors;
interface
{$I Alcinoe.inc}
{$IFNDEF ALCompilerVersionSupported}
{$MESSAGE WARN 'Check if FMX.Editor.Items.pas was not updated and adjust the IFDEF'}
{$ENDIF}
uses
System.Classes,
System.Generics.Collections,
FMX.Types,
DesignIntf,
DesignEditors,
DesignMe... |
unit uSimulationFmxCtrls;
interface
uses
System.Types, FMX.Controls,
Box2D.Common, Box2D.Collision, Box2D.Dynamics,
uFlatBox2DSimulation;
type
TSimulationFmxCtrls = class(TFlatBox2DSimulation)
public
procedure AddBoundaryBox(posX, posY, halfSizeX, halfSizeY: Single);
function AddDynami... |
unit Clothes.Classes;
interface
type
TClothesType = class
private
FName: string;
FID: Integer;
FOrderNo: Integer;
procedure SetID(const Value: Integer);
procedure SetName(const Value: string);
procedure SetOrderNo(const Value: Integer);
public
property ID: Integer read FID write SetI... |
unit UAMC_Utils;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
Classes, SysUtils, Dialogs,
UAMC_Globals, UAMC_Base, UGlobals, MSXML6_TLB;
f... |
Unit TSTOStoreMenu;
Interface
Uses HsXmlDocEx;
//xmldom, XMLDoc, XMLIntf;
Type
ITSTOXmlStoreObjectSet = Interface(IXmlNodeEx)
['{7F78B039-92FB-41EE-9B5D-B3D369F24DDB}']
Function GetName() : Widestring;
Procedure SetName(Value : Widestring);
Property Name : Widestring Read GetName Write SetName;... |
unit MainForm;
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.StdCtrls,
ScanManager, BarcodeFormat, ReadResult, ResultPoint, FMX.Objects;
type
TForm2 = class(TForm... |
unit UAWSI_LoginForm;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit fmSelectorCampos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBase, StdCtrls, CheckLst, Contnrs, ImgList, ActnList, ToolWin,
ActnMan, ActnCtrls, XPStyleActnCtrls, DBCtrls,
dmCampos, DB, ExtCtrls, ALHintBalloon, uPanel;
type
TfSelectorCampos = cl... |
unit Report_InsuranceCompanies;
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, dxBarBuiltInMenu, cxStyles,
cxCustomData, cxFilte... |
unit DAO.PedidoVenda;
interface
uses
Model, DAO, FireDAC.Comp.Client, FireDAC.Stan.Param, SysUtils;
type
TPedidoVendaDAO = class(TDAO)
function StringInsert: string; override;
procedure SetParameters(var AFDQuery: TFDQuery; const AModel: TModel); override;
function CreateModel: TModel; override;
... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further infor... |
unit myQueue;
interface
const MAXI_MAX_SIZE = 5000;
type
PMyQueue = ^TMyQueue;
TMyQueue = class(Tobject)
public
constructor Create(max : integer = MAXI_MAX_SIZE);
function pop(): Pointer;
function is_empty(): boolean;
function push(p : Pointer): boolean;
function top(): Poin... |
unit FtiValidationErrors;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls,
tiObject;
type
TtiValidationErrorsDlg = class(TForm)
OKBtn: TButton;
Bevel1: TBevel;
lblMessage: TLabel;
mmErrors: TMemo;
procedure FormCreate(Sender: TObject);
pri... |
unit PersonModel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
Tperson = class
private
FfirstName : String;
FmiddleName : String;
FlastName : String;
public
constructor create(firstName : String; middleName : String; lastName : String);
function getFirstName() : String;... |
unit uTrees;
interface
uses SysUtils,ComCtrls,Windows,Controls,VirtualTrees,Messages,Classes,Types,Graphics,ExtCtrls,Menus,
sPageControl,sPanel,sSpeedButton,sLabel,sEdit,sBitBtn,sCheckBox,sToolBar,acAlphaImageList,sDialogs,
SynCommons,mORMot,sComboBox,sGroupBox,sSpinEdit,sColorSelect,sComboBoxes,Forms,
uEditors... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
unit UNPOSAF1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons, Gauges, Menus;
type
TFMPOSAF1 = class(TForm)
ED_OUT_PRICE: TPanel;
Panel2: TPanel;
LB_TOTAL_CASH: TLabel;
LB_CARD_PACNA: TLabel;
Gauge: TGauge;
LB_TOTAL_P... |
{
--------------------------------------------------------------------------------
L O G D E M O D I F I C A C I O N E S
--------------------------------------------------------------------------------
ID: SG006
Fecha: 13/02/2008
Programador: Juan Sebastián Goldberg
Descripción: Se agregan dos ... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this li... |
unit View.CompanySelectForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateSelectForm, Data.DB,
JvComponentBase, JvFormPlacement, Vcl.Grids, Vcl.DBGrids, JvExDBGrids,
JvDBGrid, JvDBUltimGrid, V... |
{**********************************************************************}
{ }
{ "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 comp... |
unit Project87.Game;
interface
uses
QGame.Game,
QEngine.Core,
QEngine.Camera;
type
TProject87Game = class sealed (TQGame)
strict private
procedure PrepareUnavailableBuffer;
strict protected
function GetGameVersion(): string; override;
public
constructor Create;
procedure ... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
PROGRAM EXEMPLO10;
USES CRT;
VAR TEXTO1 : STRING;
BEGIN
CLRSCR;
{A variável TEXTO1 recebe a cadeia de caracteres: PROGRAMA DE COMPUTADOR}
TEXTO1:='PROGRAMA DE COMPUTADOR';
{O comando abaixo altera a primeira letra da cadeia armazenada na
variável TEXTO1 para T}
TEXTO1[1]:='T';
{Mo... |
unit FL01;
{
ULFL01.DPR***************************************************************
File: FL01.PAS
Library Call Demonstrated: cbFlashLED()
Demonstration: Flashes onboard LED
Other Library Calls: cbErrHandling()
Special Requirements: ... |
unit SQLite3WrapBlob;
interface
{$IFDEF MSWINDOWS}
uses
Windows, Classes, SQLite3Wrap, SQLite3;
type
{ TSQLite3BlobStream class }
TSQLite3BlobStream = class(TStream)
private
FHandle: SQLite3.PSQLite3Blob;
FOwnerDatabase: TSQLite3Database;
FTable: WideString;
FColumn: WideStr... |
unit TNsRemotePublish.Infrastructure.Config;
interface
uses
{$IFNDEF FPC}
System.IOUtils,
{$ELSE}
Quick.Files
{$ENDIF}
Quick.Logger,
TNsRestFramework.Infrastructure.Config,
TNsRemotePublish.Infrastructure.Models.Config;
type
TMainConfig = class(TNsBaseConfig)
private
fDebugMode : Boolean;
... |
unit OLAPSales;
interface
uses DataModul, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxClasses,
cxCustomData, cxStyles, cxEdit, cxContainer, cxFilter, cxData, cxDataStorage,
Data.DB, cxDBData, System.Classes, Vcl.ActnList, cxGridDBTableView,
cxGridLevel, cxGridCustomView, cxGridCustomTableVi... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Vcl.StdCtrls, FlyCapture2_C, FlyCapture2Defs_C, FlyCapUtils,
Vcl.Buttons, Vcl.Samples.Spin;
type
TMainFrm = class(TForm)
Memo: T... |
unit uFpcMem;
{$mode objfpc}{$H+}
interface
function SysGetmem(Size: ptrint): Pointer;
function SysFreemem(p: pointer): ptrint;
function SysFreememSize(p: pointer; Size: ptrint): ptrint;
function SysAllocMem(size: ptrint): Pointer;
function SysMemSize(p: pointer): ptrint;
function SysGetHeapStatus: THeapStatus;
funct... |
/// <summary>
/// Модуль содержит описание класса окна сведений о программе
/// </summary>
unit frmAbout;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls;
type
/// <sum... |
{$mode objfpc}
{$modeswitch objectivec2}
unit AppDelegate;
interface
uses
FGL, CocoaAll;
type
TDropImageView = objcclass (NSImageView, NSDraggingDestinationProtocol)
private
{ NSDraggingDestinationProtocol }
function draggingEntered (sender: NSDraggingInfoProtocol): NSDragOperation; overrid... |
unit aClasses;
interface
uses System.SysUtils, System.JSON;
type
TPushDevice = class
private
FDeviceId: string;
FDeviceToken: string;
FDeviceType: string;
FOSName: string;
FOSVersion: string;
FUserName: string;
FUserEmail: string;
FPushEnabled: boolean;
function G... |
{**********************************************************************}
{ }
{ "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 comp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.