text stringlengths 14 6.51M |
|---|
unit bluetoothserversocket;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
{Draft Component code by "Lazarus Android Module Wizard" [5/16/2014 14:48:33]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
TOnConnected = procedure(Sender: TObject; deviceName: string; deviceAddres... |
unit VersionInfo;
interface
uses
{$IFDEF MSWINDOWS}
Windows,
{$ENDIF}
{$IFDEF LINUX}
Types,
{$ENDIF}
Classes;
type
TVersionNumber = packed record
case integer of
0 : (Minor, Major, Build, Release : word);
1 : (MS, LS : cardinal);
2 : (Bytes : array[0..7] of byt... |
unit Res;
interface
resourcestring
{main}
sAppName = 'Hex Editor';
sNeedSaveQuestion = 'File "%s" has been changed. Do you want to save it?';
sStatusDigit = 'Digit: %d';
sStatusPosDec = 'Pos: %d';
sStatusPosHex = 'Pos: %x';
sModified = 'Modified';
sOverwrite = 'Overwrite';
sInsert = 'Insert';
sNon... |
unit UAppController;
interface
uses
UConnection;
type
TAppController = class
private
conn: TConnection;
public
Constructor Create;
function CheckIfExistInDatabase(table: string; column: string;
value: string): boolean;
function CheckIfNotExistInDatabase(ta... |
{
TDesktopInfo Component Version 2.0b - Suite GLibWMI
Copyright (©) 2009-2013, by Germán Estévez (Neftalí)
La clase WMI Win32_Desktop representa las características comunes del escritorio del usuario. Las propiedades de esta clase son modificables por el usuario para personalizar el escritorio.
Utiliz... |
unit ucheckerboard;
{$CODEPAGE UTF8}
{$mode objfpc}{$H+}
(*
Implementation of "Straddling checkerboard" (нерегулярная таблица) encoding.
*)
interface
uses
{$ifdef unix}
cwstring, //for right Unicode handling on *nix
{$endif}
Classes, SysUtils, contnrs, lazUTF8, uspybeauty, Dialogs;
type
TCodeTable = o... |
unit MainFormU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Generics.Collections;
type
TForm6 = class(TForm)
btnSpeedTest: TButton;
Memo1: TMemo;
procedure Button1Click(Sen... |
{
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even ... |
unit RepositorioEndereco;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioEndereco = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificad... |
unit Main;
{$include kcontrols.inc}
interface
uses
{$IFDEF FPC}
LCLType, LCLIntf, LResources,
{$ELSE}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ActnList, ComCtrls, StdCtrls, Menus, ToolWin, ExtCtrls, ImgList,
KEditCommon, KHexEditor, KControls, KDialog... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
unit Auditoria;
interface
uses
Usuario,
Contnrs;
type
TAuditoria = class
private
FCodigo :Integer;
FCodigoUsuario :Integer;
FHora :TDateTime;
FNomeTerminal :String;
FNomeTabela :String;
FData :TDateTime;
FUsuario :TUsuario;
... |
unit ServiceIntf;
interface
uses
SynCommons,
mORMot,
System.SysUtils,
System.Generics.Collections;
type
INotifyCallback = interface(IInvokable)
['{EA7EFE51-3EBA-4047-A356-253374518D1D}']
procedure Init(const GroupValueCount, ExportGroupValueCount, MaxGroupCount: Cardinal;
CodeNameSort: string... |
//This file is a part of ANNSI-Project
//
//(c)2007/2008 by MAD-Crew
//Marcel S.,Alex L. D., Dimitri M.
unit MathUtils;
interface
type
CMatrix2DField = record
m11: Single;
m12: Single;
m13: Single;
m21: Single;
m22: Single;
m23: Single;
m31: Single;
m32: Single;
... |
//************************************************************************
//
// Program Name : AT Library
// Platform(s) : Android, iOS, Linux, MacOS, Windows
// Framework : Console, FMX, VCL
//
// Filename : AT.MRUList.pas
// Date Created : 05-AUG-2014
// Author : Matthew Vesperman
//
// Des... |
{ .$DEFINE GENERICS }
unit UGame;
interface
uses System.Classes, System.SysUtils
{$IFDEF GENERICS} System.Generics.Collections, System.Generics.Defaults
{$ENDIF};
const
gamecolors: Array [0 .. 4] of cardinal = ($FF3B303E, $FF0065C3, $FFB70027,
$FF248A00, $FFB76700);
type
IDisplay = interface... |
unit DW.MediaLibrary;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ ... |
{==============================================================================*
* Copyright © 2020, Pukhkiy Igor *
* All rights reserved. *
*============================================================================... |
unit Delphi.Mocks.Example.ProjectSaveCheckVisitor;
interface
type
{$M+}
IVisitor = interface;
IElement = interface
['{A2F4744E-7ED3-4DE3-B1E4-5D6C256ACBF0}']
procedure Accept(const AVisitor : IVisitor);
end;
IVisitor = interface
['{0D150F9C-909A-413E-B29E-4B869C6BC309}']
procedure Visit(co... |
(*
this file is a part of audio components suite v 2.4.
see the license file for more details.
you can contact me at mail@z0m3ie.de
*)
unit acs_strings;
interface
resourcestring
strCoudntloadLib = 'Library %s could not be loaded.';
strcoudntopendevice = 'Could not open de... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme.atbx.net/secure/ws/mat/MarketConditionServer.php?wsdl
// >Import : http://carme.atbx.net/secure/ws/mat/Market... |
unit frmMainUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
Buttons, Spin, TvebArbolUnit;
type
{ TfrmMain }
TfrmMain = class(TForm)
btnCrearArbol: TBitBtn;
btnDestruirArbol: TBitBtn;
btnInsertar: TBitBtn;
... |
program connect6; {Pierwszy program zaliczeniowy laboratorium WPI Franciszek Jemiolo}
const
LICZBA_KOLUMN=20; {stala przechowujaca informacje dotyczace ilosci kolumn}
POCZATKOWA_KOLUMNA=0; {jaki jest indeks pierwszej kolumny}
POCZATKOWY_WIERSZ=0; {jaki jest indeks pierwszego wiersza}
LICZBA_WIERSZY=20; {... |
{-----------------------------------------------------------------------------
Unit Name: DUSettings
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Use Mozilla-like configuration files or INIs through a simple
object interface.
History: 2006-08-01 initial release
----------------------... |
unit AllocateHWnd;
interface
uses
System.SysUtils, System.Classes, System.SyncObjs, Winapi.Messages, Winapi.Windows;
function ThreadAllocateHWnd(AMethod: TWndMethod; MessageOnly: Boolean): HWND;
procedure ThreadDeallocateHWnd(Wnd: HWND);
implementation
const
GWL_METHODCODE = SizeOf(Pointer)*0;
GWL_METHODDATA... |
unit MainFMX;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, Androidapi.JNIBridge, Androidapi.JNI.Embarcadero,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
Androidapi.JNI.AdMob, Androidapi.JNI.JavaTypes, FMX.Advertising,
FMX.Con... |
unit SMS.RESTAPI.ServiceU;
interface
uses
SmsBO;
type
ISMSRESTAPIService = interface
['{CA2FCE5E-C368-4230-A2A2-D1734288E9DE}']
function PopSMS: TSMS;
procedure PushSMS(ASMS: TSMS);
end;
function BuildSMSRESTApiService: ISMSRESTAPIService;
implementation
uses
MVCFramework.Serializer.JSON, Sy... |
unit zTreeViews;
interface
uses
Windows, Messages, Classes, Controls, ComCtrls, ShellApi;
type
// Событие "щелчек по иконке статуса"
TOnTreeNodeStateIconClick = procedure(Sender : TObject; Node : TTreeNode) of object;
TOnNewTreeNodeSetState = procedure(Sender : TObject; Node, NewNode : TTreeNod... |
unit AqDrop.Core.SerializationServices;
interface
uses
System.Classes;
type
{TODO: passar para o padrao Instance ou DefaultInstance}
TAqSerializationServices = class
public
class function Serialize(const pComponent: TComponent): string;
end;
implementation
{ TAqSerializationServices }
... |
unit fmCalcPatterns;
interface
uses
math,
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniGUIBaseClasses, uniButton, uniPanel, uniMemo;
type
TCalculadoraDisplayChange = procedure(Sender: TObject... |
{*****************************************************************************}
{ BindAPI }
{ Copyright (C) 2020 Paolo Morandotti }
{ Unit plBindAPI.BindManagement }
... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit winconst_key;
interface
const
{ WM_KEYUPDOWNCHAR HiWord(lParam) flags }
KF_EXTENDED = $100;
KF_DLGMODE = $800;
KF_MENUMODE = $1000;
KF_ALTDOWN = $2000;
KF_REPEAT = $4000;
KF_UP = $8000;
{ Virtual Keys, Standard Set }
VK_LBUTTON = 1;
VK_RBUTTON = 2;
VK_CANCEL ... |
{hint: Pascal files location: ...\AppTableLayoutDemo1\jni }
unit unit1;
{$mode delphi}
interface
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, AndroidWidget, Laz_And_Controls, tablelayout;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jForm)
TableLayout1... |
unit PrintPainter;
interface
uses Project, Graphics, Painter, BoardPainter, ColorScheme;
type TPrinterComponentText = ( ctNone, ctDesignators, ctValues );
(*******************************************************
SIMPLE CLASS PAINTS ON A CANVAS IN PRINTER STLYE
Canvas can be Printer.Canvas or W... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU 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 is ... |
unit Module.Executting;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CMW.ModuleStruct, Vcl.ExtCtrls, Vcl.ComCtrls, CMW.Utils, Vcl.ImgList, CMW.OSInfo;
type
TFormExec = class(TForm)
procedure FormKeyUp(S... |
unit ChoosingPresent;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDialog, Vcl.ActnList, dsdAction, System.DateUtils,
cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls,
cxLookAndFeels,... |
//---------------------------------------------------------------------------
// 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 ... |
unit NtUtils.Files.Open;
{
This modules provides interfaces and functions for opening and creating files.
}
interface
uses
Ntapi.ntdef, Ntapi.ntioapi, Ntapi.ntseapi, NtUtils, NtUtils.Files,
DelphiApi.Reflection;
{ Parameters Builder }
const
fnNative = TFileNameMode.fnNative;
fnWin32 = TFileNameMode.fnWin... |
unit SharedApplication;
{$IFDEF FPC}
{$mode delphi}
{$modeswitch objectivec1}
{$ENDIF}
interface
uses
SysUtils, Classes, FMX_Types
{$IFDEF FPC}
, iPhoneAll
{$ENDIF}
;
type
TiOSIconBadge = class(TFmxObject)
private
function GetNumber: Integer;
procedure SetNumber(const Value: In... |
{Hint: save all files to location: C:\lamw\workspace\AppHttpClientDemo3\jni }
unit unit1;
{$mode delphi}
interface
uses
Classes, SysUtils, AndroidWidget, Laz_And_Controls, opendialog;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jForm)
jButton1: jButton;
jCheckBox1: jCheckBox;
jEditText1: ... |
// see ISC_license.txt
{$I genLL.inc}
unit SpokolLexer;
interface
uses
Sysutils, Runtime;
const
LEX_WHITESPACE = 1;
LEX_COMMENT = 2;
LEX_IDENT = 3;
LEX_CONST_INT = 5;
LEX_CONST_REAL = 6;
LEX_CONST_STRING = 7;
LEX_ASSIGN = 8; // :=
LEX_EQUAL = 9; // ... |
unit uRunScript;
// *********** Окно запуска скрипта, вводимого пользователем ***********
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, zUserScripting, zAVKernel, zLogSystem,
ComCtrls;
type
TRunScriptDLG = class(TForm)... |
unit KSStrUtils;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>StrUtils
<What>字符串处理函数
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses SysUtils, Classes;
(***************... |
program eleicao;
{*
Algoritmo em Pascal para coleta e apuração de votos - versão simplificada sem vetores
* @author Wanderlei Silva do Carmo <wander.silva@gmail.com>
* @version 1.0
* 18/03/2015
*}
uses crt;
var
joaquim, maria, pedro, nulos, brancos: integer;
voto,votos_apurados: integer;
procedure ... |
unit DBDataTableFormPropertiesStorage;
interface
uses
IObjectPropertiesStorageUnit,
DBDataTableFormUnit,
DBDataTableFilterFormStatePropertiesStorage,
SysUtils,
Classes;
type
TDBDataTableFormPropertiesStorage = class abstract (TInterfacedObject, IObjectPropertiesStorage)
protected
FFilterFor... |
unit ControlLayoutItem;
interface
uses
Windows,
LayoutItem,
Controls,
StdCtrls,
SysUtils,
Classes;
type
TControlLayoutItem = class (TLayoutItem)
protected
FControl: TControl;
function GetLeft: Integer; override;
function GetTop: Integer; override;
function GetHeight: In... |
unit ShowAboutModel;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 4.0.4 (Merlion) }
{ (c) J. W. Dietrich, 1994 - 2021 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2021 }
{ This unit draws a window with addit... |
unit PaidKindTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest ;
type
TPaidKindTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TPaidKind = class(TObjectTest)
private
function InsertDefault: integer; override;
pub... |
unit ImageFXs;
// %ImageFXs : 特殊效果图像
(***** Code Written By Huang YanLai *****)
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TCustomFXPainter = class;
// %TImageFX : 特殊效果图像,特殊效果来自TCustomFXPainter
TImageFX = class(TImage)
private
{ Priva... |
(*
ENUNCIADO
Uma matriz quadrada A n×n é considerada triangular quando os elementos que estão acima da sua diagonal principal são
todos nulos (matriz triangular inferior) ou quando os elementos que estão abaixo de sua diagonal principal são todos
nulos (matriz triangular superior). Vejamos dois exemplos de matrizes ... |
copy stringpack.pas stringpack.old
del stringpack.pas;*
edit stringpack.pas
c
TYPE StopperType = SET OF Character;
FUNCTION GetString(VAR S: String;
Stoppers: Stoppertype;
F: Filedesc): boolean;
{Gets a string from file F until a stopper is rea... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme.atbx.net/secure/ws/awsi/ClickformsServer.php?wsdl
// >Import : http://carme.atbx.net/secure/ws/awsi/Clickform... |
unit KM_PathFindingAStarOld;
{$I KaM_Remake.inc}
interface
uses SysUtils, Math, KromUtils, KM_PathFinding,
KM_CommonClasses, KM_Defaults, KM_Terrain, KM_Points;
type
//This is a helper class for TTerrain
//Here should be pathfinding and all associated stuff
//I think we should refactor this unit and move some... |
unit uAtribEntity;
interface
type
TTipoLigacao = (Inner, Left, Nenhum);
type
NomeTabela = class(TCustomAttribute)
private
FNome_Tabela: string;
public
constructor Create(nome_tabela: string);
property Nome_Tabela: string read FNome_Tabela write FNome_Tabela;
end;
DadosColuna ... |
unit TestRestClient;
interface
{$I DelphiRest.inc}
uses {$IFNDEF FPC}DUnitX.TestFramework,DUnitX.DUnitCompatibility, {$ELSE}fpcunit, testregistry, {$ENDIF}RestClient, HttpConnection, Classes, SysUtils, RestException;
type
TTestRestClient = class(TTestCase)
private
FRest: TRestClient;
FCustomCreateConnec... |
unit uClassePassagemAno;
interface
uses
uDMPrincipal, constTipos, uFuncoesGeral, classes, uDMAction,
uPrincipal, SysUtils, uClasseBoletim, processo, Variants,
ZAbstractRODataset, ZAbstractDataset, ZDataset, Windows, Controls; //,funcoes; //, ModuloModuloACADESC,
type
TOnSetStatusText = procedu... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit JLSideBar;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, ExtCtrls, Graphics;
type
TJLSideBar = class(TCustomControl)
private
procedure CmMouseEnter(var Message: TMessage); message CM_MOUSEENTER;
procedure CmMouseLeave(var Message: TMessage); message CM_MOUSELEAVE;
pr... |
unit uExemplo_Funcoes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm9 = class(TForm)
btnFuncoes: TButton;
mmFunction: TMemo;
procedure btnFuncoesClick(Sender: TObject);... |
unit AqDrop.Core.DataCursor;
interface
uses
System.Generics.Collections,
AqDrop.Core.InterfacedObject,
AqDrop.Core.Collections.Intf,
AqDrop.Core.DataCursor.Intf;
type
TAqBaseDataCursor<T> = class(TAqARCObject, IAqBaseDataCursor<T>)
strict private
FCurrentIndex: Int32;
function Get... |
unit XFaceTransferInMonochromeBitmap;
(*
* Compface - 48x48x1 image compression and decompression
*
* Copyright (c) James Ashton - Sydney University - June 1990.
*
* Written 11th November 1989.
*
* Delphi conversion Copyright (c) Nicholas Ring February 2012
*
* Permission is given to distribute these sou... |
unit uDetOrder;
interface
uses System.Classes, uProduct, uOrder;
type
TDetOrder = class(TComponent)
private
Fcodigo : Integer;
Fqtd : Integer;
FvlUni : Currency;
FvlTot : Currency;
Fproduto : TProduct;
Fpedido : TOrder;
public
function SetCodigo(aCodigo: Integer): TDetOrder;
fun... |
unit Constants;
interface
uses
classes, sysutils, graphics;
const
constCurveColors: array[0..14] of tColor = ( clBlue, clGreen, clBlack, clDkGray, clMaroon, clNavy,
clOlive, clPurple, clTeal, clFuchsia, clAqua, clGray,
clLime, clYellow, clLtGray );
//типы ограничит. линий пиков
// CUTLINE_BASELINE: byt... |
unit UGPSConnector;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ZylGPSReceiver,
UContainer, UForms;
type
TGPSConnection = class(TAdvancedForm)
Panel1: TPanel;
edtLatDeg: TEdit;
edtLatMin: TEdit;
edtLatSec: TEdit;
e... |
unit Ship;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel;
type
IBaseShip = interface(IBaseModel) ['{9ABB15B8-ACDF-4752-87BF-04268EF96CEB}']
function GetAbs: LongWord;
function GetActive: Boolean;
function GetClassSize: LongWord;
function GetCourseDegrees: Double;
function ... |
//---------------------------------------------------------------------------
// 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... |
unit FunkceVyznam;
{
Trida TFuncsVyznam, resp. jeji instance FuncsFyznam si udrzuje seznam vyznamu
funkci hnacich vozidel platnych pro cele kolejiste. Polozkami senzmau jsou
napriklad "houkačka dlouhá", "trubka vlakvedoucího", ...
Vyznamy jsou udrzovany v jednoduchem senzamu "vyznamy".
}
interface
uses Gene... |
unit uListarPadeiros;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.Buttons,
Vcl.ExtCtrls;
type
TReg = record
id:integer;
nome:string[255];
... |
(**********************************************************************
Copyright 1998-2003, Microchip Data Systems / Carl Bunton
Under license agreement, this source module may be used only on a
single computer.
No portion of this module may be reproduced, copied, revised, edited,
distributed or transmit... |
unit PostgresTableMapping;
interface
uses
DBTableMappingUnit,
TableMappingUnit,
TableColumnMappingsUnit;
type
TPostgresTableMapping = class (TDBTableMapping)
public
function GetUpdateListForMultipleUpdates(
const VALUESRowsLayoutName: String
): String;
end;
implementation
{ T... |
unit TradeMarkTest;
interface
uses dbTest, dbObjectTest, ObjectTest;
type
TTradeMarkTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TTradeMark = class(TObjectTest)
function InsertDefault: integer; override;
public
function Insert... |
unit ProviderExample;
interface
uses
System.Generics.Collections,
DUnitX.Types,
DUnitX.InternalDataProvider,
DUnitX.TestDataProvider,
DUnitX.TestFramework;
type
//Just a record for doing a List of Data
TTestData = Record
Val1,Val2 : integer;
AddExpect : integer;
... |
//***************************************************************************
//
// 名称:RTXC.ClientObjectsEventSink.pas
// 工具:RAD Studio XE6
// 日期:2014/11/8 15:11:56
// 作者:ying32
// QQ :396506155
// MSN :ying_32@live.cn
// E-mail:yuanfen3287@vip.qq.com
// Website:http://w... |
(*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU 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 is distributed in the hope that it will be use... |
unit brightness;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
{Draft Component code by "Lazarus Android Module Wizard" [28/06/2018 18:34:01]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jControl template}
jBrightness = class(jControl)
private
public
constructor... |
unit UPopUpButtons;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons,
StdCtrls, ImgList, ExtCtrls;
type
TTransparentForm = class(TForm)
procedure FormHide(Sender: TObject);
procedure FormShow(Sender: TObject);
private
FMouseOn:Boolean... |
unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
System.Threading,
Redis.Commons,
Redis.Client,
Redis.NetLib.INDY,
Redis.Values
;
... |
unit fClientForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
uROClient, uROClientIntf, uRORemoteService, uROBinMessage, uROWinInetHTTPChannel,
Data.DB, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls,
uROChannelAwareComponent, uROBaseConnection, ... |
{ //************************************************************// }
{ // // }
{ // Código gerado pelo assistente // }
{ // // }
{ // Projeto MVCBr ... |
unit CommonEnums;
interface
type
TComponentType = (UNKNOWN = -1, MEDIATOR = 0, MPE, ARM, AGENT, MSGSOURCE,
HARMONYDATAPROVIDER, HARMONYDATARECEIVER, HARMONYSERVER,
JOBMANAGER, CONSOLE, LRDEMO, WEBSERVICES, AIENGINE);
TComponentServiceRequestType = (INVALID = -1, ... |
unit uCursos;
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, ConstTipos, Menus, DBClient, Provider, ZAbstra... |
PROGRAM XPrint(INPUT, OUTPUT);
VAR
Ch: CHAR;
PROCEDURE Print(VAR Ch: CHAR);
CONST
Min = 1;
Max =25;
Symbole = 'X';
VAR
Sieve: SET OF Min..Max;
I : INTEGER;
BEGIN{Print}
CASE Ch OF
'A': Sieve := [3, 7, 9, 12, 14, 16 .. 21, 25];
'B': Sieve := [1 ..4, 6, 10 .. 14, 16, 20 .. 24 ]; ... |
unit SectionStackedFormViewModel;
interface
uses
SectionSetHolder,
SectionRecordViewModel,
VariantListUnit,
Controls,
SysUtils,
Classes;
type
TSectionStackedFormViewModel = class
private
type
TSectionControlMap = class
private
type
TSectionC... |
unit OverWrite_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Advanced;
type
TdlgOverWrite = class(TForm)
gbInfo: TGroupBox;
Label2: TLabel;
Label3: ... |
unit fPrincipal;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs;
type
TfrmPrincipal = class(TForm)
btnTratamentoStackExcecoes: TButton;
btnSintaxe: TButton;
procedure btnTratamen... |
unit TestServer;
interface
uses
TestFramework, Server, DSharp.Testing.Mock;
type
TProtocolServerTest = class(TTestCase)
private
// remember to put the {$M+} on your interface or you will get the "unable to create mock" error later
FMockServer: Mock<IServer<string, Boolean>>;
FProtocolServer: TProto... |
unit RecordsWithForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox,
FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMe... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
{ @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 Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ExIniFile, XPMan;
type
TMainForm = class(TForm)
pnlAccept: TPanel;
IniFile: TExIniFile;
XPManifest: TXPManifest;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender:... |
unit uTaskScheduler;
// Њенеджер заданий планировщика задач
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Grids, RXGrids, zTaskScheduler,
zHTMLTemplate,AuxProcs,zAVZKernel, zLogSystem, zSharedFunctions;
type
TTaskSched... |
unit Reserva;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.StrUtils,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base,
FMX.ListView, FMX.Edit, FMX.Effects,... |
unit imagebutton;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget, systryparent;
type
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [5/26/2022 15:40:13]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jVisualControl template}
jImageButton = clas... |
{
Asynchronous wrapper around Synapse TBlockSocket.
Sergey Bodrov, 2012-2016
When using UDP, remember, that it not session protocol, data delivery and correct
order not guaranteed. To start receive tde data, you must send empty packet to
remote side, it tell remote side return address.
Properties:
Remote... |
unit ULayersFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CheckLst,
Vcl.ComCtrls,
GMLib.Map.Vcl, Vcl.ExtCtrls;
type
TLayersFrame = class(TFrame)
cbActive: TCheckBox;
pAP... |
unit tm_utils;
// {$mode objfpc}{$H+}
interface
uses Classes, SysUtils;
function tm_is_alpha(c: Char): Boolean;
function tm_is_numeric(c: Char): Boolean;
function tm_is_operator(c: Char): Boolean;
function tm_is_whitespace(c: Char): Boolean;
function isIdentifier(op: Byte): Boolean;
function isMathOp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.