text stringlengths 14 6.51M |
|---|
{****************************************************************************
* *
* An exponential backoff *
* *
* ... |
program Test3;
var n: integer;
procedure fib (a, b, i, n: integer);
begin
if i < n then
begin
writeln(a + b);
fib (a + b, a, i + 1, n)
end;
end;
begin
n := 10;
fib (0, 1, 0, n)
end. |
Uses ListUtils;
procedure AssertEq(expected,actual: string;what:string);
begin
assert(expected=actual,'Incorrect '+what+' "'+actual.ToString+'" got, but "'+expected.ToString+'" expected');
writeln(String.Format('{0,-28}', ' '+what+' = '+expected.ToString),' - OK');
end;
var
lst: List<string>;
val1, val... |
// =============================================================================
// Module name : $RCSfile: DeviceBase.pas,v $
// Description : This unit implements a base class of measurement device
// Compiler : Delphi 2007
// Author : 2015-08-14 /bsu/
// History : 2016-08-26 /bsu/ changed using gene... |
unit ItemView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.ComCtrls, GraphicsGPImage, Vcl.StdCtrls, Winapi.Shellapi,
Winapi.GDIPAPI, Winapi.GDIPOBJ,
VideoConvert... |
// ******************************************************************
//
// Program Name : AT Software_DNA Library
// Program Version:
// Platform(s) : Win32, Win64, OSX
// Framework : None
//
// Filename : AT.DNA.ResourceStrings.pas
// File Version : 1.00
// Date Created : 28-APR-2016
// Author ... |
unit ConfiguracoesSistema;
interface
uses SysUtils, Contnrs;
type
TConfiguracoesSistema = class
private
Fcodigo :Integer;
Fpossui_boliche :Boolean;
Fpossui_dispensadora :Boolean;
Fduas_vias_pedido :Boolean;
Fpreco_produto_alteravel :Boolean;
FUtiliza_comandas :Boolea... |
unit UGenGraph;
interface
uses windows,classes,Graphics,ImgLibObjs;
procedure GenGif(W,H : integer;
Color:TColor;
Style : integer;
const GifFileName:string);
implementation
procedure GenGif(W,H : integer;
Color:TColor;
Style : integer;
const GifFileName:string);
var
Gif : TImgLibObj;
begin
Gif := T... |
{***********************************************************}
{ Exemplo de lanšamento de nota fiscal orientado a objetos, }
{ com banco de dados Oracle }
{ Reinaldo Silveira - reinaldopsilveira@gmail.com }
{ Franca/SP - set/2019 }
{*********... |
unit BaseApp;
interface
uses
BasePath;
const
IsActiveStatus_Active = 1;
IsActiveStatus_RequestShutdown = 2;
IsActiveStatus_Shutdown = 3;
type
TBaseAppPath = class;
TBaseAppAgent = class;
PBaseAppData = ^TBaseAppData;
TBaseAppData = packed record
IsAct... |
unit Notification;
interface
uses System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, FMX.Layouts, FMX.Memo, FMX.DateTimeCtrls, DateUtils,
FMX.ListBox,
FMX.Controls.Presentation, FMX.Edit... |
(*
Copyright (c) 2011-2012, 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 ... |
unit uiwindow_wndproc_paint;
interface
uses
Windows,
Messages,
uiwin.memdc,
uiwindow;
function UIWndProcW_Paint(AUIWindow: PUIWindow; AMsg: UINT; wParam: WPARAM; lParam: LPARAM; var AWndProcResult: LRESULT): Boolean;
procedure UIWindowPaint(AUIWindow: PUIWindow; AMemDC: PWinM... |
{$O+} // Optimization must be ON
unit SZCRC32;
{ Version 1.0.0
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Software distribute... |
unit Model.FileUpload;
interface
uses
Graphics, System.SysUtils;
type
TFileUploader = class
public
class function BuildUniqueFileName(const oldfilename : string) : string;
class procedure Execute(name : String; picture : TPicture);
class procedure GetExistingPicture(name : String; picture : TPicture)... |
{ Routines that deal with a flattened display list structure formed from the
* DAG (directed acyclic graph). The flattened list is ordered so that any
* list entry can only depend on later, not earlier, list entries.
}
module displ_dagl;
define displ_dagl_open;
define displ_dagl_close;
define displ_dagl_displ;
%... |
unit uCadastroPadeiro;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids,
Vcl.Mask;
type
TReg = record
id:integer;
nome:string[255];
... |
unit DesignUtils;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit> DesignUtils
<What> 在Delphi IDE环境中发挥作用的辅助工具
Component Editor
Property Editor
Expert
Custom Module
<Written By> Huang YanLai
<History>
******************... |
unit UDocCommands;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 2003-2012 by Bradford Technologies, Inc.}
{ This is for processing commands the user initiates, like pressing a}
{ Transfer button on the form.... |
unit Unitlabrab1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TFormLab1 = class(TForm)
edtFirstAngle: TEdit;
edtSecondAngle: TEdit;
edtThirdAngle: TEdit;
bt... |
unit View.CityListForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, View.TemplateForm, Data.DB, Vcl.Menus,
GrdPMenu, JvComponentBase, JvFormPlacement, Vcl.Grids, Vcl.DBGrids,
JvExDBGrids, JvDBGrid, Vcl.Ex... |
unit Model.Entities.Cliente;
interface
uses
System.SysUtils;
type
TModelEntitiesCliente = class
private
FUF: string;
FCodigo: integer;
FNome: string;
FCidade: string;
procedure SetCidade(const Value: string);
procedure SetCodigo(const Value: integer);
procedure SetNome(const Valu... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit mainEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, SynEdit, Forms, Controls, Graphics, Dialogs,
Buttons, ExtCtrls, StdCtrls, core_text_Reader,inifiles;
type
{ TForm1 }
TForm1 = class(TForm)
keyEdit: TLabeledEdit;
Label1: TLabel;
openBtn: TSpeedButton;
openDial... |
unit uProdutoDao;
interface
uses uProduto, classes, DB, SysUtils, generics.defaults,
generics.collections, Dialogs, uDtM, uMySQLDao, FireDAC.Comp.Client;
type
TProdutoDAO = class(TMySQLDao)
private
FListaProduto: TObjectList<TProduto>;
procedure PreencherColecao(Ds: TFDQuery);
public
constructor ... |
unit uListarReceitaIngrediente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids,
Vcl.Buttons;
type
TRegReceitaIngrediente = record
id:integer;
receit... |
{ search-api
Copyright (c) 2019 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, pub... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit sDBBtns;
{$I sDefs.inc}
interface
uses Windows, Controls, Classes, DB, DBCtrls, sButton, Dialogs, sDialogs,
sSpeedButton, sBitBtn;
resourcestring
rsDeleteRecordQuestion = 'Delete this record?';
type
IsDBNavControl = interface
procedure EditingChanged;
procedure DataSetChanged;
... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Login dialog }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit uDatabase;
interface
uses
System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB;
type
TSQLDatabase = class
AdoSqlConnection: TADOConnection;
constructor Create(Server: string = ''; UserName: string = ''; Password: string = '');
destructor Destroy; override;
public
class function Connect... |
unit ObjStructViews;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Imglist, TypUtils, menus, ActnList;
type
TTreeViewAccess = class(TCustomTreeView);
TObjStructViews = class;
TAddObjectEvent = procedure (View : TObjStructViews; Obj :... |
unit MyDataSet;
interface
uses sysutils;
type
//分页信息
PPage = ^TPage;
TPage = class
protected
FStartIndex: Integer; // 起始索引,默认从0开始计数
FUsedCount: Integer; // 当前页已使用的Items数量
FItems: array of Pointer;
public
constructor Create(APageSize: Integer);
destructor Destroy; override;
end;
TM... |
program Test4;
function binomial_coeff( n, k: Integer ) : Integer;
var
i, res: Integer;
begin
res := 1;
if k > n - k then
k := n - k;
i := 0;
while i < k do
begin
res := res * (n - i);
res := res div (i + 1);
i :... |
unit uConfig;
interface
uses
SysUtils, Classes, IniFiles, System.IOUtils;
type
TAPINGMethodConfig = class
private
class function readStringFromIni(aFileName, aSection, aKeyname, aDefault: string): string;
class procedure writeStringToIni(aFileName, aSection, aKeyname, aValue: string);
public
... |
unit UUADGridDataSrc;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, Dia... |
unit DIOTA.Dto.Request.GetTransactionsToApproveRequest;
interface
uses
System.Classes,
REST.Client,
System.JSON.Builders,
DIOTA.IotaAPIClasses;
type
TGetTransactionsToApproveRequest = class(TIotaAPIRequest)
private
FDepth: Integer;
FReference: String;
protected
function GetCommand: String; ... |
unit uMarges;
// Cette unité contient quelques utilitaires pour l'impression
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Printers, uFun2;
type
TfrmMarges = class(TForm)
nbk: TNotebook;
LabHaut: TLabel;
labBas: TLabel;
... |
unit FViewFiles;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
tiListView, tiListViewPlus, ComCtrls, ExtCtrls, tiFileSync_Mgr,
tiFocusPanel, StdCtrls ;
type
TFormViewFiles = class(TForm)
pnlAdvanced: TPanel;
PC: TPageControl;
tsSource: TTabSheet;
lv:... |
unit AqDrop.Core.Collections.Intf;
interface
uses
System.SysUtils,
System.Generics.Defaults,
System.Generics.Collections;
type
IAqReadList<T> = interface
/// <returns>
/// EN-US:
/// Returns the items count of the list.
/// PT-BR:
/// Retorna a lista de itens da... |
unit MatrixUnit;
interface
type
matr=record arr:array[1..3, 1..3] of real;
end;
function outputmas(a:matr):matr;
function Add(a,b:matr):matr;
function Multiply(a,b:matr):matr;
function ScalarMultiply(a:matr; x:real):matr;
implementation
function outputmas(a:matr):matr;
var i,j:i... |
unit UVideoForm3;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs,QuartzTypeLib_TLB, Menus,AMovieUtils, AbilityManager;
type
TfmVideo = class(TForm)
PopupMenu1: TPopupMenu;
miPlay: TMenuItem;
miPause: TMenuItem;
miStop: TMenuItem;
N1: TMenuItem;
m... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(*
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... |
unit UActiveForms;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This unit manages the Active Forms that are displayed in the }
{ containers. It is smart about... |
unit DBTreeItems;
// %DBTreeItems : 继承TreeItems的类,处理来自数据库的层次信息
(***** Code Written By Huang YanLai *****)
interface
uses windows,sysutils,classes,IntfUtils,TreeItems,DB;
type
TCustomDBTreeEnvir = class
public
ItemDataSet, // Contains all items
ChildrenDataSet : TDataset; // containa... |
unit region;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,cell;
Type
{ TRegion }
TRegion = class(TInterfacedObject)
private
fName:string;
fId:TGUID;
fCells:TCells;
public
constructor create(regionName:string;regionId:TGUID;cells:TCells);
constructor create(regi... |
unit Vs.Auditor.Pedido.Venda;
interface
uses
// Vs
Vs.Pedido.Venda.Salvar.Eventos;
type
IAuditorPedidoVenda = interface
['{B811DCBA-A2F7-413A-B85F-27CBEEF57E73}']
function ExecutarAuditoriaPeloComercial(APedidoVendaSalvoEvento: IPedidoVendaSalvoEvento): Boolean;
end;
function AuditorPedidoVenda: IA... |
unit KittingPPReader;
interface
uses
Classes, SysUtils, ComObj, CommUtils, KittingKeyNumberReader;
type
TKittingPPSheet = class;
TKittingChild = class
public
FNumber: string;
FLT: Double;
FUsage: Double;
end;
TKittingNumber = class
private
FRows: TStringList;
FChilds: TS... |
unit PhysicsRigidBody;
interface
Uses dglOpenGL,
MapStructure,
Math,
PhysicsArifm,
Windows,
SysUtils,
Textures;
{#####################################################################}
TYPE
{####################################################... |
unit PrintBoard;
interface
uses Project, Graphics, Painter, PrintPainter, ColorScheme;
type TvePrinter = class
protected
Canvas : TCanvas;
FProject : TveProject;
FHoleDiameterCellThousandths : integer;
FScalePercent : integer;
FMirrored : boolean;
FMarginLeftMM : integer;... |
{*******************************************************************************
Copyright (C) Christian Ulrich info@cu-tec.de
This source 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 ... |
unit MainModule;
interface
uses
uniGUIMainModule, SysUtils, Classes, User, Data.DB, Data.Win.ADODB;
type
TUniMainModule = class(TUniGUIMainModule)
MainConnection: TADOConnection;
dstUser: TADODataSet;
procedure UniGUIMainModuleDestroy(Sender: TObject);
procedure MainConnectionBeforeConnect(Sender... |
unit UMyMediaSwitcher;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Buttons, StdCtrls, ExtCtrls, Grids, ImgList, utimeline;
Type
TMyMediaSwitcher = Class(TObject)
public
PenColor: tcolor;
FontColor: tcolor;
FontSize: integer;
Fo... |
unit Redis.Commons;
interface
uses
System.SysUtils;
var
RedisDefaultSubscribeTimeout: UInt32 = 1000;
type
ERedisException = class(Exception)
end;
TRedisConsts = class sealed
const
TTL_KEY_DOES_NOT_EXIST = -2;
TTL_KEY_IS_NOT_VOLATILE = -1;
NULL_ARRAY = '*-1';
end;
TRedisClientBase = cl... |
unit dll_ole32;
interface
uses
atmcmbaseconst, winconst, wintype, Intf_oledata;
const
ole32 = 'ole32.dll';
// CoCreateInstance
CLSCTX_INPROC_SERVER = 1;
CLSCTX_INPROC_HANDLER = 2;
CLSCTX_LOCAL_SERVER = 4;
CLSCTX_INPROC_SERVER16 = 8;
CLSCTX_REMOTE_SERVER = $10;
CLSCTX_INPROC... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit ormbr.model.status;
interface
uses
DB,
Classes,
/// orm
ormbr.mapping.attributes,
ormbr.mapping.register,
ormbr.types.mapping;
type
[Entity]
[Table('Tab_Status','Uso com StatusComboBox')]
[PrimaryKey('Id', AutoInc, NoSort, True, 'Chave primária')]
[Indexe('IDX_Descricao', 'De... |
unit DtDBLookupComboBox;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DbCtrls, strutils, LMessages;
type
//todo: implement RecoverMode
//TRecoverMode = (rmNone, rmClear, rmRestore);
TValidateDataEvent = procedure(Sender: TObject; var NewData: String... |
{*****************************************************************************
* The contents of this file are used with permission, subject to
* the Mozilla Public License Version 1.1 (the "License"); you may
* not use this file except in compliance with the License. You may
* obtain a copy of the License at
* ht... |
unit Form.FileCombineMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls,
ListView.EmptyMessage;
type
TFormFileCombineMain = class(TForm)
SaveDialogCombined: T... |
{***************************************************************}
{ Copyright (c) 2013 год . }
{ Тетенев Леонид Петрович, ltetenev@yandex.ru }
{ }
{*******************************************************... |
{ NIM/Nama : Dhafin Rayhan Ahmad }
{ Tanggal : 4 April 2019 }
Program suhu;
{ Membaca data suhu udara (integer) setiap hari dalam 20 hari dalam derajat celcius.
Program akan menuliskan semua nilai suhu, suhu tertinggi, dan suhu terendah. }
{ FUNGSI DAN PROSEDUR }
function findMax (arr : array of integer)... |
//---------------------------------------------------------
// GameVision (tm) Game Application Framework 2.x
// Copyright (c) 2002 JDS Games
// All Rights Reserved.
//
// TGVFrameRate Class
// used to calculate the elapsed time from frame to frame
// which can be applied to your game objects to keep them
// mo... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(* Output:
Enter two floats:
1.5
2.75
A: 1.5
B: 2.75
Addition (A+B): 4.25
Subtraction (A-B): -1.25
Multiplying (A*B): 4.125
Dividing (A/B): 0.5454545454545454
*)
program Test9;
var
a, b: real;
begin
writeln('Enter two floats:');
readln(a, b);
writeln('A: ', a);
writeln('B: ', b);
writeln('Addition (A+... |
{ LazDebian dialog to start the packaging
Copyright (C) 2012 Bernd Kreuss prof7bit@gmail.com
This source 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
opt... |
unit UMail;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TMail = class(TObject)
constructor Create;
destructor Destroy; override;
private
{ Private declarations }
FSubject: string;
FMailtext: string;
FFromName: string;
FFrom... |
unit csignaturepad;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget, systryparent;
type
TOnSignaturePadStartSigning=procedure(Sender:TObject) of object;
TOnSignaturePadSigned=procedure(Sender:TObject) of object;
TOnSignaturePadClear=procedure(Sender:TObject) of object;
... |
unit ufrmConta;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IBX.IBQuery, uLib, uConst, upConta, udmFinanc,
Data.DB;
type
TfrmConta = class(TFrame)
edCodigo: TEdit;
edDescricao: TEdit;
Label1: TLabel;
Label2: TLabel;
procedur... |
unit mbwebpanel;
{$MODE objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, ComCtrls, FileUtil, Forms, LCLProc, Graphics,
ExtCtrls, SyncObjs, StrUtils,
uCEFChromium, uCEFWindowParent, uCEFTypes, uCEFInterfaces,
mbfavicongetter;
type
{ TWebPanel }
TWebPanel = class(TTabSheet)
private
FChromi... |
unit mutex;
interface
uses threads, spinlock, kernel, config;
type
TMutexState = (msUnlocked, msLocked);
PMutex = ^TMutex;
TMutex = record
MutexGuard: TSpinlock;
State: TMutexState;
Owner: PThread;
Waiting: PThread;
end;
procedure CreateMutex(var Mutex: TMutex);
procedure DestroyMutex(var Mutex: TMutex... |
unit AT.DNA.VCL.Dlg.ValidationWarning;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
AT.DNA.VCL.Dlg.Base, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinBlueprint,
dxSkin... |
unit ufrmQueryConfig3;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmQueryConfig3 = class(TForm)
btnOk: TButton;
edtIdenticalColCount: TEdit;
Label3: TLabel;
edtCompare... |
unit QzPrint.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VirtualUI_SDK, Vcl.StdCtrls,
Vcl.ExtCtrls,Httpapp, Vcl.ComCtrls,Vui.Qz;
type
TForm1 = class(TForm)
Button3: TButton;
Pan... |
unit uCadastroProduto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uCadastroPadrao, DB, DBClient, StdCtrls, Grids, DBGrids,
DBGridCBN, ComCtrls, Buttons, ExtCtrls, contnrs, frameListaCampo, Mask,
ToolEdit, CurrEdit, Math, pngimage, frameBuscaMateriaPrima,... |
unit uformworkspace;
{$mode objfpc}{$H+}
interface
uses
inifiles, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
LazIDEIntf, StdCtrls, Buttons, ExtCtrls, ComCtrls, ComboEx,
FormPathMissing, PackageIntf;
type
{ TFormWorkspace }
TFormWorkspace = class(TForm)
BitBtnCancel: TBitBtn;
... |
unit UGame;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.ExtCtrls, FMX.Forms, FMX.Dialogs, FMX.Objects,
UMyImageList, FMX.StdCtrls, FMX.Graphics;
type
TFieldMap = array of array of byte;
TFormGame = class(TForm)
... |
unit UCL.TUEdit;
interface
uses
UCL.Classes, UCL.TUThemeManager, UCL.Utils,
System.Classes, System.SysUtils, System.Types,
Winapi.Windows, Winapi.Messages,
VCL.Controls, VCL.StdCtrls, VCL.ExtCtrls, VCL.Graphics, VCL.Forms;
const
UM_SUBEDIT_SETFOCUS = WM_USER + 1;
UM_SUBEDIT_KILLFOCUS = WM_USE... |
unit UConnectBank;
interface
uses
SqlExpr, inifiles, SysUtils, Forms;
type
TConexaoBanco = class
private
FConexaoBanco : TSQLConnection;
public
constructor Create;
destructor Destroy; override;
function GetConexao : TSQLConnection;
property ConexaoBanco : TSQLC... |
unit OAuth2.Grant.Password;
interface
uses
Web.HTTPApp,
OAuth2.Contract.Repository.User,
OAuth2.Contract.Repository.RefreshToken,
OAuth2.Contract.ResponseType,
OAuth2.Contract.Entity.User,
OAuth2.Contract.Entity.Client,
OAuth2.Contract.Grant.GrantType,
OAuth2.Grant.AbstractAuthorize;
type
TOAuth2P... |
{*******************************************************************************
This file is part of the Open Chemera Library.
This work is public domain (see README.TXT).
********************************************************************************
Author: Ludwig Krippahl
Date: 2014 02 24
Purpose:
Manage docking... |
{* S3M.PAS
*
* Scream Tracker 3 Module Player, v1.23
*
* Copyright 1995 Petteri Kangaslampi and Jarno Paananen
*
* This file is part of the MIDAS Sound System, and may only be
* used, modified and distributed under the terms of the MIDAS
* Sound System license, LICENSE.TXT. By continuing to use,
... |
unit DataModels;
{ Author: Sergey Bodrov (serbod@gmail.com) 2010-2017 }
{$ifdef FPC}
{$mode objfpc}{$H+}
{$endif}
interface
uses
Classes, SysUtils, Controls, StdCtrls, ComCtrls, DataStorage;
type
TListItemRec = class
public
ListObj: TObject;
Index: Integer;
end;
{ TListItem... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit RadStudioHelpers.Example.ListVertScrollBox.FrmMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts,
FMX.Controls.Presentation, FMX.StdCtrls;
type
TFrmMain = class(TForm)
Layou... |
unit Menus.Controller.ListaBox.Default;
interface
uses Menus.Controller.ListBox.Interfaces, System.Classes, FMX.ListBox, FMX.Types;
Type
TControllerListBoxDefault = class(TInterfacedObject,
iControllerListBoxDefault)
private
FContainer : TComponent;
FListBox : TListBox;
public
const... |
UNIT Engine;
(*< Defines base classes for different parts of the game. *)
(*
Copyright (c) 2019 Guillermo Martínez J.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is g... |
unit FontStyleDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, FontStyles, StdCtrls, Buttons, ExtCtrls;
type
TdlgFontStyles = class(TForm)
ListBox1: TListBox;
FontDialog1: TFontDialog;
edStyleName: TEdit;
Label2: TLabel;
Label1: TLabel;
... |
{==============================================================================
Iris Model Editor - Copyright by Alexander Oster, tensor@ultima-iris.de
The contents of this file are used with permission, subject to
the Mozilla Public License Version 1.1 (the "License"); you may
not use this file except in ... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, FMX.MultiView, FMX.Edit,
FMX.Grid.Style, FMX.ScrollBox, FMX.Grid,... |
unit NovaReserva;
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.StdCtrls, FMX.Controls.Presentation, FMX.Edit, FMX.Effects, FMX.Layouts,
FMX.ListView.Types, FMX.ListView.... |
{******************************************************************************}
{ CnPack For Delphi/C++Builder }
{ 中国人自己的开放源码第三方开发包 }
{ (C)Copyright 2001-2012 CnPack 开发组 }
{ ... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit StructureParameters;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 3.3.0 }
{ (c) J. W. Dietrich, 1994 - 2014 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2013 }
{ This unit implements an editor for structure parame... |
// AppOnIdle runs once every second (60 ticks) by default.
procedure AppOnIdle(ticks: integer);
begin
if (ticks mod AppOnIdleTimer <> 0) then exit;
end;
// ActivateServer runs on startup, and after the script gets (re)compiled.
procedure ActivateServer();
var playerId: byte;
begin
for playerId := 1 to 32 do ... |
unit UPgView;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
//this is the real one
uses
Messages, Windows, SysUtils, Classes,Graphics, Controls, Fo... |
unit LUX.Draw.Viewer;
interface //#################################################################### ■
uses System.Types, System.UITypes, System.Classes,
FMX.Graphics, FMX.Controls, FMX.Forms,
LUX, LUX.D1, LUX.D2,
LUX.Draw.Scene, FMX.Types, FMX.Objects;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$... |
{
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 uliable;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, uZMaster, ExtCtrls, StdCtrls, dxExEdtr, dxEdLib,
dxCntner, dxEditor, dxTL, dxDBCtrl, dxDBGrid, ImgList, IBSQL, IBDatabase,
DB, IB,
kernel_h, editors_h, popup_h, etalon_dlg;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.