text
stringlengths
14
6.51M
unit LazSynEditNestedFoldsList; {$mode objfpc}{$H+} {$coperators on} {$IFDEF CPUPOWERPC} {$INLINE OFF} {$ENDIF} (* Workaround for bug 12576 (fpc) see bugs.freepascal.org/view.php?id=12576 *) {$IFOPT C+} {$DEFINE SynAssertFold} {$ENDIF} {$IFDEF SynAssert} {$DEFINE SynAssertFold} {$ENDIF} {$IFDEF SynF...
program bordergad; {$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} {$IFDEF...
(* SMPEG library (MPEG-1) components This file is a part of Audio Components Suite. Copyright (C) 2002-2005 Andrei Borovsky. All rights reserved. See the license file for more details. This is the ACS for Linux and Windows version of the unit. *) { Status: tested } unit acs_mp3; interface uses Cl...
{***************************************************************} { Copyright (c) 2013 год . } { Тетенев Леонид Петрович, ltetenev@yandex.ru } { } {*******************************************************...
unit uIntf; interface uses Data.DB; type IDataSetCacheItem = interface ['{A48DA462-CDD5-4A16-A13B-5194B0833F73}'] function GetName: string; function GetParams: TParams; function GetDataSet: TDataSet; function IsEqual(AName: string; AParams: TParams): Boolean; property Name: string read ...
unit MainFormUnit; //***************************************************************************// // NETWORK INTERFACE MONITOR // //***************************************************************************// interface uses Windows, Graphics, ExtCtrls, Controls, St...
unit SignatureDetect_u; interface uses Classes,SysUtils; type TFileType=(ftMZF,ftZip,ftRar,ftZoo,ftBH,ftGZip, ftLha,ftCab,ftTar,ftACE2,ftJar,ftArc, ftArj,ftPKG5,ft7Z,ftAnyFile); function GetArchiveTypeBySignature(AFileName:String):TFileType; implementation Const ...
unit TestUtil; interface uses System.SysUtils, System.Math, log; type TRTest = class private class var SuccessCount: Integer; class var FailedCount: Integer; class function Check(value: Boolean): String; public class procedure Init; class procedure ResultTest; class procedure CheckEq...
unit dll_kernel32_device; interface const DDD_RAW_TARGET_PATH = $00000001; // 使用lpTargetPath参数 DDD_REMOVE_DEFINITION = $00000002; // 删除指定设备声明 DDD_EXACT_MATCH_ON_REMOVE = $00000004; // 确保不会删除未声明的对象 DDD_NO_BROADCAST_SYSTEM = $00000008; // 设置 WM_SETTINGCHANGE消息的状态...
program TSCOPascal; {$MODE OBJFPC} uses sysutils, LclIntf; begin try; (* Raise code exception here *) except on E: Exception do OpenURL('http://stackoverflow.com/search?q=[Pascal]+' + E.Message); end; end.
program Matrix(Input, OutPut); const MaxRows = 25; MaxCols = 25; type CoordType = array[1..MaxRows, 1..MaxCols] of integer; MatrixType = Record Coord: CoordType; Rows, Cols: integer; end; var Matrix1, Matrix2, Matrix3: MatrixType; X, Y: integer; Error: Boolean; Data: Text; F...
unit Auxo.DependencyInjection.ServiceFactories; interface uses System.SysUtils, System.Generics.Collections, Auxo.DependencyInjection, System.Rtti; type TFunctionFactory<I> = class(TInterfacedObject, IObjectFactory) private FConstructor: TFunc<TServiceProvider, I>; public procedure GetObject...
unit UnitOptions; interface uses Classes, SysUtils, IniFiles, Forms, Windows; const csIniConfigSection = 'Config'; {Section: Config} csIniConfigRootDir = 'RootDir'; csIniConfigSlideDelay = 'SlideDelay'; type TIniOptions = class(TObject) private {Section: Config} FConfigRootDir: string; FC...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Jpeg, StdCtrls, ExtCtrls; type TForm1 = class(TForm) OpenDialog1: TOpenDialog; EditDescription: TEdit; Label1: TLabel; OpenJpegBtn: TButton; Label4: TLabel; ChangeBmpBtn: ...
program ImageTest; {$mode objfpc}{$H+} uses MUIClass.Base, MUIClass.Window, //needed for TMUIWindow MUIClass.Group, //needed for TMUIGroup MUIClass.Area, //needed for TMUIButton and TMUIText MUIClass.Image; //needed for TMUIImage type // My Window (mainly because we need the Event attached to an Obje...
program SubSequence; const InputFile = 'SEQ.INP'; OutputFile = 'SEQ.OUT'; max = 1000; maxK = 50; var a: array[1..max] of Integer; Mark: array[1..max] of Boolean; B: array[0..max, 0..maxK - 1] of Byte; n, k, S: Integer; procedure Enter; var f: Text; i: Integer; begin Assign(f, InputFile); Reset(f...
{----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/MPL-1.1....
unit AbstractCardFormViewModelMapper; interface uses CardFormViewModelMapper, ReferenceFormRecordViewModel, CardFormViewModel, SysUtils, Classes; type TAbstractCardFormViewModelMapper = class abstract (TInterfacedObject, ICardFormViewModelMapper) protected function GetCardFormViewMo...
Unit GraphicsSpeedButton; Interface Uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.Buttons, Winapi.GDIPAPI, Winapi.GDIPOBJ, GraphicsUtils; Type TGraphicsSpeedButton = Class(TSpeedButton) Private { Private declarations } FImage : TGPBitmap; FImageFire : TGPBitmap; ...
unit SocketLibrary; interface uses System.SysUtils, Winapi.Winsock2; type TSocketHandle = Winapi.Winsock2.TSocket; TAddressList = record public Host: string; Port: Integer; Addresses: TArray<Cardinal>; IpAddresses: TArray<string>; Count: Integer; end; TSocketClient = class private...
unit uFormMain; interface uses Windows, SysUtils, Forms, Dialogs, Classes, Controls, StdCtrls, WinSock, uReceiveThread; type TChatForm = class(TForm) GroupBox1: TGroupBox; LabelServerPort: TLabel; LabelServerState: TLabel; EditServerPort: TEdit; BtnStartServer: TButton; MemoMessages: T...
unit ObjectList; interface uses System.Classes, System.SysUtils, ThothTypes, ThothObjects, ThothCommands; type /////////////////////////////////////////////////////// // ObjectList TThObjectList = class(TThInterfacedObject, IThObserver) private FList: TList; FBackup: TList; procedure InsertShape...
unit U2chTicket; (* Copyright(c) 2002 Twiddle <hetareprog@hotmail.com> *) interface uses Classes, StrUtils, StrSub, Windows, Messages, UAsync, UDoLib, USynchro, HTTPSub; type T2chTicket = class(TObject) protected FLock: THogeCriticalSection; FDoLib: THogeDoLib; FConfigChanged: boole...
unit FactoryMethod.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, Flyweight.Factory.FlyweightFactory, Flyweight.Car, Flyweight.Util.Utils; type TfrmMain = class(TFor...
unit UDirMonitor; interface uses Classes,Windows,Messages,SysUtils,Contnrs; (* Directory Monitor, sends an event when it detects any change in a path or its subdirectories. ============== Specifies the filter criteria the function checks to determine if the wait operation has completed. This parameter can...
unit unit_CadPessoal; interface {$REGION 'Uses do Sistema'} uses System.SysUtils , System.Types , System.UITypes , System.Classes , System.Variants , FMX.Types , FMX.Controls , FMX.Forms , FMX.Objects , FMX.Graphics , FMX.Dialogs , FMX.StdCtrls , FMX.ListBox , FMX.DateTimeCtrls ...
//Exercício; //Criar duas variáveis: Horas_aula; Mês_aula; Resultado_aula; //um aluno faz um curso de ingles e tem 4 aulas por Mês, cada aula; //tem 2 horas; //Quantas horas o aluno estuda inglês por mês?; //Usando o writeln mostrar o resultado da variavel resultado_aula; Program Aula06_E...
unit OneBall; { Copyright (c) 2015 Dom Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License, as described at http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/ } interface uses System.Types, Smar...
program Surfgedrag; var geslacht: string; var surfgedragCode, leeftijd: integer; var geslachtOke, surfgedragOke, leeftijdOke: boolean; var aantalMannen, aantalVrouwen: integer; var gemiddeldZelden, gemiddeldRegelmatig, gemiddeldVeel: real; var aantalZelden, aantalRegelmatig, aantalVeel: integer; function LeesGeslacht...
unit unit_funcoes; interface uses Vcl.ExtCtrls, Winapi.Windows, Vcl.Buttons, Vcl.Graphics, Vcl.ComCtrls, Vcl.Grids, Vcl.DBGrids; procedure prcAjustarColunasGrid(const xDBGrid: TDBGrid); procedure prcAjustaTamanhoLinha (dbg: TDBGrid); procedure prc_ocultar_tabs ( PageControl : TPageControl ); procedure pr...
unit Vs.Pedido.Venda.Testes.Unitarios; interface uses DUnitX.TestFramework, // Vs Vs.Pedido.Venda.Entidade; type [TestFixture] TPedidoVendaTestesUnitarios = class public [Test] procedure DeveSalvarUmPedidoDeVenda(APedidoVenda: TPedidoVenda); end; implementation uses // Vs Vs.Pedido.Venda...
unit uZFilter; interface uses Windows, Messages, SysUtils, Classes, Controls, StdCtrls, DB, math, dxEdLib, dxDBGrid, dxCntner, Dialogs, Buttons, Graphics; type TFilterType = (ftNone, ftText, ftInt, ftFloat); TFilterFinishEvent = procedure (Sender: TObject) of object; ZFilterResult = class(TObj...
unit UdwsFunctionsTests; interface uses Classes, SysUtils, dwsXPlatformTests, dwsComp, dwsCompiler, dwsExprs, dwsTokenizer, dwsSymbols, dwsXPlatform, dwsUtils, dwsMathFunctions, dwsTimeFunctions, dwsGlobalVarsFunctions, dwsVariantFunctions, dwsMathComplexFunctions, dwsMath3DFunctions; type Td...
unit AqDrop.Core.Helpers.TRttiMember; interface uses System.SysUtils, System.Rtti; type TAqRttiMemberHelper = class helper for TRttiMember strict private procedure NotifyUnexpectedRttiMember; function GetMemberType: TRttiType; public procedure Disambiguate(const pCaseField: TProc<...
unit MolHero.FormMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Types3D, FMX.Objects3D, FMX.Edit, FMX.Materials, System.Actions, FMX.ActnList, FMX.StdActns, FMX.Ani, FMX.MaterialSources, FMX.Cont...
unit IdTestVCard; { http://www.faqs.org/rfcs/rfc2425.html A MIME Content-Type for Directory Information http://www.faqs.org/rfcs/rfc2426.html vCard MIME Directory Profile http://www.faqs.org/rfcs/rfc2739.html Calendar Attributes for vCard and LDAP } interface uses IdSys, IdTest, IdObjs, IdVCard...
(* * 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 version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
unit zServices; interface uses Windows, Messages, SysUtils, Variants, ntdll, winsvc, registry, Classes, ZLogSystem; type // Информация о службе TServiceInfo = record Name : string; // Имя службы Descr : string; // Описание службы Status : string; // Статус ...
unit Service.CheckUserInfo; interface uses System.SysUtils, System.Classes, System.Threading, System.JSON, System.UITypes, REST.Backend.ServiceTypes, REST.Types, Data.Bind.Components, Data.Bind.ObjectScope, REST.Client, REST.Backend.EndPoint, UDM, USharedConsts, UAppSharedUtils, UAppShar...
(* Copyright (c) 2011-2013, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions ...
unit Nathan.Tuple.OrdinalTypes; interface uses DUnitX.TestFramework, Nathan.Tuple; type [TestFixture] TTestNathanTupleOrdinal = class(TObject) public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test] procedure Test_HasCreated(); [Test] [...
unit uNumGrande; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.IniFiles, TlHelp32, Vcl.Buttons; type TfrmNumero = class(TForm) lbl1: TLabel; btnOk: TBitBtn; procedure FormC...
unit Common.Utils; interface uses Winapi.Windows, Winapi.TlHelp32; function GetProcessByEXE(ExeName: string): THandle; implementation function GetProcessByEXE(ExeName: string): THandle; var hSnapshoot: THandle; pe32: TProcessEntry32; begin Result:= 0; hSnapshoot:= CreateToolhelp32Snapshot(TH32CS_SNAPPROC...
unit AqDrop.Core.InterfaceSupport; interface uses AqDrop.Core.Collections.Intf; type TAqGenericInterfaceSupport = class public class function Test<I: IInterface>(pInterface: IInterface; out pSupportedInterface: I): Boolean; overload; class function Test<I: IInterface>(pInterface: IInterface)...
unit GoodsEdit; interface uses DataModul, AncestorEditDialog, ParentForm, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, cxPropertiesStore, dsdAddOn, dsdGuides, dsdDB, dsdAction, System.Classes, Vcl.ActnList, cxMaskEdit, cxButtonEdit, cxCurrencyEdit, Vcl.StdCtrl...
unit ImportTypeItemsTest; interface uses dbTest, dbObjectTest, ObjectTest; type TImportTypeItemsTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TImportTypeItems = class(TObjectTest) function InsertDefault: integer; override; public ...
unit AT.Vcl.Automate; interface uses System.Classes, Vcl.Controls; type TATAutoUpdate = record private FControl: TControl; public constructor Create(const AControl: TControl); public class operator Initialize(out ADest: TATAutoUpdate); class operator Finalize(var ADest: TATAutoUpdate); ...
{Hint: save all files to location: C:\adt32\eclipse\workspace\AppDownloadManagerDemo1\jni } unit unit1; {$mode delphi} interface uses Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls, Laz_And_Controls_Events, AndroidWidget, downloadmanager, broadcastreceiver; type { TAndroidModule1 } TAndro...
unit BlinkIP; { Blink IP-Address } { } { Uses the Activity LED to show the last octet of the IP-address. } { A digit starts with 2 short flashes (*-*-) and shows the val...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC wait time user interface } { } { Copyright(c) 2004-2013 Embar...
{ * This source code accompanies the article "How to load and save documents in * TWebBrowser in a Delphi-like way" which can be found at * http://www.delphidabbler.com/articles?article=14. * * The code is merely a proof of concept and is intended only to illustrate the * article. It is not designed for use in it...
unit uDataComputer; interface uses System.Classes, System.Variants, System.SysUtils, System.Types, System.Threading, System.IOUtils, mORMot, mORMotSQLite3, SynSQLite3Static, SynCommons, uCommon, uFileWriter; type TSQLRow = class(TSQLRecord) private fNumber: Word; fNumber2: Word; ...
unit uResQuestions; // EMS Resource Module interface uses System.SysUtils, System.Classes, System.JSON, EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes, uDMQuestions; { -- Perguntas que o ID 1 respondeu select action.*, questions.* from quiz_action action left join questions on question...
{ //************************************************************// } { // // } { // Código gerado pelo assistente // } { // // } { // Projeto MVCBr ...
unit Frm_Localidades_Browse; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm, Frm_Browse, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Phys.Intf, FireDAC....
unit UnitSplit; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Edit, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ListBox, FMX.ScrollBox, FMX.Memo, FMX.TabControl; type TFormSplit =...
{$R+} {$I+} {$X-} {$S+} {$Q+} PROGRAM Pr2b; {Programa que sirve de calculadora de numeros conplejos y realiza la modificacion de los operandos, asi como las operaciones de suma, resta multiplicacion y division; todo ello a traves de un menu, que se le muestra al usuario} USES Crt; VAR a,b...
{$O+,F+} Unit SGP_Time; { Author: Dr TS Kelso } { Original Version: 1992 Jun 02 } { Current Revision: 1992 Sep 28 } { Version: 1.50 } { Copyright: 1992, All Rights Reserved } {$N+} INTERFACE { Uses SGP_Math; } type clock_time = string[12]; date = string...
unit planet_main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, DCPsha256, lNetComponents, lNet, core_tcp, ghashmap, strutils, math, fgl, LCLIntf, core_actor_definitions; type //forward decl TGameRoom = class; { TClient } TCli...
unit Model.Crud.Produto; interface uses Model.Crud.interfaces, Model.Entities.Produto, Data.DB, Model.Components.Connections.interfaces, Model.Components.Connections; type TModelCrudProduto = class(TInterfacedObject,IModelCrudGeneric<TModelEntitiesProduto>) private FEntity:TModelEntitiesProduto; FDataSour...
{==============} UNIT F_Mouse; {===============} {+---------------------------------------------+ | В этом модуле собраны процедуры и функции, | | обеспечивающие работу устройства ввода | | типа мышь | +---------------------------------------------+} INTERFA...
Messwerte(temp,hour,minute) VAR static lastTemp: REAL last_h: 0..23 last_m: 0..59 first: BOOLEAN BEGIN IF TempPlausible(temp, hour, minute, first) THEN WriteLn('valid!') ELSE WriteLn('unvalid!') END END CheckTempChangePerMinute(tempdiff: REAL; hour, minute: INTEGER):...
{***************************************************************************} { } { DelphiUIAutomation } { } { ...
unit mnFileTestCase; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework; type TmnFileTestCase = cl...
unit Menus.Controller.Conexoes.Factory.Conexao; interface uses Menus.Controller.Conexoes.Interfaces, Menu.Model.Conexoes.Factory.Conexao, Menu.Model.Conexoes.Interfaces; type TControllerConexoesFactoryConexao = class(TInterfacedObject, iControllerFactoryConexao) private public constructor...
unit DrawGrid32; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, GR32_Image, gr32, GR32_RangeBars, math; const SCROLLBARSIZE = 18; type TDrawState32 = set of (dsSelected, dsFocused, dsFixed); TDrawCell32Event = procedure(buffer: TBitmap32; col, row: Integer; cellrec...
unit uOrderView; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, System.Rtti, FMX.Grid.Style, FMX.ScrollBox, FMX.Grid, FMX.Effects, FMX.Edit, FMX.Objects, FMX.Controls.Presentation, FMX.S...
unit prefs; { Preferences related material } {$UNITPATH ../Trinity/} interface uses TriniTypes, exec, agraphics, intuition, iffparse, timer; // ######################################################################### // // globals // // #################################################################...
(* Copyright (c) 2011, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
{*******************************************************} { } { X-library v.03.01 } { } { 07.10.97 } { ...
unit IPGeoLocation.Providers.IPGeoLocation; interface uses IPGeoLocation.Interfaces, IPGeoLocation.Core, System.Net.HttpClient; type {$REGION 'TIPGeoLocationProviderIPGeoLocation'} TIPGeoLocationProviderIPGeoLocation = class sealed(TIPGeoLocationProviderCustom) private { private declarations } protect...
unit NetlistSettings1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, Netlist, Project, Menus, StdCtrls; type TNetlistForm1 = class(TForm) Panel1: TPanel; CloseTButton: TButton; PageControl: TPageControl; TabSheet1: T...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit windowmanager; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget; type {Draft Component code by "Lazarus Android Module Wizard" [2/8/2017 0:15:42]} {https://github.com/jmpessoa/lazandroidmodulewizard} {jControl template} jWindowManager = class(jControl) private public construc...
{ Процедура получения записей из адресной книги Параметры: name строка название адресной книги } procedure AddressBookGetEntries(name : string); var f : file of AddressBookEntry; { Файловая переменная } entry : AddressBookEntry; { } ...
unit uSettingFormData; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uCustomEditor, upropertyeditor; type {$REGION Settings} { TTreeData } TTreeData = class(TPropertyData) type TTypeImage = (tiNone = -1, tiModbus, tiRtu, tiClient, tiServer, tiConfig, tiTimeout, tiXmlLibrary, tiDevel...
unit GraficoZoom; interface uses Grafico, GR32, Graphics, Classes, Controls, Tipos, ExtCtrls, GR32_Layers, Messages; const ZOOM_ALL = -9999; type MessageGraficoAfterZoom = class(TMessageGrafico); MessageGraficoBeforeZoom = class(TMessageGrafico); MessageGraficoAfterScroll = class(TMessageGrafico); Messa...
unit Sample9.Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TMainForm = class(TForm) Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); private { Private declarations } procedure PropertyChanged...
1 1 IDENTIFIER s 1 3 OPERATION := 1 6 STRING 'Hello!' 1 14 SEPARATOR ;
{----------------------------------------------------------------------------- Unit Name: DUCmdLine Author: Sebastian Huetter Date: 2009-01-22 Purpose: Provides some utilities for basic line applications. History: 2009-01-22 initial release ------------------------------------------------------------...
unit ShellDir.Settings; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Menus, Vcl.StdCtrls, System.ImageList, Vcl.ImgList, HGM.Button; type TFormMain = class(TForm) TrayIcon: TTrayIcon...
unit EV01; {ULEV01.DPR================================================================ File: ULEV01.PAS Library Call Demonstrated: cbEnableEvent - ON_EXTERNAL_INTERRUPT cbDisableEvent() Purpose: Generates an event for each puls...
{ Working with PCI PLX boards } unit PciCmd; interface { Internal variables } const L_CONTROL_TABLE_PLX = $8A00; L_SCALE_PLX = $8D00; L_ZERO_PLX = $8D04; L_CONTROL_TABLE_LENGHT_PLX = $8D08; L_READY_PLX ...
unit uCarColor; interface uses uCarData; type TCarColor = class(TCarData) public class var FMaxId: Int64; public car_color_id: int64; color_name: string; color_value: string; color_type: integer; car_brand_id: string; car_brand_name: string; public class constructor Create; ...
unit uAgendamento_Processo; interface uses Classes, uEnvioEmail, ExtCtrls, SysUtils; type TChecaAgendamento = class Timer:TTimer; protected private ListaDestinatario:TStringList; FTimerInterval: integer; procedure SetTimerInterval(const Value: integer); pub...
{//************************************************************//} {// //} {// Código gerado pelo assistente //} {// //} {// Projeto MVCBr ...
unit FLogs; interface uses SysUtils, Forms, FLua; const LOG_DEBUG = 0; LOG_WARNING = 1; LOG_ERROR = 2; procedure InitLog(); procedure Log(msg: string; factor: Integer = 0); implementation uses FLuaFunctions, FInterfaceDraw; function GetTime()...
{Program title: BOUND STATE WAVE FUNCTIONS IN ONE DIMENSION } {Author: Ian D. Johnston Copyright 1993 } {Version: 3.01 23 August 1994 } { } {Computes energy eigenfunctions ...
// ****************************************************************** // // Program Name : $ProgramName$ // Platform(s) : $Platforms$ // Framework : VCL // // Filename : AT.$ShortName$.Vcl.Dialogs.Generic.Base.pas/.dfm // File Version : 1.00 // Date Created : $CreateDate$ // Author : Matthew...
unit sbottomnavigationview; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget, systryparent; type {Draft Component code by "Lazarus Android Module Wizard" [1/13/2018 22:17:13]} {https://github.com/jmpessoa/lazandroidmodulewizard} {jVisualControl template} jsBottomNavigationView = class(jV...
unit DBListOne; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, stdCtrls,Forms, Dialogs, Grids, DBGrids,Buttons,DB,DBTables,DBCtrls; type TCustomDBListOne = class(TCustomDBGrid) private { Private declarations } function GetDataField: string; procedure SetDataField(const V...
unit uFormBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uDataModule, Data.DB, Vcl.DBGrids, FireDAC.Comp.Client, Vcl.StdCtrls, ACBrUtil; type TTipoCrud = (tcNone, tcInsert, tcEdit); T...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Copyright (c) 1992-2007 The University of Tennessee. All rights reserved. Contributors: * Sergey Bochkanov (ALGLIB project). Translation from FORTRAN to pseudocode. See subroutines comments ...
unit AbsParsers; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>AbsParsers <What>抽象的文本生成脚本解释器 脚本类似ASP,是文字中“<%”“%>”之间的部分。脚本是函数形式:“函数名(参数1,参数2,...);” <Written By> Huang YanLai (黄燕来) <History> ************************************...
{************************************************************************************************} { } { XML Data Binding } { ...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit GlobalSyncronization; interface procedure GlobalEnterCriticalSection; procedure GlobalLeaveCriticalSection; procedure EndThread(const threadID: Cardinal); procedure GlobalInitialization; procedure GlobalFinalization; implementation uses Windows, SysUtils; var criticalSection: TRTLCriticalSection;...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2010 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools ...
// ****************************************************************** // // Program Name : Angelic Tech Components // Program Version: 1.00 // Platform(s) : Android, iOS, OSX, Win32, Win64 // Framework : FireMonkey // // Filenames : AT.FMX.Dialog.Task.pas/.fmx // File Version : 1.00 // Date Created :...
unit GraphicsCommandLink; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.Buttons, Winapi.Windows, Winapi.GDIPAPI, Winapi.GDIPOBJ, GraphicsUtils; type TGraphicsCommandLink = class(TSpeedButton) private { Private declarations } FImage : TGPBitmap; FImageG...