text
stringlengths
14
6.51M
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [USUARIO] The M...
unit UConvQDir4; (*==================================================================== Functions for converting data from QuickDir 4.0 ======================================================================*) {$A-} interface uses SysUtils, UCollections, UStream, UTypes, UBaseTypes; procedure OpenQD...
unit uI2XConstants; interface const IMGPROC_PARM_SEP = ';'; IMGPROC_VALUE_SEP = '='; IMGPROC_PLUGIN_SEP = ':'; IMGPROC_INST_SEP = '|'; QUOTE = ''''; MAX_BUFFER=10240; MININT = -2147483648; //This will adjust the padding for what the app will consider characters to be on the samel ine ...
// Wheberson Hudson Migueletti, em Brasília. // Internet : http://www.geocities.com/whebersite // E-mail : whebersite@zipmail.com.br // Referência: [1] TIFF - Revision 6.0 // http://home.earthlink.net/~ritter/tiff // http://www.adobe.com/Support/TechNotes.html // [2] Conv...
unit UBoard; interface Uses SysUtils, Classes, Generics.Collections, Generics.Defaults, USquare; type TBoard = class const SIZE = 40; private squares: TList<TSquare>; procedure build(i: integer); procedure linkSquares; procedure link(i: integer); public function getSquare(start: T...
unit AbsoluteValueTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testregistry, uIntXLibTypes, uIntX; type { TTestAbsoluteValue } TTestAbsoluteValue = class(TTestCase) published procedure AbsoluteTest(); procedure AbsoluteTestZero(); procedure CallNullAbsoluteTes...
{------------------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --------------------------------------...
unit Objekt.DHLShipmentdetails; interface uses SysUtils, Classes, geschaeftskundenversand_api_2, Objekt.DHLShipmentItem, Objekt.DHLShipmentNotification; type TDHLShipmentdetails = class private fShipmentDetailsTypeTypeAPI: ShipmentDetailsTypeType; fProduct: string; fAccountNumber: string; fCu...
unit uFrmMemo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFrmMemo = class(TForm) Memo: TMemo; private { Private declarations } public { Public declarations } procedure MemoClear; procedure AddText(Text:String); function M...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { A collection of components that generate post effects. } unit VXS.PostEffects; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.OpenGL, VXS.Scene, VXS.PersistentClasses, VXS.Tex...
unit Auxo.Storage.INI; interface uses System.Generics.Collections, System.Rtti, System.IniFiles, Auxo.Storage.Interfaces; type TIniStorager = class(TInterfacedObject, IStorager) protected procedure Load(AValues: TDictionary<string, string>); procedure Save(AMember: string; Value: TValue); public ...
// // Generated by JavaToPas v1.4 20140526 - 132756 //////////////////////////////////////////////////////////////////////////////// unit java.util.concurrent.Executors; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JExecutors = interface; JExecutorsClass = interface(JObjectClass) ...
unit GLDVectorForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls, GL, GLDTypes, GLDClasses; type TGLDVectorForm = class(TForm) L_X: TLabel; L_Y: TLabel; L_Z: TLabel; L_W: TLabel; E_X: TEdit; ...
unit uSearchFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, DB, DBGrids, ActnList; type TfmSearch = class(TFrame) SearchLabel: TLabel; SearchEdit: TEdit; InsideBox: TCheckBox; SearchButton: TBitBt...
unit SVGGraphic; interface uses Winapi.Windows, System.Classes, System.SysUtils, Vcl.Graphics, SVGInterfaces; type TSVGGraphic = class(TGraphic) strict private FSVG: ISVG; FOpacity: Byte; FFileName: TFileName; procedure SetOpacity(Value: Byte); procedure SetFileName(const Value: TF...
unit Transform; // Transform English string v. 1.0 interface uses Classes, Windows, SysUtils, Dialogs; const MESSAGE_FORBIDDEN_CHAR = 'Forbiden character in word: '; const ENCODE_BYTE_RANGE = 34; // using 34 chars total const BYTE_SHIFT_DOWN = 96; type TBytes = array of byte; var s: strin...
unit uBase91; { Copyright (c) 2015 Ugochukwu Mmaduekwe ugo4brain@gmail.com 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 granted to anyone to use this software for a...
unit WindowThread; interface uses Windows,Messages,Classes,SysUtils; const NameIconWait='MESICON9'; //Название ресурса, который содержит иконку этого окна NameClass:string='Class Window of TThreadWindow'; //Название класса окна InterValTimeOut=20000; //Эта константа определяет, сколько времени надо ...
unit Label3D; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TLabel3DStyle = (lsLowered, lsRaised); TLabel3D = class(TLabel) private FStyle: TLabel3DStyle; Procedure SetStyle(AStyle: TLabel3DStyle); Procedure DoDrawText; ...
unit uMallCompareListFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Frm_BillListBase, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxHyperLinkEdit, Menus, cxLookAndFeelPainters, ADODB, ActnList, DBCl...
unit Voxel_AutoNormals; interface uses Voxel, Voxel_Tools, math, Voxel_Engine, math3d, Class3DPointList, SysUtils, Dialogs; {$define LIMITES} //{$define RAY_LIMIT} //{$define DEBUG} type // Estruturas do Voxel_Tools and Voxel. { TVector3f = record X, Y, Z : single; end; TApplyNormal...
unit TurboDocumentHost; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, aqDockingBase, aqDocking, aqDockingUtils, aqDockingUI, CodeEdit, DesignView, TurboDocument; type TTurboDocumentHostForm = class(TForm) aqDockingSite1: TaqDockingSite...
unit uWinThumbnails; interface uses Windows, SysUtils, Classes, Graphics, Jpeg, ShellApi, CommCtrl, ShlObj, ActiveX, ComObj; const IEIFLAG_ASYNC = $001; // ask the extractor if it supports ASYNC extract // (free threaded) IEIFLAG_CACHE = $002; // returned from the extract...
unit cls_Config; // TConfiguration class // ==================== // // Created by Koen van de Sande // // Revision 1.0 (11-06-2001) // // New class for Voxel editor: This class keeps track of the used file list // adding a file is easy: just call AddFileToHistory(FileName), and retrieving // them can be don...
program balkendiagramm_redone; (*Integer auf oder abrunden*) function round(num: Integer) : Integer; var temp, temp2 : Integer; begin temp := abs(num); if num mod 10 >= 5 then temp2 := 1 else temp2 := 0; round := (temp div 10) + temp2; end; (*Zeile fuer einen Politiker mit String*) function printGraph(a, ...
unit uDataProvider; interface uses Windows, Variants, // Generics Generics.Collections, Generics.Defaults, // API apiObjects, apiMusicLibrary, apiThreading, apiWrappers; type { THashSet } THashSet<T> = class(TEnumerable<T>) strict private FData: TDictionary<T, Pointer>; protected ...
unit DAW.View.New; interface uses androidwifiadb, DAW.Utils.DosCmd, DAW.Adb.Parser, DAW.Tools, DAW.Model.Device, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti, FMX.Grid.Style, FMX.Grid, FMX.C...
unit pSHParametersHint; interface uses Classes, SysUtils, Graphics, Types, Forms, SynEditTypes, SynCompletionProposal, pSHIntf; type TpSHParametersHint = class(TSynCompletionProposal) private FProcedureOutPutNeeded: Boolean; FProposalHintRetriever: IpSHProposalHintRetriever...
unit unDBUser; interface uses SysUtils, Classes, DB, DBTables; type TdmUser = class(TDataModule) quLogin: TQuery; dsLogin: TDataSource; quLoginId: TIntegerField; quLoginName: TStringField; quLoginPass: TStringField; quLoginRights: TStringField; quLoginEmail: TStringField; quLoginR...
// D3-D5 411-to-BMP demo program // efg, April 2000 // // Thanks to Peter Mora for the sample .411 image to convert. unit Screen411toBMP; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TForm411toBMP = class(TForm) ButtonRead...
unit UMovimentacaoEstoque; interface uses UEntidade , UProduto , UDeposito ; type TMovimentacaoEstoque = class(TENTIDADE) public Requisicao : Integer; DataSaida : TDateTime; Quantidade : TDateTime; DepositoDestino : TDeposito; DepositoSaida : T...
unit uPrintInic; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, ComCtrls, StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxDBEdit, FIBDatabase, pFIBDatabase, DB, FIBDat...
unit uServos; {$mode objfpc}{$H+} (* This unit is mostly based on the web page :- Pi Servo Hat Hookup Guide https://learn.sparkfun.com/tutorials/pi-servo-hat-hookup-guide PJde 2019 *) interface uses Classes, SysUtils, i2c; const DEF_I2C_ADDR = $40; // Register...
unit uDocWorkReestr; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase, pFIBDatabase, DB, FIBDataSet, pFIBDataSet, FR_Class, FR_DSet, FR_DBSet, ExtCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxDa...
unit DebugView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPServer, IdFTPServer, EasyEditor, EasyRichEditor, ComCtrls, ExtCtrls, ImgList; type TDebugForm = class(TForm) IdFTPServer1: TIdFTPServer; Tr...
unit CMDUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.AppEvnts, Vcl.Clipbrd, Dmitry.Utils.System, Dmitry.Controls.DmProgress, ...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit vwuFoodsAllReport; interface uses System.SysUtils, System.Classes, System.Variants, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, vwu...
unit LZW; //////////////////////////////////////////////////////////////////////////// // // LZW compression routines // // (c) 2004 SCH // //////////////////////////////////////////////////////////////////////////// interface {$DEFINE noLZWDebugTXTs} uses {$IFDEF LZWDebugTXTs} indep, {$ENDIF} ...
unit ShopFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Spin, ComCtrls, Menus, InflatablesList_ItemShop, InflatablesList_Manager; type TfrmShopFrame = class(TFrame) pnlMain: TPanel; leShopName: TLabeledEdit; cbShopS...
unit uStringConvertManager; {$I ..\Include\IntXLib.inc} interface uses uIStringConverter, uEnums, uClassicStringConverter, uFastStringConverter, uPow2StringConverter, uIntXLibTypes; type /// <summary> /// Used to retrieve needed ToString converter. /// </summary> TStringConve...
unit Datapar.Conexao.DOA; interface uses DB, Datapar.Conexao, OracleData, Oracle; type TDOAQuery = class(TDataparQuery) strict private FConnection : TOracleSession; FQuery: TOracleDataSet; public constructor create(AProvider: TDataparProvider); function exec...
unit DP.EventSensor; //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ interface uses SysUtils, System.Generics.Collecti...
unit Classes.Goal; interface uses Interfaces.Goal, Vcl.ExtCtrls, System.Classes, System.Types, Vcl.Imaging.pngimage, Vcl.Controls; type TGoal = class(TInterfacedObject, IGoal) strict private var FPosition: TPoint; FImage: TImage; FOwner: TGridPanel; png: TPngImage; public clas...
Unit UnitServerUtils; interface uses windows; function IntToStr(i: Int64): String; function StrToInt(S: String): Int64; function UpperString(S: String): String; function LowerString(S: String): String; function ExtractFilename(const path: string): string; implementation function ExtractFilename(const path: strin...
unit UUnidadeController; interface uses Classes, SQLExpr, SysUtils, Generics.Collections, DBXJSON, DBXCommon, ConexaoBD, UPessoasVO, UController, DBClient, DB, UCondominioVO, UUnidadeVO, UCondominioController, UPlanoContasVO; type TUnidadeController = class(TController<TUnidadeVO>) private public ...
namespace proholz.xsdparser; type NamedNodeMap = not nullable sequence of XmlAttribute; FileNotFoundException = Exception; MalformedURLException = Exception; SAXException = Exception; ParserConfigurationException = Exception; InvalidParameterException = Exception; // Blocks BiFunction<T,U,C> = public...
{*****************************************************} { CRUD orientado a objetos, com banco de dados Oracle } { Reinaldo Silveira - reinaldopsilveira@gmail.com } { set/2019 } {*****************************************************} unit U_CadClientes; interface uses ...
unit Address_ZMessages; interface uses Classes, SysUtils,Dialogs,Graphics,Forms,StdCtrls; function ZShowMessage(Title:String;Msg:String;DlgType:TMsgDlgType;Buttons:TMsgDlgButtons):Integer; implementation const OkBtnCaption = 'Гаразд'; const CancelBtnCaption = 'Відмінити'; const YesBtnCaption = 'Так'; ...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, eVehicleRegistrationAPI; type TForm1 = class(TForm) btnCitajSDSd: TButton; btnCitajSDNorm: TButton; btnSacuvajPodatkeUF...
unit FormWeatherMobile2Unit; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, System.Actions, FMX.ActnList, FMX.ListView.Types, FMX.ListView, System.Rtti, System.Bindings.Output...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.ExtCtrls, Vcl.Grids, AdvObj, BaseGrid, AdvGrid, DBAdvGrid, Modules.Data, Data.DB, Vcl.StdCtrls, VCL.TMSFNCCustomComponent, VCL.TMSFN...
UNIT Stacks; INTERFACE CONST MAX = 10; TYPE (* abstract class stack *) StackPtr = ^Stack; Stack = OBJECT (*data components*) CONSTRUCTOR Init; DESTRUCTOR Done; VIRTUAL; PROCEDURE Push(val: INTEGER); VIRTUAL; ABSTRACT; FUN...
namespace GlHelper; interface uses rtl; type TRectF = record public Left, Top, Right, Bottom: Single; end; { Implements ICamera } Camera = public class public const DEFAULT_YAW = - 90; DEFAULT_PITCH = 0; DEFAULT_SPEED = 3; DEFAULT_SENSITIVITY = 0.25; DEFAULT_ZOOM = 45; {$...
unit SDL2_SimpleGUI_Form; {:< The Form Class Unit and its supporting types} { Simple GUI is a generic SDL2/Pascal GUI library by Matthias J. Molski, get more infos here: https://github.com/Free-Pascal-meets-SDL-Website/SimpleGUI. It is based upon LK GUI by Lachlan Kingsford for SDL 1.2/Free Pascal, get it h...
unit ThTextPaint; interface uses Classes, StdCtrls, Types, Graphics; type TThHAlign = ( haDefault, haLeft, haCenter, haRight ); TThVAlign = ( vaDefault, vaTop, vaMiddle, vaBottom, vaBaseline ); function ThTextWidth(inCanvas: TCanvas; const inText: string): Integer; function ThTextHeight(inCanvas: TCa...
program vingadores; const max = 101; type elemento = longint; conjunto = array [0..MAX+1] of elemento; heroes = array[0..MAX+1] of elemento; var super, super_2, equipe , equipe_2, habilidade, equipe_ok, herois, team, intersec:conjunto; i, k:integer; num, num_2, num_3, cardi_anterior, ...
unit ObjectDataManagerFrameUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, ActnList, Menus, ShellAPI, Actions, FileCtrl, Types, IOUtils, CoreClasses, PascalStrings, UnicodeMixedLib, ObjectData, ObjectDataManager, ObjectDa...
unit RestClient; interface {$I DelphiRest.inc} uses Classes, SysUtils, Windows, IdHTTP, SuperObject, RestUtils, {$IFDEF USE_GENERICS} Generics.Collections, Rtti, {$ENDIF} Contnrs, DB; const DEFAULT_COOKIE_VERSION = 1; {Cookies using the default version correspond to RFC 2109.} type ...
unit EditArtist; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ExtCtrls, BaseForm, Artist, EditArtistController; type TFrmEditArtist = class(TBaseForm) PanelTop: TPanel; BevelTop: TBevel; MainPanel: TPanel; lbName: TLabel; ...
//demo for WebSocketUpgrade and WebSocketCrypt // // v0.10, 2015-07-31, by Alexander Morris // // to test from Chrome Browser on same machine, visit https://www.websocket.org/echo.html and // set Location field to ws://127.0.0.1:8080 then hit "Connect" // unit wsDemo1; interface uses Windows, Messages, SysUtils...
unit BaseHW; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type //List of devices THardwareList = (CHW_NONE, CHW_CH341, CHW_AVRISP, CHW_USBASP, CHW_ARDUINO, CHW_FT232H); //Base class for hardware TBaseHardware = class protected FHardwareName: string; FHardwareID: THardwareList; public property Har...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2022 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 ...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLAnimatedSprite<p> A sprite that uses a scrolling texture for animation.<p> <b>History : </b><font size=-1><ul> <li>05/03/10 - DanB - More state added to TGLStateCache <li>10/04/08 - DaStr - Added a Delpi 5 interface bug work-ar...
unit CommunityLinks; interface procedure LoadCommunityLinks; implementation uses FormMain, SysUtils, Dialogs, Menus; // ***************************************************** // ********* Community Menu Loading Procedures ********* // ***************************************************** procedure...
unit fre_net_pl_client; {$mode objfpc}{$H+} {$modeswitch nestedprocvars} {$codepage UTF8} interface { TODO : -> : ConnLock ? Communication Flow: There are two modes of operation, embedded and net mode. In embedded mode the DBO Server and the net client are shortcut together, in netmode over the net. } ...
program OperatorTest; procedure TestUnaryBoolean; procedure Test (x: boolean); begin write('n', 'o', 't', ' ', x, ' ', '=', ' ', not x, eol); end; { Test } begin Test(false); Test(true); end; { TestUnaryBoolean } procedure TestBinaryBoolean; procedure Test (x: boolean; y: boolean); begi...
unit GLPhysics; interface uses System.Classes, System.SysUtils, Vcl.Dialogs, OpenGL1x, GLScene, GLVectorGeometry, GLXCollection, GLBehaviours, GLForces; type // only ssEuler is usable at the moment TDESolverType = (ssEuler, ssRungeKutta4, ssVerlet); // TDESolver = proced...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmSpinCombo Purpose : An edit control with a Spin and combo button combination. Date : 07-20-00 Author : Ryan J. Mills Version : 1.92 ===================================...
unit bnkClass; {************************************************} {* *} {* ATM emulation *} {* Author: Dukuy Roman *} {* (C) DukuyTeam 2009-2011 ...
unit uForm6; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.ListView, FMX.Layouts, FMX.StdCtrls, FMX.Controls.Presentation;...
unit fmMemo; { Exports OutForm and MemoForm and their type: TMemoForm C.A. van Beest, R.P. Sterkenburg, TNO-PML, Rijswijk, The Netherlands 12 Mar 97: - Added method ClrLine 27 Mar 97: - Corrected method ClrLine } interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs,...
program HowToDrawFramesPerSecond; uses SwinGame, sgTypes; procedure Main(); begin OpenGraphicsWindow('Draw Framerate', 400, 300); repeat ProcessEvents(); ClearScreen(ColorWhite); DrawFramerate(10,8); RefreshScreen(); until WindowCloseRequested(); ReleaseAllResou...
unit libcommand; interface uses libutils; function parse_command ( command: string ) : TCommandChain; function compile_command_chain ( chain: TCommandChain ) : string; procedure exec_command ( command: string ); implementation uses classes, libpipe, crt, libosutils, libterm, libenv, libpasswo...
unit uInstallUtils; interface {$WARN SYMBOL_PLATFORM OFF} uses System.SysUtils, System.Classes, System.Win.Registry, System.Win.ComObj, Winapi.Messages, Winapi.Windows, Winapi.ShlObj, Winapi.ActiveX, Vcl.Forms, Dmitry.Utils.ShortCut, UnitINI, uConstants, uMemory, ...
unit NGWindows; {$MODE Delphi} interface uses Windows, Messages; function MsgBox(Wnd: HWND; Text, Title: String; Flags: Integer): Integer; procedure ErrorDlg(Wnd: HWND; Text: String); procedure InfoDlg(Wnd: HWND; Text: String); function FocusTo(Wnd: HWND; idCtl: Integer): Longint; function GetWndText(Wnd: HWND): ...
(* * DGL(The Delphi Generic Library) * * Copyright (c) 2004 * HouSisong@gmail.com * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the ab...
{ Author: Travis Carden Date: 02/16/2000 Unit Name: stu.tpu } unit stu; interface procedure InitGraphMode; function GetCenterX:integer; function GetCenterY:integer; procedure CenterText(x,y:integer;text:string); procedure OutlineText(x,y,ForeColor,BkColor:integer;text:string); procedur...
unit VolumeGreyByteData; interface uses Windows, Graphics, Abstract3DVolumeData, AbstractDataSet, ByteDataSet, dglOpenGL, Math; type T3DVolumeGreyByteData = class (TAbstract3DVolumeData) private // Gets function GetData(_x, _y, _z: integer):byte; function GetDataUns...
unit VSoft.AntPatterns; interface uses System.SysUtils, Generics.Collections; type IFileSystemPattern = interface ['{A7FC46D9-2FCE-4AF3-9D3B-82666C5C53B2}'] function GetDirectory : string; function GetFileMask : string; property Directory : string read GetDirectory; property FileMask : st...
unit uniteTestLecteurFichierTexte; interface uses TestFrameWork, SysUtils, uniteLecteurFichierTexte, uniteLecteurFichier; type TestLecteurFichierTexte = class (TTestCase) published procedure testGetTypeBonneExtensionHTM; procedure testGetTypeBonneExtensionHTML; procedure testGetTypeBonneExtensi...
{..............................................................................} { Summary Demo how to use the Undo system - create a component and then a pin } { for this component in two seperate steps and undo these two steps } { ...
{------------------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --------------------------------------...
 //--------------------------------------------------------------------------- // 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 Redi...
unit ExplorerViewMain; interface uses Windows, ActiveX, SysUtils, // API apiCore, apiMusicLibrary, apiWrappers, apiPlugin, apiObjects, apiFileManager, // Wrappers AIMPCustomPlugin; type { TDemoExplorerViewPlugin } TDemoExplorerViewPlugin = class(TAIMPCustomPlugin) protected function InfoGet(Ind...
unit uParentToolBarList; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentList, DB, Buttons, ExtCtrls, uParentCustomList, uMRSQLParam, mrConfigList, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, cxDBData, cxGridLevel, cxClasses, cxContro...
namespace Sequences_and_Queries; interface uses System.Collections.Generic; type Helper = public class private protected public class method FillCustomers: sequence of Customer; class method FillOrders (number: Integer): sequence of Orders; class method FillCompanies: sequence of Company; cl...
unit uDebugInfo; interface uses System.SysUtils, GLScene, GLHUDObjects, GLVectorGeometry; const C_PRECISION = 6; C_DIGITS = 3; type TdfDebugRec = record sCaption, sParam: String; bVisible: Boolean; end; TdfDebugInfo = class(TGLHUDText) private FDebugs: array ...
unit ibSHDataCustomFrm; interface uses SHDesignIntf, SHOptionsIntf, ibSHDesignIntf, ibSHComponentFrm, ibSHDriverIntf, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ExtCtrls, SynEdit, pSHSynEdit, Grids, DBGrids, DBGridEh, DbUtilsEh, ImgList, D...
(* Compound Documents v1.00 ~~~~~~~~~~~~~~~~~~~~~~~~ Robert R. Marsh, SJ rrm@sprynet.com http://home.sprynet.com/sprynet/rrm/ Compound Documents, or OLE Structured Storage, provide an ingenious and easy way t...
//Connexion V1.1 // //Patrick Lafrance 2012/10/03 unit uniteConnexionHTTPServeur; interface uses StrUtils, SysUtils, DateUtils, uniteConnexion, uniteRequete, uniteReponse; type ConnexionHttpServeur = class(Connexion) private requeteRecue : Requete; public //Lit une requête d'un...
unit DOMQuickRTTI; interface uses classes,typinfo,sysutils,QuickRTTI, MSXML2_TLB,Dialogs; type { This file is released under an MIT style license as detailed at opensource.org. Just don't preteend you wrote it, and leave this comment in the text, and I'll be happy. Consider it my resume :) www.bigattichouse.com ww...
unit IdResourceStringsUriUtils; interface resourcestring // TIdURI RSUTF16IndexOutOfRange = 'Index de caractère %d hors limites, longueur = %d'; RSUTF16InvalidHighSurrogate = 'Le caractère à l'#39'index %d n'#39'est pas un caractère de substitution étendu UTF-16 valide'; RSUTF16InvalidLowSurrogate = 'Le cara...
unit BonusControl; interface uses Math, TypeControl, BonusTypeControl, RectangularUnitControl; type TBonus = class(TRectangularUnit) private FBonusType: TBonusType; function GetBonusType: TBonusType; public property BonusType: TBonusType read GetBonusType; constructor Create(const AId: Int64;...
{ ******************************************************* } { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2010 Embarcadero Technologies, Inc. } { } { ******************************************************* } unit MyGrids; {$R-,T-,H+,X+} interface uses {$IF NOT DEFINED(MSWINDOWS)} W...
unit UnitNewGroupForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.AppEvnts, Vcl.Menus, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnPop...
unit u_applicationform; {$mode objfpc}{$H+} interface uses Forms, StdCtrls, Buttons, ExtCtrls, Dialogs , SysUtils , fphttpserver, fpwebfile , u_http_server_thread , Classes; const PORT = 80; type { TApplicationForm } TApplicationForm = class(TForm) BitBtnStart : TBitBtn; BitBtnStop ...
program Heapsort; {* Heapsort The method of sorting by straight selection is based on the repeated selection of the least key among n items. Straight selection can be improved by retaining from each scan more information than just the identification of the single least item. With n/2 comparisons it is possible to de...
unit frameFormulaGridUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, frameGridUnit, Grids, RbwDataGrid4, StdCtrls, Mask, JvExMask, JvSpin, Buttons, ExtCtrls; type TValidCellEvent = procedure (Sender: TObject; ACol, ARow: Integer; var ValidCell: Boolean...