text
stringlengths
14
6.51M
unit frmUserSelectPartitionSimple; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Di...
{@abstract(@name defines @link(TCheckInternetThread). @link(TCheckInternetThread) is started when ModelMuse starts. It checks a file on the Internet to see if ModelMuse has been updated. It also downloads a list of available videos about ModelMuse and will start one if appropriate.) @author(Richard B. Winston <rbwins...
unit Texture; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, aiOGL; type TTextureForm = class(TForm) Label8: TLabel; TextureFileNameLabel: TLabel; MinFilterGroup: TRadioGroup; WrapSGroup: TRadioGroup; MagFilterGroup...
unit Lib.HTTPUtils; interface uses System.SysUtils, System.Classes, System.Math, System.NetEncoding, System.IOUtils, Lib.HTTPConsts; type THTTPException = class(Exception); TRingBuffer<T> = record DataSize: Integer; Data: array of T; StartIndex,EndIndex: Integer; procedure Init(AData...
unit tpString; interface uses SysUtils, Classes, MaskUtils, Math; function RemoverCaracters(Const Texto:String):String; function RemoverLetras(Const Texto:String):String; function RemoverCharSet(Const Texto:String):String; //Formatações function FormatarCpfCnpj(const CpfCnpj: String): String; func...
// // Generated by JavaToPas v1.5 20150830 - 104015 //////////////////////////////////////////////////////////////////////////////// unit java.util.MissingFormatWidthException; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JMissingFormatWidthException = interface; JMissingFormatWidthEx...
unit CatCrypt; { Catarinka Crypto library Quick AES encryption/decryption functions covering string, stream and file Copyright (c) 2003-2019 Felipe Daragon License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details } interface {$I Catarinka.inc} uses {$IFDEF DXE2_OR_UP} {$IFDEF US...
unit WdxFieldsProc; //Юнит для плагина Super_WDX interface uses Windows,SysUtils,ContPlug; type TContentGetSupportedField = function(FieldIndex: integer; FieldName: pchar; Units: pchar; maxlen: integer): integer; stdcall; TContentGetValue = function(FileName: pchar; FieldIndex, UnitIndex: integer; ...
unit Produto.Controller.interf; interface uses Tipos.Controller.interf, Produto.Model.interf, TESTPRODUTO.Entidade.Model; type IProdutoOperacaoIncluirController = interface; IProdutoOperacaoAlterarController = interface; IProdutoOperacaoExcluirController = interface; IProdutoOperacaoDuplicarController = inte...
Unit ProcessXXXRequests; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} Interface Uses Windows, IRPMonRequest, IRPMonDll; Type TProcessCreatedRequest = Class (TDriverRequest) Public Constructor Create(Var ARequest:REQUEST_PROCESS_CREATED); Overload; Function GetColumnName(AColumnType:ERequestListModelColu...
unit Controllers.Api; interface uses Horse, System.JSON, Horse.Commons; procedure Registry; procedure DoGetApi(Req: THorseRequest; Res: THorseResponse; Next: TProc); procedure DoPostApi(Req: THorseRequest; Res: THorseResponse; Next: TProc); procedure DoPutApi(Req: THorseRequest; Res: THorseResponse; Next: TProc); ...
unit UResponsavelController; interface uses Classes, SQLExpr, SysUtils, Generics.Collections, DBXJSON, DBXCommon, ConexaoBD, UController, DBClient, DB, UResponsavelVO,UPessoasVo, UPessoasController ; type TResponsavelController = class(TController<TResponsavelVO>) private public function ConsultarP...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2009, 2010 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); yo...
unit uFrmPessoaHistory; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls, DB, ADODB, DBCtrls, DateBox, Mask, SuperComboADO, DBClient, Provider, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, ...
unit uReestr_DissDog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxButtonEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxContainer, cxEdit, cxTextEdit, cxControls, cxGroupBox, uCommon_Types, uReestr_DM, uCommon...
unit ZipIni; interface uses SysUtils,ZipForge,IniFiles,Registry,Windows,Classes,StrUtils,WdxFieldsProc; var GlobZip:TZipForge; GlobIni:TIniFile; Procedure ZipIniCreateBase (BaseName:string); Function ZipIniReadString (BaseName,FileName,Section,Ident,Default:string):string; Function ZipIniReadInteger (B...
{ Double Commander ------------------------------------------------------------------------- Load colors of files in file panels Copyright (C) 2003-2004 Radek Cervinka (radek.cervinka@centrum.cz) Copyright (C) 2006-2020 Alexander Koblov (alexx2000@mail.ru) Copyright (C) 2008 Dmitry Kolomiets (B4rr4c...
unit uPriceAlterGuide; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBaseEditFrm, DB, DBClient, StdCtrls, jpeg, ExtCtrls, Menus, cxLookAndFeelPainters, cxButtons, cxPC, cxControls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage...
unit uFrmMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uAviao, uCarro, uMeioTransporte; type TFrmExemplo = class(TForm) GpboxCarro: TGroupBox; GpBoxAviao: TGroupBox; EdtDescCa...
unit AsupRegardsCommonReport_FilterForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, cxLabel, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxLookAndFeelPainters, StdCtrls, cxButtons, cxDropDownEdit, cxCalendar, ActnList...
program HowToExploreUsingCamera; uses SwinGame, sgTypes; procedure Main(); begin OpenGraphicsWindow('Explore with camera', 800, 600); LoadDefaultColors(); repeat // The game loop... ProcessEvents(); //Move the camera if KeyDown(UPKey) then MoveCameraBy(0, -1); if Ke...
unit XDebugMemory; interface uses XDebugFile, XDebugItem, Classes, Contnrs, stringhash; type TXMemoryItem = class private FFunctionName: string; FMemory: Integer; FCount: Integer; public constructor Create(AFunctionName: string); property FunctionName: string read FFunctionNa...
{ *************************************************************************** Copyright (c) 2016-2021 Kike Pérez Unit : Quick.Logger.Provider.Telegram Description : Log Telegram Bot Channel Provider Author : Kike Pérez Version : 1.22 Created : 21/05/2018 Modified : 28/12/2021 T...
unit lsdatasetbase; { LibSQL TDataset base class By Rene Tegel 2005 This class allows interfacing with any TSqlDB based class as provided by libsql. Many thanks to Marco Cantu for providing tutorial and example code on how to create a TDataSet This code is inspired by his example code Marco writes on h...
unit Unit1; interface uses System, System.Drawing, System.Windows.Forms; type capnumber = 1..3; var debug: boolean = true; caps: array [capnumber] of boolean; wins, tries: biginteger; {$resource 'cap.png'} {$resource 'cap_full.png'} {$resource 'cap_empty.png'} cap, c...
unit Demo.GanttChart.StylingTracks; interface uses System.Classes, System.SysUtils, System.Variants, Demo.BaseFrame, cfs.GCharts; type TDemo_GanttChart_StylingTracks = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_GanttChart_StylingTracks.GenerateCh...
(* Category: SWAG Title: DATA TYPE & COMPARE ROUTINES Original name: 0009.PAS Description: TYPECST2.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:37 *) { > Yes LongInts are as you say from approx -2bil to +2bil. I'd > say what is happening here is that you are adding two > Integers & assigning the res...
unit DSA.Tree.PriorityQueue; interface uses System.SysUtils, DSA.Interfaces.DataStructure, DSA.Interfaces.Comparer, DSA.Tree.Heap; type TQueueKind = (Min, Max); TPriorityQueue<T> = class(TInterfacedObject, IQueue<T>) private type THeap_T = THeap<T>; var __heap: THeap<T>; public func...
{----------------------------------------------------------------- Declaração do componente TwIRCBar. Nome: UntTwIRCBar Versão: 1.3 Autor: Waack3(Davi Ramos) Descrição: Componente sucessor do componente TPanel(TCustomPanel) que simula uma barra de tarefas para janelas MDI. O controle das janelas é quase total. E...
unit uMntEntityFch; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentButtonFch, mrConfigFch, DB, XiButton, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, mrDBEdit, cxCheckBox, mrDBCheckBox, cxMaskEdit, cxDropDownEdit, cxLookupEdit, c...
unit UnitOpenGLImageJPEG; // from PasVulkan, so zlib-license and Copyright (C), Benjamin 'BeRo' Rosseaux (benjamin@rosseaux.de) {$ifdef fpc} {$mode delphi} {$ifdef cpui386} {$define cpu386} {$endif} {$ifdef cpu386} {$asmmode intel} {$endif} {$ifdef cpuamd64} {$asmmode intel} {$endif} {$ifdef f...
unit CircularUnitControl; interface uses Math, TypeControl, UnitControl; type TCircularUnit = class(TUnit) private FRadius: Double; function GetRadius: Double; public property Radius: Double read GetRadius; constructor Create(const AId: Int64; const AMass: Double; const AX: Double; const AY: ...
(* Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED Original name: 0085.PAS Description: Write BANNERS Author: SCOTT R. HOUCK Date: 02-03-94 09:17 *) Program BannerC; {$V-} { Written by Scott R. Houck This program produces banners which can be sent to the screen or to a file. If sent to a fil...
unit udeque; interface uses sysutils; type node = record dat:integer; prev:^node; next:^node; end; type deque = record front,back:^node; end; procedure pop_back(var a:deque); procedure pop_front(var a:deque); procedure push_back(var a:deque;data:integer); procedure push_front(var a:deque;data:integer); function...
unit UfmSettings; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, IniFiles, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinDevExpressDarkStyle, dxSkinDevExpressSty...
unit SheetToBankSort; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxContainer, cxEdit, cxLabel, cxControls, cxGroupBox, StdCtrls, cxButtons, Unit_ZGlobal_Consts, cxCheckBox, ZProc,...
unit SpeedGun; interface uses Windows, Classes, SysUtils, SyncObjs; const // 어느 정도 시간 동안의 데이터를 평균 낼 것 인가? _DefaultTimeLength = 60 * 1000; type TSpeedGun = class private FTickBuffer : TObject; FTickQueue : TObject; FCS : TCriticalSection; private function GetSpeed: int64; public con...
{..............................................................................} { Summary Use the CreateLibCompInfoReader method to extract component } { data of a specified Sch Library. } { ...
unit uBillEditPurReturns; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Frm_BillEditBase, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, ADODB, Menus, DBClient, ActnList, dxBar, cxClasses, ImgList, ExtCtrl...
object FrmSeSet: TFrmSeSet Left = 288 Top = 249 BorderStyle = bsDialog Caption = 'SE property' ClientHeight = 139 ClientWidth = 264 Color = clBtnFace Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -21 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = False Pos...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 Free Software Foundation; either versi...
(* * Hedgewars, a free turn based strategy game * Copyright (c) 2004-2012 Andrey Korotaev <unC0Rr@gmail.com> * * 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 Free Software Foundation; version 2 of the License * ...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, TAGraph, Forms, Controls, Graphics, Dialogs, StdCtrls, SdpoSerial, IniFiles; type { TForm1 } TForm1 = class(TForm) MassConnect: TButton; MassConnectPort: TSdpoSerial; TempConnectPort: TSdpoSerial; IntensConnectPort:...
unit FReindex; (*==================================================================== Reindex progress window. Implements reindex in the Run method. Used for compressing database, exporting to run-time, exporting and importing to and from DiskBase format ============================================================...
unit ULeituraGasController; interface uses Classes, SQLExpr, SysUtils, Generics.Collections, DBXJSON, DBXCommon, ConexaoBD, UController, DBClient, DB, ULeituraGasVO,UCondominioVo, UCondominioController,UITENSLEITURAGASVO, UItensLeituraGasController; type TLeituraGasController = class(TController<TLeituraGas...
unit eUsusario.Model.Entidade.Usuario; interface uses eUsusario.View.Conexao.Interfaces, Data.DB; Type TModelEntidadeUsuario = class(TInterfacedObject, iEntidade) private FQuery : iQuery; public constructor Create; destructor Destroy; override; class function New : iEntidade; function Listar...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit Chapter09._07_Solution2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DeepStar.Utils; /// 416. Partition Equal Subset Sum /// https://leetcode.com/problems/partition-equal-subset-sum/description/ /// 动态规划 /// 时间复杂度: O(len(nums) * O(sum(nums))) /// 空间复杂度: O(len(nums) * O(sum(nums))) type TSolu...
program DKR_Programming; uses crt, Graph; var arr: array[1..4, 1..4] of string;{Двовимірний масив, містить елементи табло} vect: array[1..16] of integer; {Масив для заповнення випадковими числами} men: array[1..5] of integer; {Масив виводу елементів Головного меню} i, j: integer; {Змінні для роботи з масива...
{******************************************************************************} { } { Delphi SwagDoc Library } { Copyright (c) 2018 Marcelo Jaloto ...
unit uFIBCommonDB; interface uses DB, uCommonDB, uFIBCommonDBErrors, pFIBDataSet, IBase, pFIBQuery, pFIBDatabase; type TFIBCommonDB = class(TCommonDB) private FIB_DB: TpFIBDatabase; DefaultTransaction: TpFIBTransaction; public constructor Create; destructor Destroy; ov...
program hello_triangle_exercise3; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, gl, GLext, glfw31; const // settings SCR_WIDTH = 800; SCR_HEIGHT = 600; // process all input: query GLFW whether relevant keys are pressed/released this frame and ...
(* Category: SWAG Title: OOP/TURBO VISION ROUTINES Original name: 0067.PAS Description: Turbo Vision Startup Message Author: DARREN OTGAAR Date: 05-26-95 23:30 *) { >Can anyone please tell me if and how it would be possible to have a "WE >dialog box appear as soon as the desktop is displayed. I presume you...
unit uMRPCCharge; interface uses IniFiles, ADODB, uOperationSystem; const PAYMENT_PROCESSOR = 'MRProcessor.ini'; type TMRPCCharge = class private FADOConnection: TADOConnection; FTimeOut: Integer; FPrintNum: Integer; FPort: Integer; FLastDate: Integer; FServer: String; FUser: Str...
unit GLDUserCameraParamsFrame; interface uses Classes, Controls, Forms, StdCtrls, ComCtrls, GL, GLDTypes, GLDCamera, GLDSystem, GLDNameAndColorFrame, GLDUpDown; type TGLDUserCameraFrame = class(TFrame) NameAndColor: TGLDNameAndColorFrame; GB_Params: TGroupBox; L_Fov: TLabel; L_Aspe...
{..............................................................................} { Summary: Add nets connected to selected objects to a net class. } { Authors: Matt Berggren, David Parker } { Copyright (c) 2008 by Altium Limited ...
unit ufrmDialogMerk; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterDialog, System.Actions, Vcl.ActnList, ufraFooterDialog3Button, Vcl.ExtCtrls, uInterface, uModBarang, Vcl.StdCtrls; type TfrmDi...
unit uPackingListFrm; interface //CFRowType 字段 0正常,1超数 2不在源单内 uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBaseEditFrm, DB, DBClient, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, cxDBData, cxContainer, cxTextEdit, cxPC, cxGri...
{******************************************************************************} { } { Delphi PnHttpSysServer } { ...
unit GLDNameAndColorFrame; interface uses Classes, Graphics, Controls, Forms, ExtCtrls, StdCtrls, GLDTypes, GLDSystem; type TGLDNameAndColorFrame = class(TFrame) GB_NameAndColor: TGroupBox; E_Name: TEdit; S_Color: TShape; procedure NameChange(Sender: TObject); procedure ColorC...
unit uModAP; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, uModApp, uModRekening, uModOrganization; type TModAP = class(TModApp) private FAP_ClassRef: string; FAP_Description: string; FAP_DueDate: TDatetime; FAP_IS_LUNAS: Integer; FAP_ORGANIZATIO...
unit SimpleODE; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses sysutils, util1,stmVec1,adamsbdfG; type TsimpleHH=class y : TVector; t, tout : double; Lsoda : TLsoda; Ivector:Tvector; Capa:double; ...
unit Chapter02._05_Main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DeepStar.Utils; procedure Main; implementation function BinarySearch(arr: TArr_int; target: integer): integer; function __binarySearch__(l, r: integer): integer; var mid, res: integer; begin if l > r then Exit(-1);...
unit ThAnchorStyles; interface uses SysUtils, Classes, Graphics, ThChangeNotifier, ThCssStyle, ThStyleSheet; type TThCssStyleName = string; // TThAnchorStyles = class(TThChangeNotifier) private FVisited: TThCssStyleName; FLink: TThCssStyleName; FActive: TThCssStyleName; FHover: TThCssSt...
program fibonacci; // Napisati program koji izracunava n-ti // fibonacijev broj var N : longint; ////////////////////////// // Nerekurzivna verzija // function fibonacci(N : longint) : longint; var F, F1, F2 : longint; I : integer; begin if( (N = 0) or (N = 1)) then begin fibonacci := 1; end ...
unit UVersion; interface type TVersion = record Major, Minor, Revision, Build: Cardinal; StringVersion: String; end; var theVersion: TVersion; implementation uses Windows, SysUtils, Classes, Forms; procedure LoadVersionInfo; const Fmt: String = '%d.%d.%d.%d'; var sFileName: String; iBufferSize:...
{===================================================================================== Copyright (C) combit GmbH -------------------------------------------------------------------------------------- Module : DOM List & Label sample Descr. : D: Dieses Beispiel demonstriert die dynamische Erzeugung von List & Labe...
unit com.example.android.accelerometerplay; {* * Copyright (C) 2007 The Android Open Source Project * * 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.apach...
unit userUtilities; function getOrCreateFile(filename : string) : IInterface; var i : integer; f, target : IInterface; begin for i := 0 to Pred(FileCount) do begin f := FileByIndex(i); if (SameText(GetFileName(f), filename)) then target := f; end; if not Assigned(target) then begin ...
program phonedictionary; CONST max = 10; TYPE Entry = RECORD firstName: STRING[20]; lastName: STRING[30]; phoneNumber: INTEGER; END; (*RECORD*) PhoneBook = ARRAY [1 .. max] OF Entry; (*adds entry to a Phonebook*) PROCEDURE AddEntry(fname,lname : STRING; pn :INTEGER; VAR dictionary...
unit driver_hanoi; interface uses block_atd, spice_atd, crt; type spices = (First, Last, Aux); {тип спицы - первая, конечная, промежуточная} type spices_array = array [spices] of spice; {массив спиц} type driver = object public procedure init; {инициализация} procedure EnterNumOfBlock...
program fsm1; uses SysUtils, Crt; type TState = (stNone, stMenu, stPlay, stPause, stScore, stExit); TStack = array of TState; PStack = ^TStack; procedure Push(stack : PStack; state : TState); var i : integer; len : integer; begin len := Length(stack^) + 1; SetLength(stack^, len); i := High(stack^);...
//Camera path demo // //This demo explains how to use a GLSpline to create a smooth detailed //sequence of position nodes and how to run an object along this path // //by Paul van Dinther unit campathdemomain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, ...
unit GLDSphereParamsFrame; interface uses Classes, Controls, Forms, ComCtrls, StdCtrls, GL, GLDTypes, GLDSystem, GLDSphere, GLDNameAndColorFrame, GLDUpDown; type TGLDSphereParamsFrame = class(TFrame) NameAndColor: TGLDNameAndColorFrame; GB_Params: TGroupBox; L_Radius: TLabel; L_Seg...
unit uXML; interface uses db, SysUtils, Classes; type TXMLContent = class private FXML: String; FTagPrefix: String; function GetTagValue(ATagName: String): String; function GetAttributeValue(AAttributeName: String): String; function GetAttributeValueByNodeIndex(ANodeName, AAttributeName: Stri...
unit pSHFindTextFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, pSHConsts, pSHIntf, pSHCommon, Buttons, Menus; type TBTFindTextOption = (ftoCaseSencitive, ftoWholeWordsOnly, ftoRegularExpressions, ...
// ----------- Parse::Easy::Runtime ----------- // https://github.com/MahdiSafsafi/Parse-Easy // -------------------------------------------- unit Parse.Easy.Parser.Deserializer; interface uses System.SysUtils, System.Classes, System.Types, Parse.Easy.Lexer.CustomLexer, Parse.Easy.Parser.State, Parse.Eas...
unit LoginType; interface uses Windows, Messages, Classes, SysUtils, JSocket; type TIpSockaddr = record sIPaddr: string[15]; nIPCount: Integer; nAttackCount: Integer; dwConnctCheckTick: LongWord; end; pTIpSockaddr = ^TIpSockaddr; TIPRangeInfo = record sIPaddr: string[15]; btSameLevel...
unit GaussInt; // Gaussian integration // after: Press et al. 1989, "Numerical recipes in Pascal" par 4.5 // (Cambridge: Cambridge University Press) // implemented by Feike Schieving, University of Utrecht, 2002 // Modifications by Roelof Oomen // -all real types changed to double. // -some variables renamed...
unit uMain_Book_Ini; interface type TConfigConnStructure=record DB_PATH : ShortString; DB_SERVER : ShortString; DB_USER : ShortString; DB_PASSWORD : ShortString; end; TViewMode = (vmFixSch, vmFixProp); TPropType = (ptSch, ptOper, ptRazdSt, ptKekv); TRazdStViewMode = (allEn...
namespace WxListboxDemo; interface uses Wx, System.IO, System.Drawing, System; type MyFrame = class(Frame) protected mainsizer, editsizer, logosizer: BoxSizer; toppanel, logopanel, logofillerleft, logofillerright: Panel; textbox: TextCtrl; addbutton: Button; main...
unit Form.Helper; interface uses Classes, Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons; type TFormHelper = class public class function CreateDict(AParent: TWinControl; AAlign: TAlign; AStyle: TComboBoxStyle; AWidth, AHeight: integer; ACaption: string; OnExecute: TNotifyEvent): TComboBox;...
unit uExercicio06; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TfrmExercicio06 = class(TForm) gbQuadrado: TGroupBox; gbCirculo: TGroupBox; edLado: TEdit; ed...
UNIT reincarnation; INTERFACE USES crt,sysutils; TYPE tabIntdyn = ARRAY OF INTEGER; tabStrdyn = ARRAY OF STRING; PROCEDURE recin; IMPLEMENTATION //////////////////////////////////Calcul//////////////////////////////////////// FUNCTION entree_nom(nom : STRING) : INTEGER; VAR i,l,u : INTEGER; BEGIN u := 0; ...
unit eleram; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LazIDEIntf, CompOptsIntf, IDEExternToolIntf, ProjectIntf, Controls, IDECommands, Forms; type TTempModule = class(TForm) end; TEleraProject = class(TProjectDescriptor) public constructor Create; override; function InitProject(...
{***************************************************************************} { } { DUnitX } { } { ...
//--------------------------------------------------------------------------- // 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 Redis...
unit TpMySql; interface uses SysUtils, Classes, ThHtmlDocument, ThHeaderComponent, ThTag, TpDb, TpControls, TpInterfaces; type TTpMySql = class(TTpDb, ITpConfigWriter) private FDatabase: string; FHost: string; FOnGenerate: TTpEvent; FPassword: string; FPersistent: Boolean; FUserName...
unit uMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, uBlueChat, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListBox, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.Edit; type TMainForm = cl...
unit multfile; (* DPL 2004-03-06, 2015-01-16 (* Support for including files into an input stream. (* Intended for an application that does not require Pascal formatting, (* but reads complete lines one at a time. (* You never actually work with any files, except by supplying the ( filename when the file is ope...
(* Category: SWAG Title: TEXT EDITING ROUTINES Original name: 0006.PAS Description: Word Wrap #3 Author: SWAG SUPPORT TEAM Date: 05-28-93 14:08 *) Var S : String; Function Wrap(Var st: String; maxlen: Byte; justify: Boolean): String; { returns a String of no more than maxlen Characters With the last ...
unit InflatablesList_Encryption; {$INCLUDE '.\InflatablesList_defs.inc'} interface uses SysUtils, Classes, AuxTypes; type EILWrongPassword = class(Exception); procedure EncryptStream_AES256(Stream: TMemoryStream; const Password: String; DecryptCheck: UInt64); procedure DecryptStream_AES256(Stream: TMemoryStr...
{*******************************************************} { } { Tachyon Unit } { Vector Raster Geographic Information Synthesis } { VOICE .. Tracer } { GRI...
unit ftombola; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, ComCtrls; type { TFrmTombola } TFrmTombola = class(TForm) btClear: TButton; btEstract: TButton; GBTabellone: TGroupBox; GroupBox1: TGroupBox; GroupBox2: TGroupBo...
unit JOPH_DM; interface uses SysUtils, Classes, ActnList, DB, ADODB, Dialogs, Variants; { Условия отбора - журнал заказов клиентов } type TJOPH_Condition = record { JOPH Header } Header_Begin : String; { base } Header_End : String; { base } Header_Prefix ...
unit FiltersControl; interface uses Forms, Vcl.ComCtrls, Vcl.StdCtrls, MetaData, Vcl.Buttons, Vcl.DBGrids, FireDAC.Comp.Client, Dialogs, System.WideStrUtils, Vcl.Controls; type TFilter = class(TTabSheet) FieldComboBox: TComboBox; OperationComboBox: TComboBox; ConstEdit: TEdit; Decl...
{ ******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [PRODUTO] The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
(* PARSER Generated *) FUNCTION SyIsNot(expectedSy: Symbol):BOOLEAN; BEGIN success:= success AND (sy = expectedSy); SyIsNot := NOT success; END; PROCEDURE Expr; BEGIN Term; IF NOT success THEN EXIT; WHILE sy = .... DO BEGIN IF SyIsNot(plusSy) THEN EXIT; NewSy; Term; IF NOT success THEN EXIT; END;
unit Demo.GeoChart.Sample; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_GeoChart_Sample = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_GeoChart_Sample.GenerateChart; var Chart: IcfsGChartProducer; //Defined as TInterface...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 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 ...