text stringlengths 14 6.51M |
|---|
{ Subroutine STRING_LEN (S)
*
* Set the length of the string. The string is assumed to be padded up to
* its maximum length with blanks, and that its length is set to garbage.
* The string length will be set to just include the last non-blank character.
*
* WARNING: Don't use this subroutine unless the enti... |
unit uSocketSub;
interface
uses Windows, SysUtils, uJxdWinSock, RTLConsts;
function SetSocketExclusitveAddr(const ASocket: TSocket): Boolean; //设置套接字独占地址
function InitSocketAddr(const AIP: Cardinal; const AHostPort: Word): TSockAddr; //初始化SockAdd, 标示: AF_INET;
{发送接收缓冲}
function GetSocketRecvBufSize(const ... |
unit uDM;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB,
FireDAC.VCLUI.Login, FireDAC.VCLUI.Error, FireDAC.VCLUI.Wait,
Fire... |
unit instrumentsview;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, Buttons, entities,
Dialogs, ExtCtrls, Types, instrumentsviewmodel;
type
{ TInstrumentsFrame }
TInstrumentsFrame = class(TFrame)
SaveAnswerButton: TButton;
CommandsLabel: TLabel;
Lab... |
unit Core.ScoreCard;
interface
uses
System.SysUtils
, System.Classes
, System.Rtti
{Spring}
, Spring
, Spring.Collections
, Generics.Collections
{BowlingGame}
, Core.BaseInterfaces
, Core.Interfaces
//, Core.Queue
;
type
TScoreCard = class(TInterfacedObject, IScoreCard)
strict priva... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TLHelp32, PsAPI;
type
TForm1 = class(TForm)
Button1: TButton;
ListBoxProcessos: TListBox;
procedure Button1Click(Sender: TObject);
procedure ListBoxProcessosDblClick(Sender: ... |
unit IntList;
interface
uses
Classes;
// List челых чисел
type
TIntegerList = class(TList)
private
protected
function GetInt(Index: Integer): Integer;
procedure PutInt(Index, Item: Integer);
public
function Add(var Item: Integer): Integer;
function Extract(var Item: Integer... |
unit CRIntervalFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BaseGUI, UniButtonsFrame, ComCtrls, BaseObjects, Well, Slotting,
ImgList, SlottingWell, CRWellQuickInfoViewFrame, ExtCtrls, StdCtrls,
CommonFrame, CRSlottingBoxListFrame, CRBoxEditFrame, Ac... |
unit RRManagerPersistentObjects;
interface
uses Contnrs, SysUtils, Classes, ComCtrls, RRManagerBaseObjects, ClientCommon
{$IFDEF VER150}
, Variants
{$ENDIF}
;
type
TDataPoster = class;
TDataPosterCache = class;
TDataState = class;
TDataPosterClass = class of TDataPoster;
// как материализовывать -... |
object TableSourceOptionsDialog: TTableSourceOptionsDialog
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Options'
ClientHeight = 169
ClientWidth = 214
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []... |
использование:
1. В секцию uses drp проекта exe-пускача добавить LoggerInit.pas
2. Реализуем подключение и инициализацию логгера в drp пускача
begin
Application.Initialize;
LoggerInit.Init; //грузим bpl логгера
try
........
Application.CreateForm......;
.......
Application.Run;
finally
Log... |
program zad1;
var
f1: text;//f1 - файл с исх данными.
a, b: longint;//a - число Пети. b - число Маши. integer не подходит по диапазону (-32768..32767). диапазон longint (-2147483648..2147483647) вместит в себя 10^9
begin
writeln('Задача №1. "Цапли"');
writeln;
a := 0;
writeln('Выберите способ ввода и нажм... |
{ -------------(standard trigonometry function, also 3D math)----------
RotateX, RotateY, RotateZ
Input:
p - the point to rotate
ang - the degree angle to rotate by
Output:
alters p
-------------------------------------------------------------------- }
procedure RotateX(var p:point; ang:fp);
begin
p... |
{ Practica 1 Ejercicio 7a }
program p1e7a;
uses strings,Crt;
type arreglo100 = array[1..100] of integer;
procedure intercambio( var a,b: integer );
var
aux :integer;
begin
aux := a;
a := b;
b := aux;
end;
function Pos_del_Menor( S: arreglo100; I: integer ): integer;
var
pos,j: I... |
{program Project1;
var
i, numero, pos :integer;
max: integer; //primer paso
begin
max:=-999; //segundo paso
for(i:=1 to 10)do begin
read(numero);
if(numero > max)then begin //tercer paso
max:=numero; //cuarto paso
pos:=i;
end;
end;
writeln('el numero maximo... |
// ---------------------------------------------------------------------------//
// dgOGGSound
// Copyright © 2005-2007 DunconGames. All rights reserved. Authors: Duncon
// Copyright © 2008-2009 DIF Studios. All rights reserved. Authors: Duncon, simsmen
// -----------------------------------------------------------... |
unit URepositorioPais;
interface
uses
UPais
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioPais = class (TRepositorioDB<TPAIS>)
public
constructor Create;
procedure AtribuiDBParaEntidade (const coPAIS: TPAIS); override;
procedure AtribuiEntidadeParaDB (const coPAIS: TPAIS;
... |
unit AOP.Aspects.Log;
interface
uses
DSharp.Aspects,
Rtti,
SysUtils;
type
TLogAspect = class(TAspect)
public
class procedure DoAfter(Instance: TObject; Method: TRttiMethod;
const Args: TArray<TValue>; var Result: TValue); override;
class procedure DoBefore(Instance: TObject; Met... |
{-----------------------------------------------------------------------------
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/MPL-1.1.... |
unit UnitScreenExampleTriangle;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpu386}
{$asmmode intel}
{$endif}
{$ifdef cpuamd64}
{$asmmode intel}
{$endif}
{$else}
{$ifdef conditionalexpressions}
{$if CompilerVersion>=24.0}
{$legacyifend on}
{$ifend}
{$endif}
{$endif}
{$if defined(Win32) or defi... |
{*
* Author: Raman Liubimau <raman@cmstuning.net>
* Date: 07 December 2014
*}
unit PhysModel;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, ActiveX, Classes, ComObj, Phys_TLB, StdVcl, PhysRod, PhysDisk, Types;
type
TPhysModel = class(TTypedComObject, IPhysModel)
private
fPhysRod... |
unit Option;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls, SetInit, ImgList, SetPlug, About, SetIcons,
SetPads, MMSystem, IniFiles, SetBtn;
type
TdlgOption = class(TForm)
btnOk: TButton;
btnCancel: TButton;
btnApply: TButto... |
unit fImportaProdutos;
interface
uses
Generics.Collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, AdvObj, BaseGrid, AdvGrid, AdvCGrid,
Aurelius.Drivers.Interfaces,
Aurelius.Engine.ObjectManager,
Entidades.Cadastro;
type
TfmImportaProdutos =... |
{==============================================================================|
| MicroCoin |
| Copyright (c) 2018 MicroCoin Developers |
|=========================================================================... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit UnitCalibration1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Spin;
type
TFormCalibration1 = class(TForm)
ListBox1: TListBox;
Label1: TLabel;
chessboard_width: TSpinEdit;
Label2: TLabel;
chessboard_height: TSpinEdit;
... |
unit UGlobalObj;
interface
uses Windows, UxlClasses, UxlWinClasses, UxlExtClasses, UxlFunctions, UxlList, UxlIniFile, UxlWinControl, UxlWindow, UxlStrUtils,
UxlFile, UxlMiscCtrls, UxlDialog, UTypeDef, UCommonClasses;
type
ISizeObserver = interface
procedure AdjustAppearance ();
end;
TSizeM... |
unit aOPCLog;
interface
uses
Winapi.Windows,
System.SysUtils, System.Classes, System.SyncObjs;
type
TOPCLog = class
private
FDebug: boolean;
csLogFile: TCriticalSection;
public
// флаг ведения лог файла
Active: boolean;
// флаг автоматического заполнения свойств
// - UserName
... |
(*======================================================================*
| unitExRegistry unit |
| |
| Extended registry classes |
| ... |
unit EFStateMovimentoConta;
interface
type
ITransacao = interface;
TContaTransacao = class
private
FSaldo: Double;
FEstado: ITransacao;
procedure SetSaldo(const Value: Double);
public
constructor create;
property Saldo: Double read FSaldo write SetSaldo;
procedure Saque(const Value:... |
{ DO NOT USE THIS UNIT IF YOU DON'T USE HARDWARE FLOATING POINT.
For software floating point, use NRAND0.PAS. With hardware
floating point, NRAND0 takes twice as long as NRAND1. }
{$N+,E-}
unit nrand1;
{ conventional implementations of exponential, cauchy and normal
random variate generators }
{ Copyright 1988,... |
unit Video;
interface
{ Video Interface Class Code $0E}
{ Video Interface Subclass Codes
{ (USB_Video_Class_1.1.pdf, A.2 Video Interface Subclass Code)}
const VIntfDescSTypeUndefined =$00;
const VIntfDescSTypeVIDEOCONTROL =$01;
const VIntfDescSTypeVIDEOStreaming =$02;
const VIntfDescSTypeVIDEO_... |
unit ucache;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Sqlite3DS;
type
{ T_TC_Cache }
T_TC_Cache = Class(TObject)
private
FActive: boolean;
FCacheIndex: TSqlite3Dataset;
FLiveTimeMinutes: integer;
FPrefix: string;
FTable: TSqlite3Dataset;
FSQLiteQuery: TSqlite3Dataset;
... |
unit VkApi.Exception;
interface
uses
System.SysUtils;
type
EVkException = class(Exception)
end;
// common
// https://vk.com/dev/errors
// 1
EVkUnknownError = class(EVkException);
// 2
EVkApplicationIsDisabled = class(EVkException);
// 3
EVkUnknownMethodPassed = class(EVkExc... |
unit MongoBsonSerializer;
interface
{$i DelphiVersion_defines.inc}
uses
Classes, SysUtils, TypInfo,
MongoBson, MongoBsonSerializableClasses,
{$IFDEF DELPHIXE}System.Generics.Collections,{$ENDIF}
uCnvDictionary;
const
SERIALIZED_ATTRIBUTE_ACTUALTYPE = '_type';
SERIALIZED_ATTRIBUTE_COLLECTION_KEY = '_key'... |
unit cmpXMLPersistentOptions;
interface
uses Windows, Classes, SysUtils, cmpPersistentOptions, unitExSettings;
type
//---------------------------------------------------------------------
// TXMLPersistentOptions class - persistent options held in an INI
// file
TXMLPersistentOptions = class (TCustomP... |
{$INCLUDE switches}
unit Messg;
interface
uses
ScreenTools,
Windows,Messages,SysUtils,Classes,Graphics,Controls,Forms,ButtonBase,ButtonA,
ButtonB,Area;
const
WM_PLAYSOUND=WM_USER;
type
TDrawDlg = class(TForm)
constructor Create(AOwner: TComponent); override;
public
procedure S... |
unit frJadwalImamSholat;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Layouts, System.Threading, FMX.Effects,
FMX.Objects, FMX.TabControl, FMX.ListBox,... |
unit Form.Main;
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.Actions, Vcl.ActnList, Vcl.Grids;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
tmrReady: TTime... |
// 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... |
Unit Map;
Interface
Uses Declare;
{
NOTE: for this implementation, internal and external pointer
representations are identical. Hence, all calls to INT and EXT
could be removed from the code to reduce overhead.
}
FUNCTION int( extpointer: INTEGER): TypePointer;
FUNCTION ext( intpointer: TypePointer): INT... |
program ejercicio4;
{
Un centro de deportes quiere procesar la información de sus clientes y de los 4 tipos de actividades que ofrece: 1) Musculación, 2) Spinning, 3) Cross Fit, 4) Libre.
Para ello, Para ello, se debe leer y guardar el precio mensual de cada actividad.
Además, se debe leer para cada cliente el apell... |
unit UCL.TUButton;
interface
uses
UCL.Classes, UCL.TUThemeManager, UCL.Utils,
Winapi.Messages,
System.Classes, System.Types,
VCL.Controls, VCL.Graphics, VCL.ExtCtrls;
type
TUButton = class(TCustomPanel, IUThemeControl)
const
DefBackColor: TDefColor = (
($CCCCCC, $CCCCCC, $99... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
img1: TImage;
img2: TImage;
Label1: TLabel;
Label2: TLabel;
Button1: TButton;
Button2: TButton;
procedure But... |
{------------------------------------------------------------------------------
TDzMiniTable component
Developed by Rodrigo Depine Dalpiaz (digao dalpiaz)
To use as a small dynamic table stored as text file
https://github.com/digao-dalpiaz/DzMiniTable
Please, read the documentation at GitHub link.
File structure exa... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Model relacionado à tabela [FIN_EXTRATO_CONTA_BANCO]
The M... |
{
Copyright 2023 Ideas Awakened Inc.
Part of the "iaLib" shared code library for Delphi
For more detail, see: https://github.com/ideasawakened/iaLib
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 ... |
unit uAchievementShower;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, MSHTML, Vcl.ComCtrls,
Vcl.ExtCtrls, Generics... |
{***************************************************************************}
{ }
{ DelphiWebDriver }
{ }
{ ... |
unit uFrmEditAluno;
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.ComCtrls,
Vcl.Mask, Vcl.ExtCtrls, uAluno, uAlunoDAO, uResponsavel,
uEndereco, System.Generics.Collections,
... |
unit IWBSButton;
interface
uses
System.SysUtils, System.Classes, data.db, System.StrUtils, Vcl.Controls,
IWRenderContext, IWHTMLTag, IWXMLTag, IWBaseInterfaces,
IWBSCustomControl, IWScriptEvents, IWBSRegion, IWBSCommon;
type
TIWBSButtonStyle = (bsbsDefault, bsbsPrimary, bsbsSuccess, bsbsInfo, bsbsWarning, bs... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, ShellAPI,
Vcl.Forms, Vcl.ImgList, Vcl.Controls, Vcl.Menus, Data.DB, Data.Win.ADODB, Vcl.Grids,
Vcl.DBGrids, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TMainForm = class(TForm)
Panel1: TPanel;
... |
unit uMunicipioDto;
interface
uses
uEstadoDto, System.SysUtils;
type
TMunicipioDto = class
private
FidMunicipio: Integer;
FidUf: Integer;
FNome: String;
FnomeUf: String;
FoEstado: TEstadoDto;
procedure SetidMunicipio(const Value: Integer);
procedure SetNome(const Value: String);
... |
program testarray09(output);
{test array bounds check failure on the high side of the subrange with enumerated types}
type
color = (red, orange, yellow, green, blue, indigo, violet);
subc = orange..indigo;
colorarray = array[subc, subc] of boolean;
var
c,d:color; arr:colorarray;
begin
for c := orange to indig... |
unit frmLasFileIndexer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, JvExComCtrls, JvProgressBar, Mask,
JvExMask, JvToolEdit;
type
TfrmLasFileIndexerForm = class(TForm)
gbxMain: TGroupBox;
lblSelectFolder: TLabel;
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_CONFIGURACAO]
The MIT License ... |
//## S.I.G.E ##
// ## Sistema Informatizado de Gerenciamento Escolar ##
// ## Desenvolvido por Diego Hartwig e Jandir Rhoden - 2010 ##
unit UEditarAgendamento;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBCtrls, DB, IBCustomDataSet, IBQuery, StdCtrls, ImgLis... |
unit UxlClasses;
interface
uses Windows;
type
TCollectionChangeType = (cctNew, cctDelete, cctModify, cctClear);
TCollectionChangeEvent = procedure (cct: TCollectionChangeType; index: integer) of object;
TxlCollection = class
private
// FOnChange: TCollectionChangeEvent;
// procedure f... |
unit LinkParser;
interface
procedure FindQuotedString(const S: string; Start: Integer; var Stop: Integer);
function UnEscape(const S: string): string;
function EnQuote(const S: string): string;
type
TIeeuwLinkType =
(ilNone, ilQuote, ilEnd, ilStop, ilIgnore, ilHttp, ilHyperShort, ilMail,
ilLook... |
unit classes.Constantes;
interface
const
VERSION_CODE = 1;
VERSION_NAME = '1.0.0';
URL_SERVER_JSON = 'http://servicos.hab.org.br/medicalNotice/json';
PAGE_ESPECIALIDADE = 'app_especialidade_dao.php';
PAGE_USUARIO = 'app_usuario_dao.php';
COMPANY_NAME = 'Hospital Adventista de Belém'... |
unit uTValueDemo;
interface
uses
RTTI
, SysUtils
;
procedure DoStuffWithTValue;
implementation
type
TExampleRecord = record
SomeInt: integer;
SomeBytes: array[0..5] of Char;
end;
procedure DoStuffWithTValue;
var
V, V2: TValue;
i: integer;
ERIn, EROut: TExampleRecord;
C: Char... |
unit TextEditor.Search.Map;
interface
uses
System.Classes, System.UITypes, TextEditor.Search.Map.Colors, TextEditor.Types;
type
TTextEditorSearchMap = class(TPersistent)
strict private
FAlign: TTextEditorSearchMapAlign;
FColors: TTextEditorSearchMapColors;
FCursor: TCursor;
FOnChange: TTextEdi... |
unit ExcelImporter;
interface
uses SysUtils;
type
ECellNotFound = class(Exception)
public
constructor Create(ACellTitle: string);
end;
TExcelImporter = class
private
FFileName: string;
FExcel: OleVariant;
FExcelWorkBook: OleVariant;
FExcelWorkSheet: OleVariant;
function GetActiveR... |
unit ACBrEADDll;
interface
uses
SysUtils,
Classes,
ACBrEAD,
ACBrUtil;
{ Ponteiros de função }
type TGetChaveCallback = function () : PChar; cdecl;
{Classe que armazena os EventHandlers para o componente ACBr}
type TEventHandlers = class
ChavePrivada : AnsiString;
ChavePublica : AnsiStr... |
unit UxlListSuper;
interface
uses UxlClasses;
type
TListItem = record
index: integer;
key: WideString;
strval: WideString;
intval: integer;
objval: pointer;
interfval: IInterface;
end;
PListItem = ^TListItem;
TListFindMode = (fmByIndex, fmByKey, fmByStrVal,... |
{ Routines to add to the beginning of var strings.
}
module string_prepend;
define string_prependn;
define string_prepend;
%include 'string2.ins.pas';
{
********************************************************************************
*
* Subroutine STRING_PREPENDN (STR, CHARS, N)
*
* Prepend the N characters of S... |
unit UdmPrevio;
interface
uses
System.SysUtils, System.Classes,
UdmMakePartial, FireDAC.Stan.Intf, FireDAC.Comp.BatchMove,
FireDAC.Comp.BatchMove.Text, FireDAC.Comp.BatchMove.DataSet;
type
TdmPrevio = class(TDataModule)
private
{ Private declarations }
outFile : TextFile;
A_Fi : Array ... |
unit uOPCIntervalForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls,
uOPCIntervalFrame, uOPCInterval;
type
TOPCIntervalForm = class(TForm)
OPCIntervalFrame: TOPCIntervalFrame;
bOk: TButton;
bCancel: TButton;
private
prot... |
// FRTextureEdit
{: Egg<p>
Basic editing frame for TGLTexture<p>
<b>Historique : </b><font size=-1><ul>
<li>17/03/00 - Egg - Added ImageAlpha combo
<li>13/03/00 - Egg - Creation
</ul></font>
}
{ TODO : Replace STImageClass with a dropdown (polymorphism) }
unit FRTextureEdit;
interface
uses
... |
unit DBMaintain;
interface
uses
Windows, Classes, Controls, Forms, Dialogs, StdCtrls, Buttons,
Comobj, ExtCtrls, SysUtils, StrUtils, IniFiles;
type
TDBMaintainForm = class(TForm)
OpenDialog1: TOpenDialog;
Label2: TLabel;
Label5: TLabel;
Label3: TLabel;
BitBtn3: TBitBtn;
B... |
unit PointerscanNetworkStructures;
{
unit containing some structures used to pass information between functions and child/parents
}
{$mode delphi}
interface
uses
Classes, SysUtils;
type
TPublicParentData=record
connected: boolean;
name: string;
ip: string;
port: word;
las... |
unit gbEditQuestion;
interface
uses
Forms, Classes, Controls, ExtCtrls, cxLookAndFeelPainters, cxMemo,
cxDBEdit, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxCalendar, StdCtrls, cxButtons, ActnList;
type
TEditQuestion = class(TForm)
Panel1: TPanel;
Panel2: TP... |
{
A Pascal conversion of the Linux ioctl.h headers
Copyright (c) 2013-2014 Karoly Balogh <karoly.balogh@viprinet.com>
Conversion itself subject to the same GPLv2 license as the original,
headers, however since using the headers doesn't create a derivative
work, it may be used freely in applications with an... |
unit CatSciter;
{
Catarinka Sciter Component
This works as a replacement for AxSciter.pas without having to change much of the code
Copyright (c) 2012-2015 Syhunt Informatica
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
}
interface
{$I Catarinka.inc}
uses
{$IFDEF DXE2_... |
{ Subroutine STRING_DEBUG (S)
*
* Print the string contents enclosed in quotes ("), the string length,
* and the string's maximum allowable length. This is intended for
* debug purposes.
}
module string_debug;
define string_debug;
%include 'string2.ins.pas';
procedure string_debug ( {print lengt... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, MMSystem,
glApplication, glWindow, gl3DGraphics, glSound, glError, glSprite, glCanvas, glUtil, glConst,
D3DX8, {$IFDEF DXG_COMPAT}DirectXGraphics{$ELSE}Direct3D8{$ENDIF};
type
TWindow1 = class(TWindow)
private
Time: Integer;
... |
unit ChargeInfo;
interface
uses
Classes, SysUtils;
const
CHARGE_TYPE_FIRST = 'CF';
CHARGE_TYPE_FIRST_DETAIL = 'CP';
CHARGE_TYPE_TABLE = 'CA';
CHARGE_TYPE_DISTANCE = 'CD';
CHARGE_TYPE_TERM = 'CT';
type
TAreaRec = record
Si, Gu, Dong, POI, X, Y: string;
end;
TCharge = class(TObje... |
{
Bunch of Skyrim specific utilities to write scripts on higher level of abstraction.
isTemperable (recordToCheck: IInterface): boolean; // determines if item have tempering recipe
isCraftable (recordToCheck: IInterface): boolean; // determines if item h... |
Unit AdvBinaryFilers;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.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 must retain the... |
unit angfrmSnippet;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
Buttons, angSnippet;
type
{ TfrmSnippet }
TfrmSnippet = class(TForm)
bOK: TBitBtn;
bCancel: TBitBtn;
cBoxsForFileType: TComboBox;
cBoxLocation: TComboBox;
c... |
unit Animate;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, StdCtrls, ExtCtrls{, DLL95V};
type
TAnimated = class(TGraphicControl)
private
FBitMap : TBitmap;
FFrameCount : integer;
FFrame : Integer;
Timer : TTimer;
FInterval : integer;
FLoop... |
PROGRAM PrintPoem(INPUT, OUTPUT);
BEGIN {PrintPoem}
WRITE('ROSES ARE ');
WRITELN('RED, ');
WRITE('VIOL');
WRITE('ETS ARE');
WRITELN(' BLUE, ');
WRITE('OTHERS CAN PR');
WRITELN('OGRAM, ');
WRITE('SO CAN');
WRITELN(' YOU. ')
END. {PrintPoem}
|
unit gameobject;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, renderobject, math, movingparticle;
//abstract class
type
TCollisionType=(ctCircles, ctUnrotatedRectangles);
TGameObject=class(TRenderobject)
{
Render object with game mechanics like hitboxes and
}
private
ex... |
unit LuaRasterImage;
{$mode delphi}
interface
uses
Classes, SysUtils, Graphics, lua, lualib, lauxlib;
procedure initializeLuaRasterImage;
implementation
uses LuaHandler, luaclass, LuaGraphic;
function rasterImage_getCanvas(L: PLua_State): integer; cdecl;
var
c: TrasterImage;
begin
c:=lua... |
{
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 unitOBJfile;
interface
uses Windows, Classes, SysUtils, unitPEFile, unitResourceDetails;
type
TObjFile = class (TPEBase)
private
fLNames : TStrings;
function IsValidCOFFMachineType (w : word) : boolean;
procedure DecodeCOFF (memory : pointer; size : Integer);
procedure DecodeOMF (memory : ... |
unit HTTPURIParameter;
interface
uses
SysUtils, StrUtils,
Generics.Collections,
HTTPURIElement;
type
IHTTPURIParameter = interface
['{BBDD61C4-7E51-4926-A144-990DAAEA3071}']
function Name: String;
function Element: IHTTPURIElement;
end;
THTTPURIParameter = class sealed(TInterfacedObject, IHT... |
unit uPluginInfo;
interface
uses uStatus;
const
IDPlugin: TGUID = '{B8844594-D8A7-4C17-A62B-AA8CC66C32AA}';
PluginName: String = 'Service-plugin for Bittorrent-protocol';
Author: String = 'AvtorFile';
EmailAuthor: String = 'avtorfile@mail.ru';
SiteAuthor: String = 'אגעמנפאיכ.נפ';
PluginType: TPluginType ... |
unit TestActiveDirectory.View.Main;
interface
uses
ActiveDirectory.Types,
System.SysUtils, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ActnList,
Vcl.Menus, Vcl.StdActns, System.Actions;
type
TfrmMain = class(TForm)
pnlPrinc: TPanel;
edtLog: TMemo;
btnGe... |
unit emptypanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls;
type
TEmptyPanel = class(TPanel)
public
constructor Create(AOwner: TComponent); override;
end;
implementation
//
//
// Empty Panel base class
//
//
constructor... |
unit RRManagerLoaderCommands;
interface
uses Classes, RRManagerBaseObjects, RRManagerObjects, ClientCommon, ComCtrls,
RRmanagerPersistentObjects, RRManagerDataPosters, SysUtils, RRManagerBaseGUI;
type
EExecutionFailure = class(Exception)
constructor Create(ACause: TBaseAction);
end;
TFundVersionBaseL... |
unit scene;
interface
uses
Windows, AvL, avlUtils, avlVectors, OpenGL, oglExtensions, VSEOpenGLExt,
VSECore, VSETexMan, VSEImageCodec;
type
TFace = array [0..2] of WORD;
TSceneObj = object
Texture : Cardinal;
V_Count : Integer;
F_Count : Integer;
T_Count : Integer;
Ve... |
unit TTextEditorDemo.Form.Main;
interface
uses
Winapi.Messages, Winapi.Windows, System.Classes, System.ImageList, System.SysUtils, System.Variants, Vcl.Controls,
Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Forms, Vcl.Graphics, Vcl.ImgList, Vcl.StdCtrls, TextEditor;
type
TMainForm = class(TForm)
ListBoxHighlighters: TLi... |
// will try to figure out right material for provided item record
function getMainMaterial(itemRecord: IInterface): IInterface;
var
itemSignature: string;
tmpKeywordsCollection: IInterface;
i, j: integer;
currentKeywordEDID: string;
resultItem: IInterface;
begin
itemSignature := Signature(itemRecord);
i... |
unit genericHotkey;
{$mode delphi}
interface
uses
Classes, SysUtils, cefuncproc, commonTypeDefs, betterControls;
type TGenericHotkey=class
public
keys: TKeycombo;
onNotify: TNotifyEvent;
procedure setDelayBetweenActivate(delay: integer);
function getDelayBetweenActivate: integer;
... |
(*
Dokan API wrapper for Delphi based on Release 1.4.0.1000
https://github.com/dokan-dev/dokany/releases/tag/v1.4.0.1000
Copyright (C) 2019 - 2020 Sven Harazim
Dokan : user-mode file system library for Windows
Copyright (C) 2015 - 2019 Adrien J. <liryna.stark@gmail.com> and Maxime C. <maxime@islog.com>
Co... |
(*
@abstract(Regroupe plusieurs filtres (48) à utiliser pour le rééchantillonage et l'interpolation de valeur)
Ces filtres sont definis dans TBZInterpolationFilterMethod
voici la liste complète : @br
Filtres FIR (Finite impulse Response) :
@unorderedList(
@item(ifmBox, ifmTriangle, ifmSystem.Cosine)
... |
unit CRAddSelectorForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TAddSelection = (asCollection, asExponate, asNone);
TfrmAddSelector = class(TForm)
rgrpSelector: TRadioGroup;
pnlBottom: TPanel;
btnClose: TButton;
... |
unit uOrderProcessor;
interface
uses
uOrder, uOrderEntry, uOrderValidator;
type
TOrderProcessor = class
private
FOrderValidator: TOrderValidator;
FOrderEntry: TOrderEntry;
public
constructor Create;
destructor Destroy; override;
function ProcessOrder(aOrder: TOrder): Boolean;
end;
i... |
unit acHeaderControl;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, {$IFDEF DELPHI7UP}Types, {$ENDIF}Forms, Dialogs,
ComCtrls, sCommonData{$IFDEF LOGGED}, sDebugMsgs{$ENDIF};
type
TsHeaderControl = class(THeaderControl)
{$IFNDEF NOTFORHELP}
private
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.