text
stringlengths
14
6.51M
unit configvars; {$MODE OBJFPC}{$H+}{.$HINTS ON} {$UNITPATH .} interface uses Exec, Configregs; {$IFDEF AMIGA} {$PACKRECORDS 2}{$ENDIF} {$IFDEF MORPHOS}{$PACKRECORDS 2}{$ENDIF} {* Each expansion board that is found has a ConfigDev structure created for it very early at system startup. Software ca...
unit fMain; { Unit hlavniho okynka, tady se resi predevsim interakce s GUI. } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, tUltimateLIConst, ActnList, StdCtrls, ComCtrls, ExtCtrls, Generics.Collections; type TF_Main = class(TForm) AL_Main: TActionL...
unit PNGExplorerMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus, ComCtrls, StdCtrls, ExtCtrls, ToolWin, ActnList, StdActns, ImgList, System.ImageList, System.Actions, GR32, GR32_PortableNetworkGraphic, GR32_PNG, GR32_Image; type TMyPortableNetworkG...
TYPE Node = RECORD Key: Key_Type; Val: Value_Type; Next: ^Node; END; {Record} Table_type = ^Node; (********************************************************************) FUNCTION InRange(KeyVal: Key_Type): Boolean; {Checks to see if k...
unit uConfiguraBancoDeDados; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uPadrao, StdCtrls, Buttons, TipoBanco, IBServices, ImgList, pngimage, ExtCtrls; type TfrmConfiguraBancoDeDados = class(TfrmPadrao) gbxConfiguracoes: TGroupBox; btnConfirmar:...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2013 Embarcadero Technologies, Inc. } { ...
unit HintEx; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms; type THalfTransHintWindow = class(THintWindow) private procedure WMEraseBkgnd(var Message: TWmEraseBkgnd); message WM_ERASEBKGND; protected procedure Paint; override; public procedure ActivateHint(Rect:...
program WaitForClick; {$IFNDEF HASAMIGA} {$FATAL This source is compatible with Amiga, AROS and MorphOS only !} {$ENDIF} {$MODE OBJFPC}{$H+}{$HINTS ON} {$UNITPATH ../../../Base/CHelpers} {$UNITPATH ../../../Base/Trinity} {$UNITPATH ../../../Base/Sugar} {$IFDEF AMIGA} {$UNITPATH ../../../Sys/Amiga} {$ENDIF} {$IF...
unit UAMC_UserID; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dial...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
library jsonconfig; {$mode objfpc}{$H+} uses Classes, SysUtils, Math, fpjson, jsonConf; function JSONReadString(AFileName, APath, ADefault: PWideChar; var AValue: PWideChar; var AValueLength: Integer): Boolean; stdcall; var len: Integer; s: String; begin Result := False; if not FileExists(AFi...
unit UUtilConvert2JPG; // This is special code to convert images to JPG so AppraisalPort can read // the images. This is code that used to reside outside of ClickForms. // Somewhere internally there is probably similar code. interface uses Classes, Types; type ImageFormat = (unknownImg,bmpImg,jpgImg,pngImg,gifIm...
program ex5; type {Reduction of text} f = text; ch = char; int = integer; ut=^tree; {Tree} tree=record inf: int; left, right:ut; end; lst=^TList; {Queue for BFS} TList=record data:ut; next:lst; end; procedure getDepth(root:ut;var depth:int); {Search de...
unit UFileThread; interface uses UThreadUtil, IOUtils, classes, SysUtils, Math, shellapi, SyncObjs, UFileSearch, IniFiles; type {$Region ' 文件 Job 信息 ' } // 父类 TFileJobBase = class( TThreadJob ) public ActionID : string; ControlPath : string; public constructor Create( _ActionID : string ); ...
// ============================================================================= // Module name : $RCSfile: ConnManager.pas,v $ // description : This unit defines a class to manager connections. It works as // a factory and a container of connections, which are supported // in this progr...
unit NumberCheckReader; interface uses Classes, ComObj, SysUtils, CommUtils; type TBomLocLine = packed record snumber: string; sname: string; svendor: string; ssourcing: string; sbuyer: string; slt: string; scheck: string; schecknote: string; smcnote: string; sriskqty: str...
unit USnapshotThread; interface uses Classes, SyncObjs, UData, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZDataset, USettings, SysUtils, uConstants, System.UITypes, DateUtils; type TOnError = procedure(AError: string) of object; TOnFinish = procedure of object; TOnNewTable = procedure(ATableName...
unit Unit_Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private Rot : Integer; public { Public declarations } end; var Fo...
unit fmEditFS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fmBase, ExtCtrls, JvExExtCtrls, JvNetscapeSplitter, frEditFS, VirtualTrees, frFS; type TfEditableFS = class(TfBase) pDetalle: TPanel; Splitter: TJvNetscapeSplitter; fFS: TfEditFS; ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; const cTitle = 'View DLL Export'; type TfrmDLLExport = class(TForm) Panel1: TPanel; Label1: T...
unit fFileUpload; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, TarFTP.MVC, Diagnostics, TarFTP.Utils, ExtCtrls; type TfrmFileUpload = class(TForm, IView, IFileUploadView) Label1: TLabel; lblFilesProcessed: TLabel; lblTimeEl...
unit uPickListForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, VirtualTrees, uLibraryData, uPickListEditor, uPickItemEditor, uLibrary; type { TPickListForm } TPickListForm = class (TEditingForm) PickListPanel: TPanel; PickItemPanel: TPanel; ...
unit frameBuscaDispensa; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Dispensa, StdCtrls, Buttons, Mask, RXToolEdit, RXCurrEdit, Estoque; type TBuscaDispensa = class(TFrame) StaticText1: TStaticText; StaticText2: TStaticText; edtCodigo: TCurrenc...
unit LDB.VCL.Menu; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls; type TFrmMenu = class(TForm) MainMenu1: TMainMenu; Cadastr...
unit USnapFarmaReportServiceThread; interface uses System.SysUtils, System.Classes, USnapFarmaReportServiceFunctions; type TSnapFarmaReportServiceThread = class(TThread) private { Private declarations } function NextMode(Mode : TMode): TMode; protected procedure Execute; override; public ...
unit SheetWorkTimeTest; interface uses dbTest, dbMovementTest, ObjectTest; type TSheetWorkTimeTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; // procedure Test; override; end; TSheetWorkTime = class(TMovementTest) private function InsertDefault: integer; override;...
unit u_classes; {$mode objfpc}{$H+} interface uses Classes, SysUtils, u_variables, u_global, u_globalvars; const ClassChildPref = '__class__child_'; type TMashClassVariableDefine = class(TObject) public ClassVarName: string; Initialized: boolean; InitCode: string; construc...
Program TugasBesar_TransKalimantan; uses crt,sysutils; type pesanpesawat=record tnamapesawat:string; tnamat:string[10]; tasal:string; tasalt:string; ttujuan:string; ttujuant:string; ttglberangkat:string; tjamberangkat:string; tjumlahpenu...
unit URegraCRUDFuncionario; interface uses URegraCRUD , URepositorioDB , URepositorioFuncionario , UEntidade , UFuncionario ; type TRegraCRUDFuncionario = class(TRegraCRUD) protected procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override; public constructor Create; override; en...
unit roNetworks; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, roChildWin, ComCtrls, Menus, ActnList, ADODB; type TNetworkWin = class(TChildWin) MainMenu1: TMainMenu; oView: TTreeView; ActionList1: TActionList; aNewNetwork: TActi...
unit PDBGrid; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids,Menus,PutExcel,db,Dsgnintf; type TMenuOption = set of (moMax,moPrnRep,excel,hidecolumn); TMenuOptionElementproperty = class(TSetElementProperty) FDesigner: TFormDesigner; FElement: ...
{Hint: save all files to location: C:\adt32\eclipse\workspace\AppBluetoothServerSocketDemo2\jni } unit unit1; {$mode delphi} interface uses Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls, Laz_And_Controls_Events, AndroidWidget, bluetoothserversocket; type { TAndroidModule1 } TAndroi...
unit Layout; interface uses Classes, Rda_TLB; type TLayout = class(TInterfacedObject, ITemplate, ITemplateControl) public constructor Create( Name : string ); constructor Clone( Name : string; Source : ITemplate ); destructor Destroy; override; public // ITemplate function G...
{$I DacDemo.inc} unit UniDacDemoForm; {$DEFINE Oracle} {$DEFINE SQLServer} {.$DEFINE InterBase} {.$DEFINE MySQL} {.$DEFINE PostgreSQL} {$DEFINE SQLite} {$DEFINE ODBC} {.$DEFINE DB2} {$DEFINE Access} {.$DEFINE Advantage} {.$DEFINE ASE} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classe...
unit UForm; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc.} interface uses Windows, Classes, Graphics, Jpeg, UBase64, UClasses, UGlobals, UBase, UPage, UCell, UMe...
unit Crud.Consultat.View; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, FireDAC.Comp.Client; type TConsultaView = class(TForm) ...
unit PConfirmBtn; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,Buttons; type TPConfirmBtn = class(TBitBtn) private { Private declarations } FBeforeClick: TNotifyEvent; FConfirmLevel: Integer; protected { Protected declarations } proce...
unit TestSearchString; interface uses Classes, TestFramework, FindUnit.Header, FindUnit.PasParser, FindUnit.SearchString, FindUnit.SearchStringCache, FindUnit.Utils, Generics.Collections, Interf.SearchStringCache, System.Generics.Collections, System.SysUtils, FindUnit.FileCache; type Test...
unit uFinalizaPedido; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uPadrao, StdCtrls, Mask, ToolEdit, CurrEdit, Buttons, ExtCtrls, ImgList, pngimage, DB, DBClient, Grids, DBGrids; type TfrmFinalizaPedido = class(TfrmPadrao) Panel1: TPanel; btnCanc...
unit FtiDefineAlias; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FPickDatabase, ActnList, Menus, ExtCtrls, tiFocusPanel, tiPerAwareCtrls, Buttons, tiSpeedButton, StdCtrls; type TtiDefineAlias = class(TFormPickDatabase) btnCancel: TButton; btnOK: ...
//If we list all the natural numbers below 10 that are multiples of 3 or 5, //we get 3, 5, 6 and 9. The sum of these multiples is 23. //Find the sum of all the multiples of 3 or 5 below 1000. Program SumRangeDivBy; var Total, i, limit: LongInt; begin Total := 0; limit := 999; for i := 1 to limit do b...
{ @abstract(This file is part of the PWIG tool, Pascal Wrapper and Interface Generator.) @author(Tomas Krysl) Copyright (c) 2020 Tomas Krysl<BR><BR> <B>License:</B><BR> This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html. } ...
unit RelatorioTransferencia; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RelatorioTemplate, StdCtrls, DBTables, Placemnt, DB, Mask, ToolEdit, RxLookup, ExtCtrls, Buttons, jpeg, ComCtrls, RxQuery, UCrpe32, Grids, DBGrids, AdvOfficeStatusBar, AdvOfficeStatu...
unit rallylogevent; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TDynByteArray = Array of Byte; TRallyLogEvent = class (Tobject) private fCommand : Byte; fValues : TDynByteArray; public constructor Create(command: Byte; values: TDynByteArray); p...
unit tiSQLMgrDataSet_BOM; {$mode objfpc}{$H+} interface uses Classes, tiObject, tiQuery, tiSQLMgr_BOM, tiDataBuffer_BOM; type TtiSQLMgrDataSet = class(TtiDataBuffer) private FtiQuery: TSQLMgrQuery; public property TIQuery: TSQLMgrQuery read FtiQuery write FtiQuery; end; TtiDataBufferQ...
unit RGBCMYKUtils; interface uses Windows, Graphics, Math; procedure ColorToCMYK(clr: TColor; var C, M, Y, K: integer); function GetCValue(c: TColor): integer; function GetMValue(c: TColor): integer; function GetYValue(c: TColor): integer; function GetKValue(c: TColor): integer; implementation pr...
program Machines; {$mode objfpc} TYPE machine=RECORD code: string; end; TYPE TResArr = array[1..10,1..7] of integer; var FILE_MACHINES: string; var huidigeMachine: machine; var huidigProductNummer, huidigeKwaliteit, huidigeMachineCode: integer; var f: file of machine; var rij, kolom: integer; var aantalSlechteGege...
unit LikiDniproReceiptDialog; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList, dsdAction, cxClasses, cxPropertiesStore, dsdAddOn, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cx...
(* ENUNCIADO Um jogo de palavras cruzadas pode ser representado por uma matriz A(n × m) onde cada posição da matriz corresponde a um quadrado do jogo, sendo que 0 indica um quadrado em branco e -1 indica um quadrado preto. Colocar as numerações de início de palavras horizontais e/ou verticais nos quadrados correspond...
{ TStartupCommandInfo Component Version 1.9b - Suite GLib Copyright (©) 2009, by Germán Estévez (Neftalí) Representa los programas que se ejecutan cuando el usuario hace Logon en el sistema. Utilización/Usage: Basta con "soltar" el componente y activarlo. Place the component in the form and ...
unit UZlinkTelnetSet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Spin; type TformZLinkTelnetSet = class(TForm) Bevel1: TBevel; Label1: TLabel; Label2: TLabel; buttonOK: TButton; buttonCancel: TButton; comboHostName: TComb...
unit frmVariables_u; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Math; type TForm1 = class(TForm) btnCalc: TButton; edtOut: TEdit; procedure btnCalcClick(Sender:...
object SetExperimentFrm: TSetExperimentFrm Left = 371 Top = 346 BorderStyle = bsDialog Caption = 'New Experiment' ClientHeight = 71 ClientWidth = 181 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCrea...
unit MenuEditorUnit; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses {$IFnDEF FPC} Windows, {$ELSE} LCLIntf, LCLType, LMessages, {$ENDIF} Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ComCtrls, PropertyEditUnit, StdCtrls, StrUtils, DialogUnit; type ...
unit twofortyfouram.Locale.SDK.Client.UI.Activity.IPluginActivity; interface //import android.os.Bundle; //import android.support.annotation.NonNull; //import android.support.annotation.Nullable; // ///** // * Common interface for plug-in Activities. // */ //public interface IPluginActivity { // /** /...
program exer2; const max = 100; type matriz = array [1 .. max,1 .. max] of integer; function menor(var mat:matriz; tam,i:integer):integer; var k,j:integer; begin j:=1; k:=j+1; while (j <= tam-1) do begin if (mat[i,j] > mat[i,k]) then begin j:=k; k:=j+1; end else k:=k+1; end; menor:=mat[i,j];...
unit Gt01; { ULGT01.DPR ================================================================ File: GT01.PAS Library Call Demonstrated: cbGetErrMsg() Purpose: Returns the error message associated with an error code. Demonstrati...
unit IdTestGlobal; interface uses IdTest, IdGlobal; type TIdTestGlobal = class(TIdTest) published procedure TestToBytes; end; implementation procedure TIdTestGlobal.TestToBytes; const cTestString1 = 'U'; var cTestBytes1 : TIdBytes; begin // cTestBytes1[0] := 85; Assert(ToBytes(cTes...
{******************************************************************************* Copyright (C) Christian Ulrich info@cu-tec.de 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; either version 2 ...
unit uComum; {$SCOPEDENUMS ON} interface uses Cromis.Multitouch.Custom, Androidapi.JNI.JavaTypes; type TComando = (PararFrente = 0, Frente = 1, PararRe = 2, Re = 3, AlinharEsuqerda = 4, Esquerda = 5, AlinharDireita = 6, Direita = 7); TComandos = set of TComando; TTouchPoints = array of TTouch...
{***************************************************************************} { } { Delphi.Mocks } { } { ...
unit uClients; interface uses uWebCore, SmartCL.System; type TAtividade = (Comercio, Servicos, Industria); Type TClient = class private { private declarations } FCNPJ: String; FID: Integer; FNome: String; FRamo: TAtividade; protected { protected declarations } ...
unit SORM.Model.Conexao.Factory; interface uses SORM.Model.Conexao.Interfaces; Type TModelConexaoFactory = class(TInterfacedObject, IModelConexaoFactory) private public constructor Create(); destructor Destroy; override; class function New: IModelConexaoFactory; function Conexao : iModelConex...
unit q_RelPadraoFR; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RLReport, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ExtCtrls, uFuncoesGeral, RLPDFFilter, RLHTMLFilter, RLRichFilter, RLFilters, RLXLSFilter, RLDraftFilter; type TFormRelPadraoFR = cla...
type bj2.pas PROGRAM BlackJack2 (input,output); {Plays a game of blackjack using random functions} VAR Card,Play,Hit: char; PlayerTotal,DealerTotal: integer; %INCLUDE 'Frands.pas' (******************************************************************************) PROCEDURE Deal (var Card: char);...
unit BaseForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VGCore_TLB, ActiveX, Utils, System.IniFiles; type TTBaseForm = class(TForm, IDispatch) procedure FormDestroy(Sender: TObject); private ...
namespace Sunko; type Tree = class internal static fAllsnc := false; private fVariables: Dictionary<string, SunkoVariable>; private fOperations: array of Operation; private fSource: integer; private fLibraries: array of string; private fLabels: Dictionary<integer, in...
unit BaseTestRest; interface uses RestClient, {$IFNDEF FPC}DUnitX.TestFramework,DUnitX.DUnitCompatibility,Classes,{$ELSE}fpcunit, testregistry, {$ENDIF}HttpConnection, TypInfo; {$I DelphiRest.inc} type {$IFNDEF FPC} TTestCaseClass = class of TTestCase; IBaseTestRest = interface ['{519FE812-AC27-484D-9C4B-C7...
unit JSon.VO; interface uses System.Classes; type TJsonVO = class(TPersistent) private { private declarations } Flogradouro: string; Fibge: string; Fbairro: string; Fuf: string; Fcep: string; Flocalidade: string; Funidade: string; Fcomplemento: string; Fgia: string; ...
unit vMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, API_MVC_FMX, FMX.Controls.Presentation, FMX.ListBox, FMX.Layouts, eAccount; type TViewMain = class(TViewFMXBase) lst1:...
unit uEmoEngineTest; 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.Layouts, FMX.ListBox, FMX.Objects, Emotiv.EDK.Core, Emotiv.EDK.EmoState, Emotiv.EDK.ErrorCodes; type TForm3 =...
unit UAMC_BuildPDF; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. } {NOTE: This unit needs cleanup. It has a lot of dead code} interface uses Windows, Messages, ...
{******************************************************************************} { } { Test Name: Delphi Persistence Framework } { Author: Bianco conofresilva@gmail.com ...
unit DW.Geodetic.Default; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } { ...
unit DataDict; interface uses windows,sysUtils,classes,bdaimp,contnrs,DBAIntf; type TDataDictionary = class private FDictionaries : TObjectList; FDictIDs : TList; FLock: TRTLCriticalSection; FInInit : boolean; protected public constructor Create; Destructor Destroy;override; pro...
unit uLibraryData; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VirtualTrees, Forms, uLibrary; type TEditingFormClass = class of TEditingForm; { TLibraryData } TLibraryData = class protected fOwnerNode: PVirtualNode; fTree: TBaseVirtualTree; protected function GetCaption: stri...
unit AT.FMX.Dialogs.SplashHD; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, Radiant.Shapes, FMX.Layouts, FMX.Ani, FMX.Effects, FMX.StdCtrls, FMX.Controls.Presentation; type TdlgATSpl...
{ Some remarks on the usage of the Real Time Clock (RTC) MC 146818 of the AT. Not as comprehensive as The_Serial_Port, but I'm working on it :-). Chris -------------------------------------------------------------------------- You should use the BIO...
unit sudokugame; {$mode objfpc}{$H+} interface uses Classes, SysUtils,arrayUtils,cell,constraint,sudokuUtil, laz2_DOM, repeat_options, region,gameDisplayInterface; const defaultDimensions: TPoint = (X:9; Y:9); const gameVersion: string = '0.0.2'; type { EGameMode } EInputMode = (imNormal, imEdge, imC...
{ NIM : 16518332 Nama : Dhafin Rayhan Ahmad Tanggal : 28/04/2019 Topik : Sekuensial File Deskripsi : Unit data jual yang mengelola file dan menghitung rata-rata } unit udatajual; { Memuat, mengurutkan, menghitung rata-rata, dan menyimpan suatu data penjualan } { DEKLARASI TYPE FUNGSI DAN PROS...
1 1 IDENTIFIER s 1 2 OPERATION := 1 4 STRING 'abc' 1 9 SEPARATOR ;
unit AqDrop.Core.Helpers.TValue; interface uses System.TypInfo, System.Rtti, AqDrop.Core.Generics.Converters; type TAqValueHelper = record helper for TValue strict private function VerifyIfIsDefault: Boolean; public function HasConverterTo<T>: Boolean; function TryConvertValu...
unit FormCommTester; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CommBase, TextMessage, ExtCtrls, ConnManager; type TfrmCommTester = class(TForm) memLog: TMemo; tmrUpdate: TTimer; btnSend: TButton; btnRecv: TButton; cmbConf: T...
program test16; var { local variable definition } a : real; begin a := 100; (* check the boolean condition *) if( a < 20 ) then (* if condition is true then print the following *) writeln('a is less than 20' ) else (* if condition is false then print the following *) writ...
//********************************************************* //GLFONT.CPP -- glFont routines //Copyright (c) 1998 Brad Fish //See glFont.txt for terms of use //November 10, 1998 // //Conversion to Delphi: Daniel Klepel //November 26, 2001 //********************************************************* unit FGLFon...
{==============================================================================| | Project : Delphi HTML/XHTML parser module | 1.1.2 | |==============================================================================| | Content: ...
unit Command.Commands.ComplexCommand; interface uses Command.Interfaces.ICommand, Command.Interfaces.Receiver; // Some commands can delegate more complex operations to other // objects, called "receivers." // Alguns commands podem delegar operações mais complexas para outros objetos, chamados "receivers." type ...
(* Variant Dictionary (C) Sergey Bodrov 2020 Auto-sorted by names, binary search used to get value by name MIT License Usage: var MyDict: Variant; MyDict := VarDictCreate(); MyDict.Field1 := 1; MyDict.Field2 := 'test'; Methods: GetCount() - get stored items count GetValue(Index) - get item value ...
unit pMpqAPI; interface uses Windows; { ShadowFlare MPQ API Library. (c) ShadowFlare Software 2002 All functions below are actual functions that are part of this library and do not need any additional dll files. It does not even require Storm to be able to decompress or compress files. ...
(* 注意 : LHArc 使用一个 "percolating" 来更新它的 Lempel-Ziv 结构. 如果你使用 percolating 方法, 压缩器将运行得稍快一些, 使用更少的内存, 且比标准方法稍 less efficient 一些. 你可以选择两种方法中的一种, 并应该注意到解压器不受该选择的影响并可以 解压两种解压器生成的数据. *) uses SysUtils, Classes; // procedure LHACompress(InStr, OutStr: TStream;filename:String); (* LHACompress 从 InStr 的当...
unit Util; interface uses Data.SqlExpr, SysUtils, Forms, Windows, IniFiles; type TUtil = class private class function VerificarBanco(): Boolean; class function VerificarConf(): Boolean; class function LerConf(Chave: String):String; class procedure GravarConf(Chave, Valor: string); public ...
// // process.pas // // This unit contains functions to handle processes. // // Copyright (c) 2003-2022 Matias Vara <matiasevara@gmail.com> // All Rights Reserved // // 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 // the Fr...
unit RusClipboard; interface uses Clipbrd; type TRusClipboard = class(TClipboard) private procedure SetCodePage(const CodePage: longint); public procedure Open; override; procedure Close; override; end; implementation uses Windows; { TRusClipboard } procedure TRusClipbo...
{* * PathParser: Replaces path variables in the format $(VARIABLE) and retrieves the path of Windows' special folders (desktop, application data, templates, programs, personal files, favorites, startup, recent, send to, start menu, fonts, history, cookies, internet cache, common favorites, common desktop, common start...
unit RegSvrUtils; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>RegSvrUtils <What>注册ActiveX Server的过程。更改自Borland的TRegSvr。 <Written By> Huang YanLai (黄燕来) <History> **********************************************} interface use...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Angus Robertson, Magenta Systems Ltd Description: ICS HTTPS REST functions demo. Creation: Apr 2018 Updated: Apr 2019 Version: 8.61 Support: Use the mailing list ics-ssl@elists.org Legal issues: Copyr...
unit Command.View.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, Command.Utils.Util; type TfrmMain = class(TForm) pnlTop: TPanel; btnGetResult: TButton; mmRes...
unit FrameControl; interface uses Forms, StdCtrls, Onoff, Controls, Classes, InvokeRegistry, CommonObjs, LoginWS; type TFrame_Control = class(TFrame) Button1: TButton; Edit1: TEdit; Bulb1: TBulb; procedure Button1Click(Sender: TObject); private fUpdating : boolean; fLogin...
unit AT.Fmx.Actions.TabActns; interface uses System.Classes, System.UITypes, FMX.TabControl, AT.Fmx.Actions.Consts; type [ComponentPlatformsAttribute(pidATActionsPlatforms)] TATChangeTabAction = class(TChangeTabAction) strict private FAndroidText: String; FiOSText: String; FLinuxHint: String; ...
unit MessageDialogFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TMessageDialogForm = class(TForm) OKTButton: TButton; CancelTButton: TButton; PromptTLabel: TLabel; procedure FormShow(Sender: TObject); priva...