text
stringlengths
14
6.51M
unit nxPopupNotice; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls; type //弹出通知窗口控件 { TnxPopupNotice } TnxPopupNotice = class(TComponent) private FFormHeight: integer; FFormWidth: integer; FList:TList; public constructor C...
unit fOrdersHold; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ORFn, ORCtrls, VA508AccessibilityManager; type TfrmHoldOrders = class(TfrmAutoSz) lstOrders: TCaptionListBox; Label1: TLabel; cmdOK: TButton; cmdCancel: TButton; pro...
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.DAO.Engine.FireDAC Description : DAODatabase FireDAC Provider Author : Kike Pérez Version : 1.1 Created : 31/08/2018 Modified : 14/04/2020 This file is ...
unit uBarChart; interface uses FMX.Objects, System.Generics.Collections, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Layouts, FMX.Controls.Presentation, FMX.StdCtrls, FMX.PlatForm,FMX.Effects, FMX.Dialogs; ...
unit variant_array_2; interface implementation var I: int32; S: string; F: float64; procedure P(const A: array of variant); begin I := A[0]; S := A[1]; F := A[2]; end; procedure Test; begin P([11, 'abcdef', 4.6]); end; initialization Test()...
unit unJData; interface uses System.Classes, System.SysUtils; const Delim : string = ':-:-:'; type TJDataRec = record name, val: string; end; TJData = array of TJDataRec; function JDR(jname, jval: string): string; function JValByName(jname: string; j_data:TJData): string; procedure WriteJDFile(des...
unit uLog; {.$Define USELOG} interface uses System.Classes; type TLog = Procedure (const AMsg: string) of object; Procedure BufferLog(const AMsg: string); implementation uses System.SysUtils; {.$IFDEF USELOG} var gLog: TStringList; {.$ENDIF} Procedure BufferLog(const AMsg: string); Begi...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC fetch options editing frame } { } { Copyright(c) 2004-2018 Embar...
procedure writeInFixedFormat(n: real); const wholeNumberPlaces = 5; fractionalPlaces = 3; zeroDigit = '0'; negative = '-'; var signPresent: boolean; i: integer; begin // NOTE: This does not catch “negative” zero. signPresent := n < 0.0; if signPresent then begin write(negative); n := abs(n); end; // d...
unit UScript; interface uses FireDAC.Comp.Script; procedure CreateTableBabys; procedure BuildTable; procedure CreateTableLog; implementation uses MainModule; procedure CreateData_Table; var tmpScript: TFDScript; begin tmpScript := TFDScript.Create(nil); tmpScript.Connection := DMMainModule.SqlitConnecti...
Unit frm_MainWindow; Interface Uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, mxWebUpdate, StdCtrls, ComCtrls, ExtCtrls; Type Tform_MainWindow = Class( TForm ) mxWebUpdate: TmxWebUpdate; grp_ComponentUpdate: TGroupBox; btn_Up...
{ Helpers functions for the X2Software XML Data Binding } unit XMLDataBindingUtils; interface uses Classes, SysUtils, XMLDoc, xmldom, XMLIntf; type EBase64Error = class(Exception); EXSDValidationError = class(Exception); TXMLDateTimeFormat = (xdtDateTime, xdtDate, xdtTime...
unit IdTunnelCommon; {* Indy Tunnel components module Copyright (C) 1999, 2000, 2001 Gregor Ibic (gregor.ibic@intelicom.si) Intelicom d.o.o., www.intelicom.si This component is published under same license like Indy package. This package is a TCP Tunnel implementation written by Gregor Ibic (gregor.ibic@i...
unit employee_c; {This file was generated on 11 Aug 2000 20:12:57 GMT by version 03.03.03.C1.06} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the file emp...
// ========================================================================== // // Copyright(c) 2012-2014 Embarcadero Technologies, Inc. // // ========================================================================== // // Delphi-C++ Library Bridge // Interface for library FlatBox2D // unit Box2D.Dynamics; inter...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 2011-2018 Embarcadero Technologies, Inc. } { All rights rese...
{** * @Author: Du xinming * @Contact: QQ<36511179>; Email<lndxm1979@163.com> * @Version: 0.0 * @Date: 2018.11.25 * @Brief: * @References: * Introduction to Algorithms, Second Edition * Jean-Philippe BEMPEL aka RDM, The Delphi Container Library *} unit org.algorithms.hashmap; interface uses Winapi.Windows,...
{ GMMarkerFMX unit ES: contiene las clases necesarias para mostrar marcadores FMX en un mapa de Google Maps mediante el componente TGMMap EN: includes the base classes needed to show FMX markers on Google Map map using the component TGMMap ==============================================================...
{******************************************************************************* Класс для использования OPENSSL, что бы юзать RSA - Anton Rodin 2014 *******************************************************************************} unit ExtendedSSL; {$mode objfpc}{$H+} interface uses Classes, SysUtils, {%H-}...
unit Bank_impl; {This file was generated on 19 Jun 2000 15:50:28 GMT by version 03.03.03.C1.04} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the file acco...
unit frm_Archive; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, XPStyleActnCtrls, ActnMan, ToolWin, ActnCtrls, ComCtrls; type TfrmArchive = class(TForm) ActionToolBar1: TActionToolBar; ActionManager1: TActionManager; acClose: TAction; ...
unit Voxel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Schedule, BaseTypes; const MaxVoxelFidelity = 10; DefaultBlockDepth = 3; type eVoxelPos = (BNW, BSW, TNW, TSW, BNE, BSE, TNE, TSE); eVoxelDir = (dN = -%001, dS = %001, dB = -%010, dT = %010, dW = -%100, dE = %100); { tVoxel } //This vo...
{ Const strings for localization freeware SMComponent library } unit SMCnst; interface {English strings} const strMessage = 'Štampa...'; strSaveChanges = 'Da li želite da zapamtite promene u bazi podataka?'; strErrSaveChanges = 'Podaci se ne mogu zapamtiti. Proverite konekciju sa Serverom ili is...
unit Test.Devices.Logica.SPT943.ReqCreator; interface uses Windows, TestFrameWork, Devices.Logica.SPT943, GMGlobals, Test.Devices.Base.ReqCreator, GmSqlQuery; type TSPT943ReqCreatorFortest = class(TSPT943ReqCreator) protected function CanRequestPack(): bool; override; function NeedReqArch(): int; overrid...
unit frm_Users; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ActnList, XPStyleActnCtrls, ActnMan, ToolWin, ActnCtrls, ExtCtrls, Grids, DBGrids, StdCtrls, DBCtrls, Mask; type TfrmUsers = class(TForm) ActionToolBar1: TActionToolBar; ActionManage...
{**********************************************} { TeeChart Export Dialog - Inherited } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeExport; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes, {$...
(* Chapter 4 - Program 9 *) program ABiggerCaseExample; var Count : integer; Index : 0..255; begin (* main program *) for Count := 1 to 10 do begin Write(Count:5); case Count of {7..9} 7,8,9 : Write(' Big Number'); 2,4,6 : begin Write(' Smal...
unit u_LODef; //同频异频: (IO 1~8) //使用IO6, IO7, IO8控制 //同频时:IO6 = H, IO7 = H, IO8 = L //异频时:IO6 = L, IO7 = L, IO8 = H interface uses CnCommon; type //---------------------LO 测试使用的结构------------------------------------- TLOEnvironType = (loeNormalFirst, loeHighTemp, loeLowTemp, loeNormalFinal, ...
unit Pprntprc; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons, SysUtils, StdCtrls, ExtCtrls, RPFiler, RPDefine, RPBase, RPCanvas, RPrinter, Types, JPEG, UPrntPrc, Dialogs; {Print parcel information} type TParcelPrintDialog = class(TForm) CancelButton: TBitBtn; GroupBox1...
unit Dialogs; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). 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...
{ ************************************************************************************* Unit para criar uma telade aguarde modal, enquanto o processamento segue sem interrupção Desenvolvido por ** Ivan Cesar - ivancesarf@gmail.com Skype: proadvanced ** Esta unit é disponibilizada como está, não existe nehu...
unit FIToolkit.Runner.Consts; interface uses FIToolkit.Localization; const { Common consts } CHR_TASK_OUTPUT_FILENAME_PARTS_DELIM = Char('_'); INT_SPIN_WAIT_ITERATIONS = 1000; { FixInsight output file waiting } INT_FIOFILE_WAIT_CHECK_INTERVAL = 1000; INT_FIOFILE_WAIT_TIMEOUT = 5 * INT_FIOF...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC MongoDB metadata } { } { Copyright(c) 2004-2018 Embar...
unit ucompuxui; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Buttons, LResources; type { TDefCompUXUI } TDefCompUXUI = class private FDateFormat: String; FBitBtn:TBitBtn; FPic:TPicture; FPng:TPortableNetworkGraphic; protected function getImageRes(AName:String):TBit...
unit PreProcessor; interface uses Classes, Types, Windows, SysUtils, Lexer, Token, Macro, Generics.Collections; type TPreProcessor = class private FMacros: TObjectList<TMacro>; FWorkingDir: string; FNameSpace: string; FCounter: Cardinal; function GetEmptyString(ACount: Inte...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995,99 Inprise Corporation } { ...
unit Kafka.FMX.Form.Producer; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.DateUtils, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Actions, FMX.ActnList, FMX.Memo.Types, FMX.Edit, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, FMX.Ed...
unit frm_Password; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TfrmPassword = class(TForm) Password: TEdit; Label1: TLabel; btnOk: TButton; btnClose: TButton; procedure btnCloseClick(Sender: TObject); procedure btnOkC...
{ Copyright (c) 2010, Loginov Dmitry Sergeevich All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
{ Copyright (C) 2013-2016 Tim Sinaeve tim.sinaeve@gmail.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
unit ClassAdresy; interface uses DBTables, StdCtrls; type TAdresy = class private Query : TQuery; FAdresy : array of array of string; function GetAdresy( I, J : integer ) : string; function GetCount : integer; function GetAdresyCount( I : integer ) : integer; proce...
unit LoadArrearsFromTaxSystems_SQL; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids, Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus, RPCanvas, RPrinter, RPDefine, RPBase, RPFiler, ADODB; type TTaxSys...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // 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 any purpose...
{----------------------------------------------------------------------------} { Written by Nguyen Le Quang Duy } { Nguyen Quang Dieu High School, An Giang } {----------------------------------------------------------------------------} ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdCoder, IdCoder3to4, IdCoderMIME, ExtCtrls; type TForm1 = class(TForm) Button1: TButton; IdDecoderMIME1: TIdDecoderMIME; procedure Button1Click(Sender: TObjec...
unit MediaProcessing.Convertor.HHH264.H264; interface uses SysUtils,Windows,Classes, MediaProcessing.Definitions,MediaProcessing.Global; type TChangeFPSMode = (cfmNone,cfmAbsolute, cfmVIFrameOnly); TMediaProcessor_Convertor_Hh_H264_H624=class (TMediaProcessor,IMediaProcessor_Convertor_HhH264_H264) protected ...
program CreationLectureEcrireFichierType; uses crt; type c=file of integer; // fichier d'entier uniquement, sera crypte si la personne essaie de l'ouvrir manuellement, aussi possible avec les enregistrements ou des chaines par exemple procedure CreerFichier(var d:c); // la procedure servira a creer le fichier en su...
{ ***************************************************************************** * * * See the file COPYING.modifiedLGPL, included in this distribution, * * for details about the copyright. ...
{ 25/05/2007 11:15:22 (GMT+1:00) > [Akadamia] checked in } { 25/05/2007 11:14:58 (GMT+1:00) > [Akadamia] checked out /} { 25/05/2007 11:14:27 (GMT+1:00) > [Akadamia] checked in } {----------------------------------------------------------------------------- Unit Name: FDU Author: ken.adam Date: 15-Jan-20...
unit uEndereco; interface uses System.Classes, System.SysUtils, IdHTTP, xmlDoc, Xml.xmldom, Xml.Win.msxmldom, Vcl.Forms; type TEndereco = class private FLogradouro: string; FBairro: String; FMunicipio: string; FCidade: String; FTipo: String; FCodigoMunicipio: String; FEstado: Stri...
{*********************************************} { TeeChart Delphi Component Library } { Bubble Series Type Demo } { Copyright (c) 1995-1996 by David Berneda } { All rights reserved } {*********************************************} unit Bubble; interface uses ...
unit JdcView; interface uses ObserverList, ValueList, Classes, SysUtils; type TView = class(TObserverList) protected constructor Create(AOwner: TComponent); reintroduce; public class function Obj: TView; procedure sp_SyncPacket(const APacket: String); procedure sp_ASyncPack...
{ Maze painter class of the Lazarus Mazes program Copyright (C) 2012 G.A. Nijland (eny @ lazarus forum http://www.lazarus.freepascal.org/) 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; ei...
{******************************************************************************* * * * TksListViewFilter - Search Filter for TksVirtualListView * * ...
unit SearchFamOrCompoQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDA...
unit Vigilante.Configuracao; interface type {$M+} IConfiguracao = interface(IInterface) ['{DA70BB30-F87D-4E5E-BFEA-24BD01F871E5}'] function GetSimularBuild: boolean; function GetAtualizacoesAutomaticas: boolean; function GetAtualizacoesIntervalo: integer; procedure SetSimularBuild(const Value: b...
unit Billiards.Member; interface uses Classes, Graphics, JPEG; type TBilliardMember = class private fBirthDate: string; fDocumentType: string; fStreet: string; fValidFrom: string; fLastName: string; fCardNumber: string; fZipCode: string; fMunicipality: string; fNickName:...
(******************************************************************************) (* TdfsEnhListView component demo. *) (* This demo illustrates the following features of the TdfsEnhListView *) (* component: ...
unit Scanner; { Author: Wanderlan Santos dos Anjos, wanderlan.anjos@gmail.com Date: jan-2010 License: <extlink http://www.opensource.org/licenses/bsd-license.php>BSD</extlink> } interface uses Classes, Token; const MaxIncludeLevel = 32; Version = '2012.5 Alpha I semantics'; TargetCPU = 'x86_64...
// RFC-1321 https://www.ietf.org/rfc/rfc1321.txt {$MODE FPC} {$MODESWITCH OUT} {$MODESWITCH RESULT} unit dmd5; interface // // MD5Digest // // Computes MD5 digest of the data. // // Parameters: // // Data: start of input data, may be nil // Size: size of input data // DataEnd: end of data, that ...
// ========================================================================== // // Copyright(c) 2012-2014 Embarcadero Technologies, Inc. // // ========================================================================== // // Delphi-C++ Library Bridge // Interface for library FlatBox2D // unit Box2D.Rope; interface...
//Настройки unit fOptions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, RtColorPicker, ComCtrls, ExtCtrls, RXSpin; type TfrmOptions = class(TForm) pnlTop: TPanel; pnlBottom: TPanel; btnOK: TButton; btnCancel: TButton; PageOptio...
// Unit that hooks LoadLibrary, GetProcAddress, FreeLibrary for MemoryModule // to allow transparent DLL loading. unit MemoryModuleHook; interface uses Windows, MemoryModule, FuncHook; type // Callback function that is called from LoadLibraryHook to determine // an address of library data. // lpLibFileN...
unit Unit1; interface uses System.SysUtils, System.Classes, System.Math, Vcl.Forms, Vcl.Controls, Vcl.ExtCtrls, Vcl.StdCtrls, //GLS GLScene, GLObjects, GLTexture, GLVectorGeometry, GLCadencer, GLWin32Viewer, GLCrossPlatform, GLMaterial, GLCoordinates, GLBaseClasses, GLSimpleNavigation, GLProcTex...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit Unit1; interface use...
unit uCodeExplorer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, JvComponent, JvDockControlForm, JvDockVCStyle, ComCtrls, ImgList, uPlugInDefinitions, uPluginManager; type TCodeExplorerForm = class(TForm) ...
Unit handlers; uses System.IO; uses System.Net; uses controllers; uses session; procedure writeHtml(var ctx: System.Net.HttpListenerContext; content: string); begin ctx.Response.ContentType := 'text/html'; ctx.Response.ContentLength64 := Length(content); var sw := new StreamWriter(ctx.Response.OutputStream); sw.W...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{ Routines that manipulate CAN devices lists. } module can_devlist; define can_devlist_create; define can_devlist_add; define can_devlist_del; define can_devlist_get; %include 'can2.ins.pas'; { ******************************************************************************** * * Subroutine CAN_DEVLIST_CREATE (MEM, ...
unit IdUDPClient; interface uses IdUDPBase; type TIdUDPClient = class(TIdUDPBase) protected public procedure Send(AData: string); overload; procedure SendBuffer(var ABuffer; const AByteCount: integer); overload; published property Host: string read FHost write FHost; property Port: Integer ...
unit record_properties_3; interface implementation type TRec = record private FData: Int32; public property Data: Int32 read FData; function Get: Int32; end; var R: TRec; G: Int32; function TRec.Get: Int32; begin Result := Data; end; procedure Test; begin R.FData := 12; G := R....
unit ncEndereco; interface uses sysutils, classes, DB; type TncEndereco = class enID : TGUID; enEndereco : String; enEndereco2 : String; enCidade : String; enUF : String; enBairro : String; enCEP : String; enNumero : String; enCodMun : ...
unit FMXBI.GridForm; interface { A generic reusable / embeddable form with a BIGrid and a Navigator toolbar } uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, {$IF CompilerVersion>25} FMX.Graphics, {$ENDIF} {$IF CompilerVersio...
unit Test.Threads.RegularControl; interface uses SysUtils, Classes, GMGlobals, Windows, TestFrameWork, Threads.RegularControl, Threads.Pool, Threads.ReqSpecDevTemplate, RequestThreadsContainer, Threads.TCP, GMConst, GM485, GMSqlQuery, Threads.GMCOM; type TMultiObjectRequestThreadForTest = class(TMultiObjectRe...
unit AppConstants; interface type TForms = (fmNone, fmClientMain, fmClientList, fmGroupList, fmEmployerList, fmBanksList, fmDesignationList, fmLoanClassList, fmLoanMain, fmLoanList, fmCompetitorList, fmPurposeList,fmLoanTypeList, fmAcctTypeList, fmLoanCancelReasonList, ...
PROCEDURE ReadDigit(VAR InF: TEXT; VAR Digit: INTEGER); VAR Ch: CHAR; BEGIN{ReadDigit} Digit := -1; IF NOT EOLN(InF) THEN BEGIN READ(InF ,Ch); IF Ch = '0' THEN Digit := 0; IF Ch = '1' THEN Digit := 1; IF Ch = '2' THEN Digit := 2; IF Ch = '3...
unit Code02.Jacek.DaylightTimeZone; interface { @theme: Delphi Challenge @subject: #02 Daylight Time Zone @author: Bogdan Polak @date: 2020-05-16 21:00 } { Zadaniem jest wydobycie z treści strony https://www.timeanddate.com/ informacji o tym czy w podanej strefie czasowej wykonuje się przesuniecie czasu podst...
unit eSocial.Views.Default; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Router4D, Router4D.Props, Router4D.Interfaces, Bind4D, Bind4...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit PascalCoin.RPC.Operation; interface uses PascalCoin.Utils.Interfaces, PascalCoin.RPC.Interfaces, System.JSON; type TPascalCoinOperation = class(TInterfacedObject, IPascalCoinOperation) private FValid: Boolean; FErrors: string; FBlock: UInt64; FTime: Integer; FOpBlock: UInt64; FMatura...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
unit UnWidgets; interface uses Classes, Controls, StdCtrls, ExtCtrls, { Fluente } UnProduto; const COMANDA_ALTURA = 123; COMANDA_NOME_FONTE = 'Segoe UI'; COMANDA_LARGURA = 270; COMANDA_MARGENS = 10; COMANDA_TAMANHO_FONTE = 34; ITEM_ALTURA = 45; ITEM_NOME_FONTE = 'Segoe UI'; ITEM_TAMANHO_FONTE =...
unit NewHiScore; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Po...
unit uNxCompression; interface uses SysUtils, Windows, classes, nxllZipCompressor, nxllTypes, ncDebug; function CompressFile(fnUncomp, fnCompr: string):boolean; function UnCompressFile(fnCompr, fnUncomp : string):boolean; implementation function CompressFile(fnUncomp, fnCompr: string):boolean; var UnCompresse...
{$i deltics.interfacedobjects.inc} unit Deltics.InterfacedObjects.InterfacedObjectList; interface uses Contnrs, Deltics.InterfacedObjects.Interfaces.IInterfacedObjectList, Deltics.InterfacedObjects.ComInterfacedObject; type TInterfacedObjectList = class(TComInterfacedObject, IInterfacedObje...
{ Routines that manipulate individual menu entries. } module gui_menu; define gui_menu_ent_add; define gui_menu_ent_add_str; define gui_menu_ent_draw; define gui_menu_ent_refresh; define gui_menu_ent_pixel; define gui_menu_ent_select; define gui_menu_ent_next; define gui_menu_ent_prev; %include 'gui2.ins.pas'; { ****...
unit DriveStat; interface uses Classes, sysUtils; type tDriveStat = class private fTotalS : uInt64; fFreeS : UInt64; public property TotalS: uInt64 read FTotalS write FTotalS; property FreeS: uInt64 read FFreeS write FFreeS; end; implementation end.
UNIT StrUtil; { some string utilites } interface TYPE SearchPattern = RECORD str : string; strlen : BYTE; code : SHORTINT; END; procedure StartStringSearch(InputStr : string; VAR sr : SearchPattern); { initialize search variable...
unit ejb_sidl_java_util_c; {This file was generated on 28 Feb 2001 10:06:55 GMT by version 03.03.03.C1.06} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in th...
function Int(X: Double): Integer; begin Result := Trunc(X); end; function Ceil(X: Double): Integer; begin Result := Integer(Trunc(X)); if Frac(X) > 0 then Inc(Result); end; function Floor(X: Double): Integer; begin Result := Integer(Trunc(X)); if Frac(X) < 0 then Dec(Result); end; function IfThen...
unit classe.aluno_disciplina; interface Uses TEntity, AttributeEntity, SysUtils; type [TableName('Aluno_Disciplina')] TAluno_Disciplina = class(TGenericEntity) private FIdAluno:integer; FIdDisciplina:integer; FNotaTrabSegPer: Extended; FNotaTrabPriPer: Extended; FNotaQuaPer: Extended; ...
{ GMMarker unit ES: contiene las clases bases necesarias para mostrar marcadores en un mapa de Google Maps mediante el componente TGMMap EN: includes the base classes needed to show markers on Google Map map using the component TGMMap ====================================================================...
unit Tests; {$mode objfpc} {$H+} interface uses TestFramework; type TTestCaseLargestPalindromeProduct = class(TTestCase) published procedure TestResult; end; type TTestCaseLargestPrimeFactor = class(TTestCase) published procedure TestResult; end; type TTestCaseEvenFibonacciNum...
{ Mapviewer drawing engine (C) 2019 Werner Pamler (user wp at Lazarus forum https://forum.lazarus.freepascal.org) License: modified LGPL with linking exception (like RTL, FCL and LCL) See the file COPYING.modifiedLGPL.txt, included in the Lazarus distribution, for details about the license. See also: https...
unit BodyOptionsQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt....
unit KbdMacro; interface uses Windows, IniFiles, Messages, XMLIntf, MSScriptControl_TLB, Classes; type TMacroAction = (KeyboardSequence, SimConnectEvent, maSysCommand, maScript, maSendToBuffer, maXPLCommand); TMouseEvent = (None, Wheel, Left, Middle, Right); TMacroDirection = (mdDown, mdUp); type THI...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLKeyboard<p> Provides on demand state of any key on the keyboard as well as a set of utility functions for working with virtual keycodes.<p> Note that windows maps the mouse buttons to virtual key codes too, and you can use t...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{$mode objfpc}{$H+}{$J-} program is_as; uses SysUtils; type TMyClass = class procedure MyMethod; end; TMyClassDescendant = class(TMyClass) procedure MyMethodInDescendant; end; procedure TMyClass.MyMethod; begin WriteLn('Это MyMethod') end; procedure TMyClassDescendant.MyMethodInDescendant; begi...
//====================================================================// // uKembali // //--------------------------------------------------------------------// // Unit yang menangani hal-hal yang berhubungan dengan pengembalian // //==========================...