text stringlengths 14 6.51M |
|---|
namespace Moshine.UI.UIKit;
uses
Foundation,
UIKit;
type
DateTimePicker = public class(UIView,
IUITableViewDataSource, IUITableViewDelegate,IUICollectionViewDataSource, IUICollectionViewDelegate)
private
contentHeight: CGFloat := 310;
_backgroundViewColor:UIColor := UIColor.clearCo... |
unit DBF;
{&Use32-}
{*******************************************************}
{ }
{ DBF.pas }
{ }
{ a database engine for interfacing to *.DBF files }
{... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit CatCSUtils;
{
Console Utils
Useful routines for console applications
Copyright (c) 2013 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
Portions extracted from CRT32 written by Attila Szomor, based on
Frank Zimmer's freeware CRT32 library
}
interfac... |
// GLGraphics
{: Egg<p>
Fonction utilitaires graphiques<p>
<b>Historique : </b><font size=-1><ul>
<li>20/02/01 - Egg - Fixed SetHeight & SetWidth (thx Nelson Chu)
<li>14/02/01 - Egg - Simplified RegisterAsOpenGLTexture
<li>15/01/01 - Egg - Fixed RegisterAsOpenGLTexture (clamping)
<... |
unit NovusDateUtils;
interface
Uses NovusStringUtils, NovusUtilities, SysUtils, Classes, Windows, XSBuiltIns,
System.DateUtils ;
Type
Months = array[1..12] of Word;
Const
UnixStartDate = 25569.0;
iMinYIndex = 1;
iMaxYIndex = 10;
TWOZERO = '20';
ONENINE = '19';
MonthsArray:array[1..12] of String... |
unit uCAP_Mgmt;
{##################################################################################}
(*!*EXTENDED COMMENT SYNTAX !*)
(** This unit uses extended syntax for comments **)
(** You don't need to support this, but it's more likely to be readable **)
(** if you d... |
unit District;
interface
uses BaseObjects, Classes, Registrator, ParentedObjects;
type
TDistrictType = (dtState, dtRegion, dtSubRegion);
TDistricts = class;
TDistrict = class;
// организация
TDistrict = class (TRegisteredIDObject, IParentChild)
private
FMainDistrictID: integer;
FSubDistricts: T... |
unit Model.EMPRESA.Interfaces;
interface
uses
Data.DB,
SimpleInterface,
Model.Entity.EMPRESA;
type
iModelEMPRESA = interface
['{A0BCF476-8BE1-4450-B431-680872E8FC55}']
function Entidade : TEMPRESA;
function DAO : iSimpleDAO<TEMPRESA>;
function DataSource(aDataSource : TDataSource) : iModelEMP... |
Unit PCX256; { Show & Save PCX on 320x200x256 mode }
Interface
{Uses Dos,CRT;}
Procedure Load_PCX256(Dx, Dy : Word; Name : String);
Procedure Save_PCX256(FN : String);
Implementation
Uses VGA256;
Type
ArrayPal =array [0..15, 0..2] of byte; { 16 colors of (R,G,B) }
Const
PALETTEMAP: ArrayPal=
{ R ... |
unit UMyBackupDataInfo;
interface
uses UFileBaseInfo, Generics.Collections, UDataSetInfo, UMyUtil, DateUtils, classes;
type
{$Region ' 数据结构 ' }
// 备份 Item 信息
TBackupItemInfo = class
public // 路径信息
BackupPath : string;
IsFile : Boolean;
public // 可选状态
IsDisable, IsBackupNow : Boolean;
publ... |
unit UMainForm;
interface
uses Windows, Messages, CommCtrl, UxlWindow, UxlWinClasses, UxlFunctions, UPluginManager, UIOHandler,
UxlList, UxlStrUtils, UxlDialog, UxlFile, UxlClasses, UxlExtClasses, UxlTreeView, UTreeNavigator, UPageFactory, UTypeDef,
UDialogs, UGlobalObj, Resource, UMenuManager, USpecialMode... |
{-------------------------------------------------------------------------------
Programa..: UCadastroComposicaoProdutoFinal
Empresa...: Sulapsso Informatica
Finalidade: Cadastro de Composição Produto Final
Autor Data Operação Descrição
Verlan Fernandes JUL/2020 Criação
----------------------... |
{ Function STRING_EQUAL (TOKEN,PATT)
*
* Determine if the two strings are identical. The length of the two
* strings must be the same, and all characters of the strings must
* match. The max allowable length of the strings does not matter.
*
* If this is used for token matching, then the token must match th... |
unit TabInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TLoadType = (ltLoadLayout, ltLoadLayoutSafe, ltSaveLayout, ltNewLayout, ltRenameLayout, ltLoadTab, ltSaveTab, ltNewTab);
TTabInfoForm = class(TForm)
TabEdit: TEdit;
... |
unit OleBtn;
interface
uses
Windows, ActiveX, Classes, ShellAPI, ShlObj, SysUtils, OleData, SetBtn,
pidl, BtnPro, Dialogs;
type
//-------------------------------------------------------------------
// IDropSource の実装
//-------------------------------------------------------------------
TDropSource = clas... |
unit NoBo;
(* **********************************************
*** MOVING BORDERLESS FORMS ***
*** ***
*** Unit for moving and resizing ***
*** borderless forms. ***
*** ***
*** ... |
unit UCtrlListContacts;
interface
uses System.SysUtils
// nécessaire pour obtenir la date système, le type TFileName
, System.Generics.Collections
// nécessaire pour la déclaration de liste d'objets
, System.Generics.Defaults, System.Classes, System.types,
System.NetEncoding, System.DateUtils /... |
Program Funciones;
Function Capitalizar(nombre: String) : String; Forward;
Procedure Saludar(nombre : String);
Begin
WriteLn('Hola ' + Capitalizar(nombre) + '!');
End;
Function Capitalizar(nombre: String) : String;
Var
capitalizarActual: Boolean;
indice: Integer;
caracterActual:... |
{**
Major Classes used by the Binky Boink lib.
}
unit BinkyBoinkClassesUnit;
{$mode objfpc}{$H+}
{$I blinkyboink.inc}
interface
uses
Classes, SysUtils, Contnrs;
type
TBinkyBoinkProjects = class;
TBinkyBoinkUnits = class;
{**
Object.TBinkyBoinkComputer
Container for a single computer
}
TBinkyBoinkComp... |
unit UBackupJobScan;
interface
uses UFileBaseInfo, UChangeInfo, Generics.Collections, UMyUtil, Classes,
Windows, UModelUtil, SyncObjs, SysUtils, Math, uDebug;
type
{$Region ' 扫描目录 ' }
{$Region ' 数据结构 ' }
// Pc 的 Available Space
TTempPcSpace = class
public
PcID : string;
AvailableSpace, Coms... |
unit DBFilter;
interface
uses
Classes, ADODB, SysUtils;
type
TFilter = class (TCollectionItem)
public
FieldName: string;
FieldValue: Variant;
Active: Boolean;
end;
TFilters = class (TCollection)
public
function GetFilter(Name: string): TFilter;
procedure ApplyFilters(Da... |
unit USubtile;
interface
uses classes,SysUtils;
type
TSubtile=class
public
nomeDaProcura:string;
SubFileName,
SubLanguageID,
SubFormat,
SubAuthorComment,
SubAddDate,
MovieReleaseName,
IDMovieImdb,
MovieName,
MovieYear,
MovieImdbRating,
LanguageName,
Sub... |
unit TurtleTests;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au)
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 m... |
unit Altitude;
interface
uses BaseObjects, Classes, Registrator, Ex_Grid;
type
// cправочник систем альтитуд
TMeasureSystemType = class (TRegisteredIDObject)
protected
procedure AssignTo(Dest: TPersistent); override;
public
constructor Create(ACollection: TIDObjects); override;
end;
TMeasureSy... |
unit utilfunc;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function SetBit(const value: byte; const BitNum: byte): byte;
function ClearBit(const value: byte; const BitNum: byte): byte;
function IsBitSet(const value: DWORD; const BitNum : byte): boolean;
procedure BitSet(bit_val: byte; var val: byte; bit... |
{$INCLUDE switches}
unit Directories;
interface
var
HomeDir, DataDir: string;
function LocalizedFilePath(path: string): string;
implementation
uses
ShlObj,Windows,SysUtils;
function GetSpecialDirectory(const CSIDL: integer): string;
var
RecPath: PChar;
begin
RecPath:=StrAlloc(MAX_PATH);
tr... |
unit User_u;
interface
uses
SysUtils;
type
TUser = class
private
id: integer;
fullname: string;
{ Private declarations }
public
// ID
function getId(): integer;
procedure setId(pId: integer);
// Fullname
function getFullname(): string;
procedure setFullname(pFullname: stri... |
unit UMyBackupFaceInfo;
interface
uses UChangeInfo, VirtualTrees, UMyUtil, DateUtils;
type
{$Region ' 数据结构 ' }
TVstBackupData = record
public
ItemName : string;
IsFile : Boolean;
public // 可选状态
IsDisable : Boolean;
public // 自动同步
IsAutoSync : Boolean; // 是否自动同步
SyncTimeType, SyncTimeV... |
unit ACBrValidadorDll;
interface
uses
Classes,
SysUtils,
ACBrValidador;
{ Ponteiros de função para uso nos eventos}
type TOnMsgErroCallback = procedure(Mensagem : PChar); cdecl;
{Classe que armazena os EventHandlers para o componente ACBr}
type TEventHandlers = class
OnMsgErroCallback : TOnMsg... |
{Algorithme Carre magique
//BUT : Afficher un carre magique soit de 5 sur 5, soit de 7 sur 7. Le 1 se trouve au nord du milieu. Les nombres suivants sont
inscrits dans l'ordre croissant au nord-est de la position (x+1 et y-1).Si la place est déjà prise, on se déplace vers le
nord-ouest jusqu'à une position libre.Table... |
program Exercicio_5;
var
salario, p_aumento : Real;
procedure entrada_percentual();
begin
write('Percentual de aumento(%): ');
readln(p_aumento);
end;
begin
writeln('---------------');
writeln('Valores percentuais devem estar como:');
writeln('| 15% = 0.15 |');
writeln(... |
unit GryphikForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,System.Math;
type
TForm3 = class(TForm)
Panel1: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLab... |
unit mp3stream1;
interface
uses
SysUtils,
Windows,
Classes,
mpglib,
DSoutput,
httpstream,
main,
utils;
type
TMP3 = class(TRadioPlayer)
private
fHandle: TMp3Handle;
FStream: THTTPSTREAM;
//outBuffer: array[0..4608 - 1] of Byte;
//outPos, outFilled: Integer;
p... |
unit UFigures;
{$mode objfpc}{$H+}{$M+}
interface
uses
Classes, Graphics, LCLIntf, LCLType, Math, UCoordinateSystem,
Laz2_DOM, laz2_XMLRead, laz2_XMLWrite, TypInfo, sysutils, Dialogs;
type
TSavedState = procedure(IsSaved: Boolean) of Object;
{ TFigure }
TFigure = Class(TObject)
private
FPenCo... |
unit MazeRouting;
interface
implementation
{$RangeChecks ON}
type
TMapIndex = Word;
const
MapWidth = 16;
MapHeight = 16;
MaxRoutesQty = 4;
vBlock = High(TMapIndex);
vRouteMax = vBlock - 1;
vRouteMin = vBlock - MaxRoutesQty;
vEmpty = vRouteMin - 1;
type
TPathPoint = record
L: TMapIndex;
pX,... |
program pl0 ; { version 1.0 oct.1989 }
{ PL/0 compiler with code generation }
const norw = 13; { no. of reserved words }
txmax = 100; { length of identifier table }
nmax = 14; { max. no. of digits in numbers }
al = 10; { length of identifiers }
amax = 2047; ... |
unit uQuestao6;
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
TfrQuestao6 = class(TForm)
edLabeledEdit1: TLabeledEdit;
edLabeledEdit2: TLabeledEdit;
b... |
unit uEstadoController;
interface
uses
System.SysUtils, Data.DB, uEstadoDto, uEstadoModel, uEstado, uEstadoRegra,
Dialogs, System.UITypes, System.Classes, Winapi.Windows;
type
TEstadoControler = class
private
oModelEstado: TEstadoModel;
oEstadoDto: TEstadoDto;
oRegraEstado: TEstadoRegra;
frmE... |
unit Validate;
{
********************************************************************************
******* XLSReadWriteII V1.14 *******
******* *******
******* Copyright(C) 1999,2002 Lars Arvidsson, Axolot... |
unit UFolderCompare;
interface
uses Generics.Collections, dateUtils, SysUtils, Winapi.Windows, UModelUtil, UMyUtil;
type
// 搜索的文件信息
TScanFileInfo = class
public
FileName : string;
FileSize : Int64;
FileTime : TDateTime;
public
constructor Create( _FileName : string );
procedure SetFile... |
unit FrameMaterial;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, PMBuild, ExtCtrls, ComCtrls;
type
TMaterialFrame=class(TFrame)
GroupMaterial: TGroupBox;
DiffusePaint: TPaintBox;
AmbientPaint: TPaintBox;
SpecularPaint:... |
(******************************************************************************
* *
* Usermanager *
* AboutDlg -- dialog function for the About dialog *
... |
unit PackagesManager;
{$mode objfpc}{$H+}
interface
uses
Classes, ExtCtrls, StdCtrls, SysUtils, FileUtil, LResources, Forms, Controls,
Graphics, Dialogs;
type
{ TPackagesManagerForm }
TPackagesManagerForm = class(TForm)
CancelButton: TButton;
ApplyButton: TButton;
PackagesListCheckGroup: TChec... |
unit uGnBondSettings;
interface
uses
Forms, Classes, Rtti, TypInfo, StdCtrls, SysUtils, uGnRtti, uGnSettings, uGnStrConst;
type
EGnBondSettings = class(Exception);
TGnBondAttribute = class(TCustomAttribute)
strict private
FComponentName: string;
public
constructor Create(const AComponentName: stri... |
unit uilang;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, IniFiles;
type
TLanguagePackInformation = record
Author: string;
FileName: TFileName;
Name: string;
Version: string;
end;
TfrmLanguage = class(TForm)... |
unit lmmsg;
interface
uses lmglobal;
const
//
// Values for msgi1_forward_flag.
//
MSGNAME_NOT_FORWARDED = 0; // Name not forwarded
MSGNAME_FORWARDED_TO = $04; // Name forward to remote station
MSGNAME_FORWARDED_FROM = $10; // Name forwarded from remote station
type
MSG_INFO_0 = record... |
unit About;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls,VersionInfo, XPMan;
type
TAboutBox = class(TForm)
OKButton: TButton;
ProductName: TLabel;
ProgramIcon: TImage;
Copyright: TLabel;
Comments: TLabel;
Version: TLabel;
XPManifest... |
{ wakaru
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, publish... |
unit Main;
interface //#################################################################### ■
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
LUX, LUX.D2, LUX.D3, LUX.M4,
LUX.GPU.OpenGL,
LUX.GPU.OpenGL.Viewe... |
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... |
{
Version 11.7
Copyright (c) 2014-2016 by HtmlViewer Team
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... |
unit ServerModule;
interface
uses
System.Classes,
System.SysUtils,
System.IniFiles,
uniGUIServer,
uniGUITypes,
uniGUIApplication;
type
TUniServerModule = class(TUniGUIServerModule)
procedure UniGUIServerModuleBeforeInit(Sender: TObject);
procedure UniGUIServerModuleControlPanelLogin(ASession: T... |
unit uClassReader;
interface
uses
System.SysUtils,
System.Classes,
System.Generics.Collections,
System.TypInfo,
System.RTTI;
type
TClassReader = class
private
public
function GetMethods<T>: TList<string>; overload;
function GetProperties<T>: TList<string>; overload;
procedure GetMethods<... |
unit Unit7;
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
TForm7 = class(TForm)
Panel1: TPanel;
ButtonListarExcluir: TButton;
ListBoxTempFiles: TListBox;
proc... |
(**************************************************************************)
(* Programmname : KEYSPEED.PAS V1.1 *)
(* Programmautor : Michael Rippl *)
(* Compiler : Quick Pascal V1.0 *)
(* Inhalt : Programm zur ... |
unit iniform;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, dxGDIPlusClasses;
type
{$REGION 'Documentation'}
/// <summary>Ventana de inicio de la aplicación.</summary>
{$ENDREGION}
Tzini = class(TForm)
img: TImage;
Label1: T... |
{*******************************************************************************
作者: dmzn@163.com 2013-3-7
描述: 通道管理器
备注:
*.通道管理器维护一组TPortReader,每个对象负责与一个通道进行通信.
*******************************************************************************}
unit UMgrConnection;
interface
uses
Windows, Classes,... |
unit BeaconSensor;
interface
uses
System.Classes, System.Beacon, System.Beacon.Components, Generics.Collections,
System.Bluetooth, System.SysUtils;
type
TOnNewBeaconFound = procedure(Beacon: IBeacon) of object;
TBeaconConfig = record
DeathTime: Integer;
SPC: Double;
ScanningTime: I... |
unit MMCExpertImpl;
interface
uses Windows, SysUtils, Classes, ToolsApi, Controls;
{$R MMCEXPERTCODESNIPPETS.RES}
type
TMMCExpert = class (TNotifierObject, IOTAWizard, IOTAProjectWizard, IOTARepositoryWizard, IUnknown)
{ IOTAWizard }
function GetIDString : string;
function GetState : TWizardState;... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uADStanIntf, uADStanOption, uADStanError, uADGUIxIntf,
uADPhysIntf, uADStanDef, uADStanPool, uADStanAsync, uADPhysManager,
uADStanParam, uADDatSManager, uADDAptIntf, uADDAptManager, Grids, ... |
unit cgi_h;
interface
uses classes;
{intitialize and cleanup procedures}
procedure InitializeCGI;
{call this at the beginning of the program, it reads in and separates}
{all the Form variables to allow easy calling from the functions}
procedure freeCGI;
{call this at end of program to fre... |
unit HotelsMainForm;
interface
uses
Forms, ActnList, Menus, TB2Item, TBSkinPlus, TB2Dock, TB2Toolbar,
Controls, Classes, ComCtrls, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses,
cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTableView,
... |
unit InvoiceUnit;
interface
uses
System.SysUtils, System.Classes, Graphics;
type
TInvoiceItem = class
private
FID_Invoice: Integer;
FDescription: String;
FQuantity: Integer;
FRate: Double;
FAmount: Double;
public
constructor Create;
procedure Assign(Source: TInvoiceItem);
pro... |
unit DAO.FechamentoLancamento;
interface
uses DAO.Base, Model.FechamentoLancamento, Generics.Collections, System.Classes;
type
TFechamentoLancamentoDAO = class(TDAO)
public
function Insert(aLancamento: TFechamentoLancamento): Boolean;
function DeleteCodigo(iCodigo: Integer): Boolean;
funct... |
unit QuestionnaireItemDialog;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Generics.Collections,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, System.Rtti, FMX.Grid.Style, FMX.Grid,
FMX.ComboEdit... |
unit RequiredTypes;
// misc type declarations and helper functions for GTA Map Viewer
// © 2005 by Steve M.
interface
uses
Windows,
OpenGL12,
Geometry,
Misc;
type
TFileExt = (feDFF, feTXD, feCOL, feIFP, feIPL, feOther);
TObjectType = (otStatic, otCar);
TGameType = (GTA_NONE, GTA_3_PS2,... |
unit IWBSControls;
interface
uses System.Classes, System.SysUtils, Data.Db,
IWControl, IWRenderContext, IWMarkupLanguageTag, IWXMLTag, IWHTMLTag,
IWDBCommon, IWBSCommon,
IWBSCustomControl;
type
TIWBSLabel = class(TIWBSCustomDbControl)
private
FForControl: TIWCustomControl;
FRawText: boolea... |
unit cudaRT;
(* RUNTIME API CUDA *)
(* created 2012-04-01
author: Mariusz mariusz.maximus@gmail.com
based on: delphiasiovst project
*)
interface
uses
Windows, SysUtils ;
type
TCudaError = (
ceSuccess = 0,
ceErrorMissingConfiguration,
ceMemoryAllocation,
ceInitialization... |
(*
* 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 distributed under the License is distributed on an "AS... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Cadastro de Tributação
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentatio... |
unit EditDate;
interface
Uses SysUtils,StdCtrls,Classes,Buttons,Controls,ExtCtrls,
Messages,Forms,Mask;
Type TEditDate=class(TMaskEdit)
protected
procedure KillFocus(Sender:TObject);
public
fOnUserExit:TNotifyEvent;
PrevDate:string;
procedure SetNow;
constructo... |
{ Subroutine STRING_F_INT32 (S, I)
*
* Create the string representation of the integer I in the
* variable length string S. The least number of characters
* possible are used to represent the integer.
}
module string_f_int32;
define string_f_int32;
%include 'string2.ins.pas';
procedure string_f_int32 ( ... |
{$I nosale.inc}
{$IfDef zc_DELPHI3orGREATER}
{$IMPORTEDDATA ON}
{$Endif}
{
More panel-controls
The ZieglerCollection one (TM)
Version 2,00
new unit in ver. 1.50
TzcCreditScroll - A marquee tha... |
unit CommonReport;
interface
uses Classes, Contnrs, CommonStepForm, Variants, ComObj, BaseObjects, ActnList, SysUtils;
type
EReportQueryBuildingError = Exception;
TBaseReport = class;
TReportStepProc = procedure (AReport: TBaseReport) of object;
TReportStep = class
private
FName: string;
FReportS... |
program Pr1Ej3;
type
str20=string[20];
persona = record
apellido:str20;
nombre:str20;
edad:integer;
dni:integer;
end;
ArchivoDePersonas= file of persona;
//////////////////////////////////////
procedure Leer(var a:ArchivoDePersonas);
var
p:persona ;
begin
writeln('Escriba su apellido: ');
... |
unit EditNumerical;
//by Adrian D. Bonev
interface
uses
Windows,Forms, SysUtils, Classes, StdCtrls, Controls, Graphics, Messages, ThDTimer;
//Windows should be listed First
const AllDigits = ['0'..'9'];
EvenDigits = ['0','2','4','6','8'];
OddDigits = ['1','3','5','7','9'];
typ... |
unit ProviderConst;
interface
type
TWindowMode = (wmSingle, wmPart);
const
{DBMS Info}
DBMS_SQLServer_Name = 'Microsoft SQL Server 2000 或其更高版本';
DBMS_SQLServer_ID = 'SQLSERVER';
DBMS_Access_Name = 'Microsoft Access 97 或其更高版本';
DBMS_Access_ID = 'ACCESS';
DBMS_DB... |
unit Aurelius.Drivers.UniDac;
{$I Aurelius.inc}
interface
uses
Classes, DB, Variants, Generics.Collections,
DBAccess,
Aurelius.Drivers.Base,
Aurelius.Drivers.Interfaces;
type
TUniDacResultSetAdapter = class(TDriverResultSetAdapter<TCustomDADataset>)
end;
TUniDacStatementAdapter = clas... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit Maze.Algorithms;
interface
uses
Maze.Grid, System.SysUtils;
type
TStopFunc = function : Boolean;
TMazeGenerationProc = procedure(const Grid : IGrid; const StepProc : TProc = nil;
const StopFunc : TStopFunc = nil);
procedure BinaryTree(const Grid : IGrid; const StepProc : TProc = nil;
const Stop... |
unit uFilter;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,
uTypes;
type
TfrmFilter = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
dtpStart: TDateTimePic... |
unit Imaging;
interface
uses
Windows, Graphics, PNGImage, SysUtils, Types;
const
WS_EX_LAYERED = $80000;
LWA_COLORKEY = 1;
LWA_ALPHA = 2;
type
TSetLayeredWindowAttributes = function (
hwnd : HWND; // handle to the layered window
crKey : TColor; // specifies the color ... |
unit u_cad_categoria;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, u_telaHeranca, Data.DB,
ZAbstractRODataset, ZAbstractDataset, ZDataset, Vcl.StdCtrls, Vcl.Mask,
Vcl.DBCtrls, Vcl.Buttons, Vcl.Grids, Vcl.D... |
unit FramePrimitive;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, FPSpin, PMBuild, FramePriCube, FramePriSphere,
FramePriCone;
type
TPrimitiveFrame=class(TFrame)
GroupPrimitive: TGroupBox;
TransformGroup: TGroupBox;... |
{-----------------------------------------------------------------------------------------------------------------------
# Unit ZPL2 #
Unit for working with Zebra ZPL2 graphic and text commands.
All measuring units and position information are measured in dots!
For details on the ZPL2 commands please see ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_TRANSPORTE_VOLUME]
The MIT Licen... |
unit dorOpenSSL;
{$IFNDEF CPUX64}
{$ALIGN ON}
{$ENDIF}
interface
uses Classes;
const
LIBEAY = 'libeay32.dll';
SSLEAY = 'ssleay32.dll';
type
TNotImplemented = record end;
PNotImplemented = ^TNotImplemented;
(*******************************************************************************... |
unit PS.System.Convert;
interface
uses
System.NetEncoding;
Type
TConvert = Class
Class Function ToBase64String(inArray: TArray<Byte>): String;
End;
implementation
{ TConvert }
class function TConvert.ToBase64String(inArray: TArray<Byte>): String;
begin
Result := TNetEncoding.Base64.EncodeBytesToString... |
// ----------------------------------------------------------------------------
// Unit : PxWin32Utils.pas - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2005-10-12
// Version : 1.0
// Description : Win32 utility functions and procedures
// Changes log : 2005-10-12 - initial ver... |
{
This software is Copyright (c) 2016 by Doddy Hackman.
This is free software, licensed under:
The Artistic License 2.0
The Artistic License
Preamble
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that th... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
unit dom;
// This library is based on: http://dom.spec.whatwg.org/
// Apart from being a subset and using FreePascal conventions where
// appropriate, it differs from the spec in the following ways:
// - TNode doesn't have the members relating to children, th... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Históricos para o módulo Contabilidade
The MIT License
Copyright: Copyright (C) 2016 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associa... |
unit HTMLLabel;
// ----------------------------------------------------------
// Multi-line HTML label component (c) J. Dempster 2003
// ----------------------------------------------------------
// 9.6.03
// 10.7.03 ... <FONT COLOR=#RRGGBB> added
// LineSpacing property added
// 24.7.03 ... <FONT COLOR=#... |
unit bitbox;
(*
Permission is hereby granted, on 24-Mar-2003, free of charge, to any person
obtaining a copy of this file (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the
... |
Unit Unit2;
Interface
uses Graphics;
var ColrBack :tcolor;
Type
Tviz=class(Tobject)
ColrLine : Tcolor;
Canvas : Tcanvas;
x, y, r : word;
Procedure Ris;virtual;abstract;
Procedure Draw(bl:boolean);
procedure Show;
procedure Hide;
procedure MovTo(dx,dy,dr:integer);
end;... |
{ Public include file for the type 1 implementation of the ray tracer.
*
* The base ray tracer does not define any tracable objects, shaders, or the
* format of color values. This is done by specific implementations, intended
* to be named TYPEn. See the RAY.INS.PAS file for details.
*
* This type 1 impleme... |
unit Main.Data.Global;
interface
uses
System.SysUtils, System.Classes, Data.DBXDataSnap, Data.DBXCommon,
Data.DbxHTTPLayer, Data.DB, Data.SqlExpr, Datasnap.DBClient,
Datasnap.DSConnect, Data.FMTBcd, cxClasses, cxLookAndFeels, dxSkinsCore,
dxSkinOffice2013White, dxSkinsForm;
type
TdmGlobal = clas... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComObj;
const
xlCellTypeLastCell = $0000000B;
type
TForm1 = class(TForm)
Button1: TButton;
OpenDialog1: TOpenDialog;
SaveDialog1: TSaveDialog;
procedure Button1Click(Sender:... |
unit prodTypes;
interface
uses Classes, dxInspct, DB, dxInspRw;
type
TPropertyType = record
Index: Integer;
Name: String;
end;
const
IndexOfString = 1;
IndexOfInt = 2;
IndexOfBoolean = 3;
IndexOfEnum = 4;
IndexOfSet = 5;
IndexOfText = 6;
IndexOfUrl ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.