text
stringlengths
14
6.51M
unit frPreProcessor; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is frPreProcessor.pas. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2008 Anth...
unit uObjectCombo; interface uses Buttons, Classes, SysUtils, Graphics, uMyTypes, Math; type TComboObject = class(TObject) private objID: integer; // ID objPoloha: TMyPoint; // pouziva sa len vtedy, ak nie je combo polohovane vzhladom na nejaky svoj komponent objPolohaObject: integer; // identi...
unit Warning; {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is Warning, released May 2003. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2008...
unit ParametricTableForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RootForm, GridFrame, ComponentsParentView, ParametricTableView, NotifyEvents, ComponentsBaseView; {$WARN UNIT_PLATFORM OFF} type T...
unit fShowParseTree; { AFS 2002 A form to show a unit's parse tree mainly for debugiing purposes when the parse goes wrong } {(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is fShowParseTree, released Ma...
unit UBackUp; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DADump, UniDump, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinscxPCP...
{ ******************************************************* } { } { Implements a TToolbar descendant that has a Menu to } { make IDE like Toolbar menus very easy. This works } { only in Delphi 4.0 } { } { Copyright (c) 1995,98 Inprise Corporation } { } { ******************************************************* } unit Me...
unit ComakerSearch; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseSearch, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, RzDBGrid, Vcl.Mask, RzEdit, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel;...
{ ****************************************************************************** * * AV Catcher * * Description * Log the Access violation to a log file and allow the user to copy * the information into an email if needed. * * * * * ******************************************************...
//////////////////////////////////////////////////////////////////////////////// // // // File : MainFrm.pas // // Date : 05-03-2009 ...
unit ncPRBaseClasses; { ResourceString: Dario 13/03/13 } interface uses ExtCtrls, SysUtils, Classes, Controls, Forms, Graphics, StdCtrls, messages; const kNaoImprimir = 'N Ã O I M P R I M I R'; //kPrintThumbsPanel = $00737373; kPrintThumbsPanelColor = clBtnFace; kCarregando = 'Carregando...'; ...
unit GrievanceUtilitys; interface uses DB, DBTables, Tabs, Classes, Dialogs, SysUtils, Windows, PASTypes, RPBase, RPDBUtil, RPDefine; Procedure SetPetitionerNameAndAddress(MainTable : TTable; LawyerCodeTable : TTable; LawyerCode : Strin...
unit ClientListIntf; interface type TClientFilterType = (cftAll,cftActive,cftRecent); type IClientFilter = interface(IInterface) ['{8EB2DE06-03CF-4BCE-B0A2-A75BA96D902D}'] procedure FilterList(const filterType: TClientFilterType; const nonClients: boolean = false); end; implementation end.
unit gfx_pcd; {*********************************************************************** Unit gfx_pcd.PAS v1.2 0801 (c) by Andreas Moser, amoser@amoser.de, Delphi version : Delphi 3 / 4 gfx_pcd is part of the gfx_library collection You may use this sourcecode for your freewareproducts. Yo...
unit ClientMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Corba, Account_I, Account_C; type TForm1 = class(TForm) btnBalance: TButton; Label1: TLabel; btnGetYearOpened: TButton; btnSetYearOpened: TButton; Label2: TLabel; Edit1: T...
unit UnRelatorio; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, RLReport, DB, { helsonsant } Util, DataUtil, UnModelo, Relatorios, QRCtrls, QuickRpt; type TRelatorio = class(TRLReport, IReport) DetailBand1: TQRBand; PageFooterBand1: TQRBand; P...
{********************************************} { TeeChart Pro Charting Library } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {********************************************} unit TeeDBEdit; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messag...
{ @abstract(Essa classe é uma classe final) } unit URetangulo; interface uses UFormaGeometrica , Graphics , Controls ; type TRetangulo = class(TFormaGeometrica) private FBase: Integer; FAltura: Integer; public constructor Create(const coCor: TColor); function CalculaArea: Double; ...
{$IFDEF SOLID} unit Stat; interface function SERVICE(ServiceNumber: Longint; Buffer: Pointer): Longint; implementation {$ELSE} library Stat; {$ENDIF} {$IFDEF VIRTUALPASCAL} uses Types, Consts_, Log, Video, Wizard, Misc, Language, Config, Semaphor, Plugins, Dos; {$IFNDEF SOLID} {$Dynamic MAIN.LIB} {$ENDIF} {$EN...
unit ClipboardUnit; interface uses System.Classes; type TClb = class(TObject) private class var Instance: TClb; // TODO: GetRows // function GetRows: TStringList; public function ConcatRows: string; function GetRowsAsArray: TArray<String>; class function NewInstance: TObject; override...
unit FileLib; { FileLib v1.5 (c) by sergey korowkin, 1998. } interface uses Types, Wizard, Video, Log; type PItem = ^TItem; TItem = record Id: Byte; Offset: Longint; Size: Longint; Name: String[118]; end; PIndex = ^TIndex; TIndex = object(TCollection) procedure FreeItem(Item: Pointer); virtual; ...
unit uShortIntStr; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; const charShInt = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; base = 62; type TForm26 = class(TForm) Button1: TButton; procedure Button1Click...
unit CaixaAplicacao; interface uses Classes, DB, DBClient, { Fluente } Util, DataUtil, UnCaixaModelo, Componentes, UnAplicacao; type TCaixaAplicacao = class(TAplicacao, IResposta) private FCaixaMenuView: ITela; FCaixaModelo: TCaixaModelo; protected procedure ExibirRegistroDeCaixa(const Chamada:...
unit cdColdWarVeteranLimits; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, DBTables, DB, Buttons, Grids, Wwdbigrd, Wwdbgrid, ExtCtrls, Wwtable, Wwdatsrc, Menus; type TfmColdWarVeteranLimits = class(TForm) dsColdWarVeteranLimits: Tww...
unit Ths.Erp.Database.Table.SysUserMacAddressException; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TSysUserMacAddressException = class(TTable) private ...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book September '1999 Problem 27 O(N) Recursive Method } program GrayCode; const MaxL = 30; var K, LL, LLL, LLLL : Longint; S : array [1 .. MaxL] of Byte; TT : Longint; Time : Longint absolute $...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1995, 1996 AO ROSNO } { Copyright (c) 1997, ...
/////////////////////////////////////////////////////////////////////////////// // LameXP - Audio Encoder Front-End // Copyright (C) 2004-2010 LoRd_MuldeR <MuldeR2@GMX.de> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by /...
unit uInterfaces; interface uses Winapi.Messages, OtlCommon, OtlTaskControl, uObj, OtlTask, Spring.Container; const WM_LOG = WM_USER + 1; WM_STOP = WM_USER + 2; // 参数 PARAM_EMULATOR_INFO = 'EmulatorInfo'; // 模拟器信息 PARAM_ACCOUNT = 'account'; // 账号 PARAM_PASSWORD = 'password'; // 密码 PARAM...
PROGRAM Zeichenkettenverarbeitung; FUNCTION DeleteSubString(str, subStr: string): string; BEGIN WHILE Pos(subStr, str) <> 0 DO BEGIN Delete(str, Pos(subStr, str), Length(subStr)); END; (* WHILE *) DeleteSubString := str; END; (* DeleteSubString *) FUNCTION Trim(s: string): string; BEGIN Trim := DeleteS...
{ Routines to manage the RENDlib device. } module gui_rendev; define gui_rendev_def; define gui_rendev_setup; define gui_rendev_resize; define gui_rendev_xf2d; %include 'gui2.ins.pas'; { ******************************************************************************** * * Subroutine GUI_RENDEV_DEF (DEV) * * Initia...
{ ****************************************************************************** } { Fast KDTree Double Type support } { ****************************************************************************** } { * https://zpascal.net ...
unit gameobject; {$mode objfpc}{$H+} interface uses Classes, SysUtils, renderobject, math; type TGameObject=class(TRenderobject) { Render object with game mechanics like hitboxes and } private fRange: single; fRenderCollision: boolean; function getRange: single; protected // procedure r...
{***************************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 2000-2001 Borland Software Corporation...
program commdev; uses WinDos, Crt; { OOP Communications Device Unit - Written by Mike Fricker, April 96 } type pCommObj = ^tCommObj; tCommObj = object constructor init; function detect : Boolean; virtual; function open(pn, br : Word; pr : Byte) : Boolean; virtual; proc...
unit ASN1.TestCase; interface uses TestFramework; (* Online encoder / decoder: 1. https://asn1.io/asn1playground/ 2. https://lapo.it/asn1js/ 3. https://www.mobilefish.com/services/big_number/big_number.php *) type TASN1_TestCase = class(TTestCase) public class constructor Create; published pro...
{ *********************************************************** } { * TForge Library * } { * Copyright (c) Sergey Kasandrov 1997, 2016 * } { *********************************************************** } unit tfRC5; {$I TFL.inc} {$POINTERMATH ON} interface uses ...
unit Reference; interface uses Entity, ADODB, DB; type TReference = class(TEntity) private FFirstname: string; FLastname: string; FMiddlename: string; FName: string; FRefType: string; FIsDependent: boolean; FIsStudent: boolean; public procedure Add; override; procedure Sav...
unit g_flyers; interface uses OpenGL, u_math, g_class_gameobject, g_game_objects, g_player, g_rockets; type TEnemyFlyer = class (TGameObject) Target : TGameObject; FireTime : Integer; procedure Move; override; procedure Render; override; procedure DoCollision(Vector : TGamePos; CoObject : TObj...
{=============================================================================== Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司 All rights reserved. 错误接线,接线图绘图单元 + TWE_DIAGRAM 接线图 ===============================================================================} unit U_WE_DIAGRAM; interface uses Sy...
{*! * Fano Web Framework (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT) *} unit EnvironmentImpl; interface {$MODE OBJFPC} {$H+} uses Depen...
unit chrome_browser; {$mode delphi}{$H+} {$WARN 5024 off : Parameter "$1" not used} {$I vrode.inc} interface uses Classes, SysUtils, Controls, LCLIntf, LazUTF8, Forms, vr_intfs, vr_SysUtils, vr_utils, chrome_common, uCEFChromiumWindow, uCEFApplication, uCEFInterfaces, uCEFTypes, uCEFProcessMes...
unit UFrmRoleEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBClient; type TFrmRoleEdit = class(TForm) lblRoleID: TLabel; lblRoleName: TLabel; lblRemark: TLabel; edtRoleID: TEdit; edtRoleName: TEdit; mmoR...
// // 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...
{ History: Yar - 19/06/11 - Fixed names of entry points in Windows (thanks to Johannes Pretorius, Bugtracker ID = 3319369) DaStr - 07/11/09 - Added $I GLScene.inc for Delhi 5 compatibility Improved FPC compatibility (thanks Predator) (BugtrackerID = 2893580) } { ==============================================...
unit Quick.RTTI.Utils; interface uses SysUtils, Rtti; type TRTTI = class private class var fCtx : TRttiContext; public //class function GetProperties(); class function GetField(aInstance : TObject; const aFieldName : string) : TRttiField; overload; class function GetField(aTypeInfo : Point...
unit fFocusedControls; {==============================================================================} { Focused Control Dialog } {------------------------------------------------------------------------------} { This dialog handles displaying focus changes during...
unit uIRCColors; interface uses Graphics; const ColorChar = ''; BoldChar = ''; ClearChar = ''; ItalicChar = #$1D; UnderlineChar = #$1F; IrcColors: array[0..15] of TColor = ( clWhite, clBlack, clNavy, clGreen, clRed, clMaroon, clPurple, ...
unit for_in_generic_1; interface implementation function Iterate<T>(const Arr: array of T; const Proc: procedure (const Item: T; out BreakIterate: Boolean)): Integer; begin var Br := False; for var Item in Arr do begin Proc(Item, Br); if Br then Exit; end; end; var A: array of Int32; G...
unit uSaveFileDialog; //The following code example illustrates creating a SaveFileDialog, setting members, //calling the dialog box using the ShowDialog method, and saving the current file. interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System....
PROGRAM Hello(INPUT, OUTPUT); BEGIN WRITELN('Hello world!'); END; PROGRAM Hello(INPUT, OUTPUT); BEGIN WRITELN('Hello world!'); END; PROGRAM Hello(INPUT, OUTPUT); BEGIN WRITELN('Hello world!'); END; PROGRAM Hello(INPUT, OUTPUT); BEGIN WRITELN('Hello world!'); END; PROGRAM Hello(INPUT, OUTPUT); BEGIN WRITELN('H...
unit fTemplateImport; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Gauges, StdCtrls, ComCtrls, fBase508Form, VA508AccessibilityManager; type TfrmTemplateImport = class(TfrmBase508Form) animImport: TAnimate; btnCancel: TButton; lblImporting: TStaticText; ...
unit umain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, DividerBevel, usplashabout, uPoweredby, Forms, Controls, Graphics, Dialogs, StdCtrls, Grids, ExtCtrls, Buttons, Menus, IniFiles, strutils; type { TfrmMain } TfrmMain = class(TForm) btnAdd: TButton; btnQuit: TButton; ...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Math.SIUnits; {$I ADAPT.inc} interface uses {$IFDEF ADAPT_USE_EXPL...
{ /*************************************************************************** findreplacedialog.pp -------------------- ***************************************************************************/ Author: Mattias Gaertner ****************************...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TfrmDialogDemo } TfrmDialogDemo = class(TForm) btnLoad: TButton; btnSave: TButton; btnFont: TButton; btnClear: TButton; fodFontDemo: TFontDialog; memDemo: ...
unit FormMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, Spin, PairSplitter, JSONPropStorage, syncobjs, fgl, fpjson, Yeehaa; type TBulbMap = specialize TFPGMap<String,TBulbInfo>; { TMainForm } TMainForm = class(TForm) B...
// // 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...
unit UContasReceber; interface uses SysUtils, Classes, UCliente, UFormaPagamento, UUsuario, UParcelas, UCondicaoPagamento; type ContasReceber = class protected numNota : Integer; serieNota : string[2]; numParcela : Integer; umCliente : C...
unit FMX.RESTLight.Types; { author: ZuBy http://rzaripov.kz 2016 } interface type // authorization response TmyAuthToken = record token: string; user_id: string; expires_in: Single; end; // app settings ( vk / facebook / instagram ) TmyAppSettings = record ID: string; Key: string...
unit Ths.Erp.Database.Table.SysGridColColor; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TSysGridColColor = class(TTable) private FTableName: TField...
unit U_WE_VECTOR_MAP; {=============================================================================== Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司 All rights reserved. 错误接线,向量图绘制单元 + TWE_VECTOR_MAP 向量图绘制 + TWE_VECTOR_MAP_COLOR 色彩索引 =====================================================================...
{=============================================================================== Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司 All rights reserved. 错误接线,向量图绘制单元 + TPOWER_PHASE_MAP 向量图绘制 + TPOWER_PHASE_MAP_COLOR 色彩索引 ===============================================================================} unit U...
unit adot.Collections.Types; interface uses System.Generics.Collections, System.Generics.Defaults, System.Classes, System.SysUtils, System.StrUtils, System.Math; type TEnumerableExt<T> = class(TEnumerable<T>) protected class procedure DoSaveToStream(Src: TEnumerable<T>; Dst: TStream; Encoding: TE...
unit TestCastSimple; { AFS 9 Jan 2000 This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility This unit tests simple type casts } interface uses Classes, StdCtrls; var lcStrings: TStringList; lcObj: TObject; lcButton: TButton; implementa...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
unit JvSpecialImageDemoForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Spin, JvSpecialImage; type { TForm1 } TForm1 = class(TForm) btnFadeIn: TButton; btnFadeOut: TButton; cbFlipped: TCheckBox; cbMirrored: TCheckBox; c...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Notification Center implementation for Windows } { ...
unit uGCodeHL; (* uGCodeHL based on simlehl.pas included as an example highlighter found in ..\lazarus\examples\SynEdit\NewHighlighterTutorial See comments below and http://wiki.lazarus.freepascal.org/SynEdit_Highlighter How it works: - Creation The Highlighter creates Attributes that it can return the...
unit uSchach; interface uses Graphics, Classes, SysUtils, Dialogs; type TZug = String; TPosition = record x,y:Integer; end; TFarbe = (schwarz, weiss); TTyp = (Bauer,Laeufer,Springer,Turm,Dame,Koenig); TSchachFigur = class Position: TPosition; ...
// // This unit is part of the GLScene Project, http://glscene.org // {: <b>History : </b><font size=-1><ul> <li>04/06/10 - Yar - Added to GLScene (Created by Rustam Asmandiarov aka Predator) </ul></font> } unit GLSArchiveManager; {$I GLScene.inc} interface uses ...
unit Player.AudioOutput.PCM; interface uses Windows,SysUtils,Classes,Player.AudioOutput.Base,MediaProcessing.Definitions; type TAudioOutputDecoder_PCM = class (TAudioOutputDecoder) public function DecodeToPCM( const aFormat: TMediaStreamDataHeader; aData: pointer; aDataSize: cardinal; aInfo: pointer...
{*******************************************************} { } { Midas RemoteDataModule Pooler Demo } { } {*******************************************************} unit pooler; interface uses...
{ **********************************************************************} { } { DeskMetrics DLL - dskMetricsCommon.pas } { Copyright (c) 2010-2011 DeskMetrics Limited } { ...
unit ColorClass; interface uses System.SysUtils, System.Classes, FMX.Types, FMX.Controls, System.Types, FMX.Objects, FMX.StdCtrls, System.UITypes, FMX.Graphics, FMX.Dialogs, System.Math, System.Math.Vectors, FMX.Edit, FMX.Layouts, FMX.Effects; const SOLID_PRIMARY_COLOR: TAlphaColor = ($FF1867C0); SOLID_ERR...
unit slmlog; interface function SaveToLogFile(const ALogFile, ALog : string; AFlag: byte = 0): boolean; implementation uses SysUtils, Windows; var cs : TRTLCriticalSection; function SaveToLogFile(const ALogFile, ALog : string; AFlag: byte = 0): boolean; var F : TextFile; begin result := fa...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit PluginTypes; interface Uses Windows, Classes, Graphics; Type TGetStreamFunc = function (FName:ShortString): TStream; TStreamExistsFunc = function (FName:ShortString): Boolean; TGetProcFunc = function (FuncName:ShortString): Pointer; TDecompressFunc = function (Src:TMemoryStream): TMemoryStream...
{******************************************} { TeeChart Delphi Component Library } { SQL Query Chart Demo } { Copyright (c) 1995-2001 by David Berneda } { All rights reserved } {******************************************} unit sqlbars; interface uses SysUtils, WinType...
unit Controller.Register.ToFuel; interface uses Model.Register.ToFuel, View.List.ToFuel, View.Register.ToFuel, Controller.Register.Base, View.Report.ToFuel, System.Classes; type TToFuel = class(TRegister<TToFuel, TdtmdlToFuel, TfrmListToFuel, TfrmRegisterToFuel>) private FViewReport: TfrmReportToFuel...
unit oPKIEncryptionEngine; interface uses System.Classes, System.SysUtils, System.Win.Registry, Winapi.Windows, wcrypt2, WinSCard, oPKIEncryption, oPKIEncryptionEx, TRPCB; type TPKIEncryptionEngine = class(TInterfacedObject, IPKIEncryptionEngine, IPKIEncryptionEngineEx) private fCSPName: st...
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.DAO.Query Description : DAODatabase Query Author : Kike Pérez Version : 1.1 Created : 31/08/2018 Modified : 07/04/2020 This file is part of QuickDAO: ht...
{------------------------------------------------------------------------} { } { Extenso.pas } { Classes de transcrição de valores e números por extenso. } { ...
{ @abstract(Essa classe é uma classe final) } unit UQuadrado; interface uses UFormaGeometrica , Graphics , Controls ; type TQuadrado = class(TFormaGeometrica) private FLado: Integer; public constructor Create(const coCor: TColor); overload; function CalculaArea: Double; override; ...
unit UInspector; {$mode objfpc}{$H+} interface uses Classes, typinfo, Graphics, ExtCtrls, StdCtrls, UBaseShape, UGeometry; type TParamsUpdateEvent = procedure of object; { TParamEditor } TParamEditor = class protected FShapes: array of TShape; FLabel: TLabel; FPropInfo: PPropInfo; ...
unit gridOperUnit; interface uses System.SysUtils, Vcl.Grids, Vcl.DBGrids; var ss: string; procedure SetGridColumnWidths(Grid: Tdbgrid); implementation procedure SetGridColumnWidths(Grid: Tdbgrid); const DEFBORDER = 10; var temp, n: Integer; lmax: array [0..30] of Integer; begin with Grid do begin ...
unit uConstrutorSQL; interface uses Classes; type TConstrutorSQL = class private FCampos: TStringList; FCondicoes: TStringList; FTabela: string; FJuncoes: TStringList; FCamposTabelaSecundaria: TStringList; function JuncaoFormatada(psTabelaPrincipal, psTabelaSecundaria: string): string; ...
unit fConsultAlertTo; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ORCtrls, ORfn, ExtCtrls, fBase508Form, VA508AccessibilityManager; type TfrmConsultAlertsTo = class(TfrmBase508Form) cmdOK: TButton; cmdCancel: TButton; cboSrcList: TORComboBox; DstList:...
unit AnimalsClasses; interface type TAnimal = class public constructor Create; function GetKind: string; function Voice: string; virtual; abstract; private FKind: string; end; TDog = class (TAnimal) public constructor Create; function Voice: string; override; function Eat: str...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, IniFiles, ShellApi, ComCtrls, XPMan, EditName, // XLSReadWriteII units Xc12Utils5, Xc12DataWorkbook5, XLSSheetData5, XLSReadWriteII5, XLSNames5; type TfrmMain = class(TForm) ...
unit uPassword; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.ImgList, uDocument, Logic; type TfrmPassword = class(TForm) Image1: TImage; Lab...
unit uMembersArray; interface uses uMembersClass, ADODB, DB, SysUtils, Classes, Dialogs; type TMembersArray = class private conn : TADOConnection; dbName : String; public constructor Create(db : String); function getAllMembers: TStringList; function getMemberNames : TStringList; ...
unit fOptionsLists; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ORCtrls, OrFn, Menus, fBase508Form, VA508AccessibilityManager; type TfrmOptionsLists = class(TfrmBase508Form) pnlBottom: TPanel; btnOK: TButton; btnCancel: TButton; ...
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info) unit SMARTSupport.OCZ.Vector; interface uses BufferInterpreter, Device.SMART.List, SMARTSupport, Support; type TOCZVectorSMARTSupport = class(TSMARTSupport) private function IsPanasonicRPSSB(const Model: String): Boolean; function IsO...
program hanoi3; type States = ( Prepare, Ready, Remove ); PTask = ^TTask; TTask = record qnt: integer; src: integer; dst: integer; state: States; next: PTask; end; TTower = record head: PTask; qnt: integer; end; procedure hanoi_init(va...
unit Ec2GradoSol; interface Type TEc2GradoSol = class(TObject) private FValB: real; FValC: real; FValA: real; FSol2: real; FSol1: real; FIsReal: boolean; FIsUndefined: boolean; procedure SetSol1(const Value: real); procedure SetSol2(const Value: real); procedu...
{$mode objfpc}{$H+}{$J-} {$interfaces com} uses SysUtils, Classes; type IMyInterface = interface ['{3075FFCD-8EFB-4E98-B157-261448B8D92E}'] procedure Shoot; end; TMyClass1 = class(TInterfacedObject, IMyInterface) procedure Shoot; end; TMyClass2 = class(TInterfacedObject, IMyInterface) proc...
unit Unit1; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons, //GLS GLKeyboard; type TForm1 = class(TForm) Timer1: TTimer; PAUp: TPanel; Label1: TLabel; PALeft: TPanel; PARight:...
unit ufSignIn; 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.ListBox, FMX.Edit, FMX.Layouts, FMX.Controls.Presentation, uBusiObj, FMX.TabControl; const cTabName = 'Ta...