text
stringlengths
14
6.51M
unit ui.texcolorblend; interface uses ui.texcolor; type TCombineMode = (cmBlend, cmMerge); TBlendReg = function(F, B: TColor32): TColor32; TBlendMem = procedure(F: TColor32; var B: TColor32); TBlendMems = procedure(F: TColor32; B: PColor32; Count: Integer); TBlendRegEx = functio...
{//************************************************************//} {// //} {// Código gerado pelo assistente //} {// //} {// Projeto MVCBr ...
unit UCL.TUPanel; interface uses UCL.Classes, UCL.Utils, UCL.SystemSettings, UCL.TUThemeManager, Winapi.Windows, Winapi.Messages, System.Classes, System.SysUtils, VCL.Controls, VCL.ExtCtrls, VCL.Graphics; type TUCustomPanel = class(TCustomPanel, IUThemeControl) private FThemeManager:...
unit AqDrop.DB.Adapter; interface uses AqDrop.Core.Collections.Intf, AqDrop.DB.SQL.Intf; type TAqDBAutoIncrementType = (aiAutoIncrement, aiGenerator); TAqDBSQLSolver = class strict protected function SolveOperator(const pOperator: TAqDBSQLOperator): string; virtual; function SolveDis...
// **************************************************************************** // // Program Name : AT Library // Program Version: 1.00 // Platform(s) : OSX // Framework : FireMonkey // // Filename : AT.MacOS.AlertDelegate.pas // File Version : 1.00 // Date Created : 16-AUG-2015 // Author :...
unit WindowsLibrary; interface uses Windows, Messages, SysUtils, CommDlg, Classes, Graphics, Controls, Forms, StdCtrls, Printers, Buttons; type TMsgDlgType = (mtWarning, mtError, mtInformation, mtConfirmation, mtCustom); TMsgDlgBtn = (mbYes, mbNo, mbOK, mbCancel, mbAbort, mbRetry, mbIgnore, mbAll, mbNoT...
unit ConnectionModule; interface uses Aurelius.Drivers.Interfaces, Aurelius.SQL.SQLite, Aurelius.Schema.SQLite, Aurelius.Drivers.SQLite, System.SysUtils, System.Classes; type TSQLiteSQLiteConnection = class(TDataModule) private public class function CreateConnection: IDBConnection;...
unit uFormSelector; { Delphi Form Activator with Visual Thumbnail Preview http://delphi.about.com/od/formsdialogs/a/form_activator.htm Here's an idea for your (next) Delphi killer application: provide a user with a visual way to navigate and select any already open (MDI child) form by displaying a thumb...
unit uWebCore; interface uses SmartCL.System, //System.Types, W3C.Console, W3C.HTML5, W3C.DOM, W3C.CSS; type EException = class external 'Exception' public constructor Create(const Msg: String); property Message: String; property Name: String; property StackTrac...
unit MainUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, XPMan, ComCtrls, IdUDPClient, IdBaseComponent, IdComponent, IdUDPBase, IdUDPServer, IdSocketHandle; type TMainForm = class(TForm) OpenBtn: TButton; FileEdi...
unit TestParse.SQL; interface uses TestFramework, System.Generics.Collections, Parse.SQL, Util.Types; type TestParseSQLFields = class(TTestCase) private AFields: TParamBuilder; public procedure SetUp; override; procedure TearDown; override; published procedure TestGetFields; procedure ...
Program P121507; {IOI 94} Const Test = true; Trace = false; Var inp,out: text; Procedure Init; Begin If Test then Writeln('IOI''94 - Day 2 - Problem 2: The Buses'); Assign(inp,'input.txt'); Reset(inp); Assign(out,'output.txt'); ReWrite(out); If Test then Writeln('Initialized') End; Procedure Fini;...
unit UImagePageControl; interface uses Messages, Classes, Controls, ComCtrls, Types, UMSPageControl, UImageTabSheet; type TImagePageControl = class(TMSPageControl) protected ChangeFrom:Integer; FOnAllTabClosed:TNotifyEvent; FStatusBar: TStatusBar; procedure ImageTabMode(Value:Boo...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{ @abstract(Transform a data from Delphi to JS ans JS to Delphi.) @author(Xavier Martinez (cadetill) <cadetill@gmail.com>) @created(August 2, 2022) @lastmod(August 21, 2022) The GMLib.Transform unit contains all functions needed to transform a JavaScript value to Delphi value and viceversa. } unit GM...
unit uLivroMatriculaAbertFech; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, JvExControls, JvXPCore, JvXPButtons, ExtCtrls, QRCtrls, QuickRpt, Mask, JvExMask, JvToolEdit, StdCtrls, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ComCtrls, uFuncoesGeral; ...
unit Emotiv.Epoc; interface uses System.SysUtils, System.Classes, Emotiv.EDK.Core, Emotiv.EDK.EmoState, Emotiv.EDK.ErrorCodes; type TTrainingSucceededEvent = procedure(Sender: TObject; var AReject: Boolean) of object; TCognitivActionEvent = procedure(Sender: TObject; AEvent: EE_CognitivAction_t; APower: single...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt....
unit SimThyrTypes; { SimThyr Project } { A numerical simulator of thyrotropic feedback control } { Version 4.0.0 (Merlion) } { (c) J. W. Dietrich, 1994 - 2016 } { (c) Ludwig Maximilian University of Munich 1995 - 2002 } { (c) Ruhr University of Bochum 2005 - 2016 } { This unit provides types and global variables fo...
unit threadtest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, SyncObjs, XMLConf, uloCoreInterfaces, uloCoreTypes; type { TloTestThread } TloTestThread = class(TloTaskThread) public constructor Create( aOwner: Ilo...
unit fMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit; type TForm2 = class(TForm) Button1: TButton; Button2: TButton; OpenDialog1: TOpenDialog; Label1: TLabel; Button...
unit FileMenuHandler; interface uses Classes, Menus, SysUtils; type TFileMenu = ( emSave, emSaveAs ); TFileMenus = set of TFileMenu; TFileMenuStatusEvent = procedure( Sender : TObject; ActiveMenus : TFileMenus ) of object; TProcessFileEvent = procedure( Sender : TObject; const File...
UNIT Actor; (*<Defines the @link(TActor) object. *) (* Copyright (c) 2018 Handoko (c) 2019-2020 Guillermo Martínez. 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. Permi...
unit captionpanel; {$mode delphi} interface uses Classes, SysUtils, AndroidWidget, Laz_And_Controls; type { jCaptionPanel } jCaptionPanel = class(jPanel) private FCaption: jTextView; procedure CreateTextView(AOwner: TComponent); protected procedure Loaded; override; procedure Notifica...
unit Adapter.Classes.Adapter; interface uses Adapter.Interfaces.ITarget, Adapter.Classes.Adaptee; // The Adapter makes the Adaptee's interface compatible with the Target's // interface. // O Adapter torna a interface do Adaptee compatível com a interface Target. type TAdapter = class(TInterfacedObject, ITarget...
unit Dialog.SelectDefinition; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Types, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ActnList; type TDialogSelectDefinition = class(TForm) GroupBox1: TGroupBox; ListBox1: T...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this l...
unit customdialog; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget, systryparent; type TCustomDialogShow = Procedure(Sender: TObject; dialog: jObject; title: string) of Object; TCustomDialogBackKeyPressed = Procedure(Sender: TObject; title: string) of Object; {Draft Component code by "...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit UMademan; {$mode objfpc}{$H+} interface uses Classes, SysUtils, UPerson; Type { TMadeMen } TMadeMen = class(TPerson) Damage: Integer; GunLevel: Integer; SuitLevel: Integer; Aim: Integer; Smarts: Integer; Respect: Integer; Rank: Integer; Costs: Integer; Boss: P...
unit UShopItem; interface uses W3System, W3Graphics, W3Image, UGameVariables, UShopData; type EPurchasedEvent = procedure(); type TShopItem = class(TObject) public X, Y : integer; Price, OrigPrice, UnitsSold, MaxUnitsSold : integer; PriceAfterPurchaseMultiplier : float; ItemNam...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit VgaGlobal; {$MODE Delphi} { CyTerm Project. VgaGlobal created January 20, 2001 by Shawn Rapp this unit is for constants and types that are referenced There is alot more stuff i know that should be put in this unit. } interface uses Graphics, LCLIntf, LCLType, LMessages, types; const VGACol...
unit arkman; {$mode objfpc}{$H+} interface uses Classes, SysUtils, SDL2, SDL2_image, arktypes; type PTextureList = ^TTextureList; TTextureList = record Name: string; id, refcount: integer; tx: PSDL_Texture; end; PArkanoid = ^TArkanoid; { TTextureManager } TTextureManager = class(TObject) class...
unit uFrmCadastroProdutos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmCadastroPai, DB, StdCtrls, ExtCtrls, ZAbstractRODataset, ZAbstractDataset, ZDataset, DBCtrls, uDMConexaoDAO, uBlibliotecaFuncoes, EnumOperacao, uProdutosController, uProdutosModel,...
unit FastChart; {$MODE Delphi} interface uses SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, IniFiles, Menus, ProjConfig, ComCtrls, IniPropStorage, TAGraph, TASeries; type TSeriesFunction = function(r,i: integer): Double; TSeriesDef = class(TComponent)...
unit UDaemon; (* 別スレッド→VCLスレッド へのAgent *) (* Copyright (c) 2001,2002 hetareprog@hotmail.com *) interface uses Classes, SysUtils, USynchro; type (*-------------------------------------------------------*) TSynchroReq = class(TObject) public procedure Call; virtual; abstract; end; TSynchroCallProcedur...
unit UGameText; { Copyright (c) 2014 George Wright 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 w3system...
unit uRecipeCreditCards; interface uses Classes, RegularExpressions, uDemo, uRecipe; type TRecipeCreditCards = class(TRecipe) public class function Description: String; override; function Pattern: String; override; function Options: TRegexOptions; override; procedure GetInputs(const Input...
unit UsbDeviceUtils; interface uses Windows, Classes, Procs, INIFiles, SysUtils, COnfig, DllClient, VT_Drivers, IFactory, ADCUtility, IADCDevice, ADC_Const; const BASE_ADDRESS = 1; //для La2m3 - 0xXXXX DRQ_NUMBER = 0; //для La2m3 - XX ADC_ERROR_NOTSUPPORTED_MSG = 'ADC_ERROR_NOTSUPPORTED'; ADC_ERROR_NOTINITIA...
unit BankStatementItemTest; interface uses dbTest, dbMovementTest, ObjectTest; type TBankStatementItemTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TBankStatementItem = class(TMovementTest) private function InsertDefault: integer;...
(* program 4.7 write roman numerals *) program roman(output); var x, y : integer; begin y := 1; repeat x := y; write(x, ' '); while x >= 1000 do begin write('m'); x := x - 1000 end; if x >= 500 then begin write('d'); x := x - 500 end; while x >= 100 do begin write('...
unit uCEFView; {$IFNDEF CPUX64} {$ALIGN ON} {$MINENUMSIZE 4} {$ENDIF} {$I cef.inc} interface uses {$IFDEF DELPHI16_UP} {$IFDEF MSWINDOWS}WinApi.Windows, WinApi.Messages, Vcl.Controls, Vcl.Graphics, Vcl.Forms{$ENDIF} System.SysUtils, System.Classes, {$ELSE} SysUtils, Classes, Windows, Messages, Contr...
unit AboutFrmU; interface uses Winapi.Windows, {Winapi.Messages,} System.SysUtils, {System.Variants,} System.Classes, {Vcl.Graphics,} Vcl.Controls, Vcl.Forms, {Vcl.Dialogs,} Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Winapi.Shellapi; type TAboutFrm = class(TForm) AboutBkgImg: TImage; VersionLb...
unit LAPI; { Huntpad Lua API Copyright (c) 2011-2018, Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/huntpad/ for details. } interface uses SysUtils, Lua, Dialogs, ShellAPI; procedure RegisterApp(L: plua_State); procedure RegisterBrowser(L: plua_State); procedure Regis...
unit version; interface function GetFileVersion( const FileName : string; var Major, Minor, Release, Build : integer; var PreRelease, Debug : boolean; var Description : string ) : boolean; implementation uses Windows, SysUtils, ExceptSafe; type ESafeVersion = class( ESafe ); // get Ma...
namespace com.remobjects.everwood.beta; interface uses android.app, android.os, android.preference, android.text, android.view; type SettingsActivity = public class(PreferenceActivity) public protected [SuppressWarnings(Value := ['deprecation'])] method onCreate(savedInstanceStat...
unit FH.DeckLink.ScreenPreview; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.SyncObjs, System.Generics.Collections, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Winapi.ActiveX, Winapi.DirectShow9, DeckLinkAPI_TLB_10_5; ...
unit Rotations; interface uses Types; type TRotation = ( rot0, rot90, rot180, rot270 ); // *************************************** // Utility Function Rotate Coords // *************************************** procedure Rotate( var X, Y : integer; CentreX, CentreY : integer; Rotation : TRotation...
unit uBackupFormData; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VirtualTrees, uLibrary; type { TBaseBackupData } TBaseBackupData = class type // Типы иконок TTypeImage = (iiNone = -1, iiInactive, iiActive); protected function GetCaption: String; virtual; abstract; public ...
{$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 ...
(* Copyright (c) 2011-2012, 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 AdvertisingTest; interface uses dbTest, dbObjectTest, TestFramework, ObjectTest; type TAdvertisingTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TAdvertising = class(TObjectTest) function InsertDefault: integer; override; public ...
unit core_sound; {$mode objfpc}{$H+} interface uses Classes, SysUtils, core_types, core_orders,sunvox, core_orders_manager ; type { TSoundThread } TSoundThread = class (TThread) protected procedure execute;override; end; { TSoundManager } TSoundManager = class public skipUpdate:boole...
unit uGerarCSVProfessores; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, JvExControls, JvXPCore, JvXPButtons, uFuncoesGeral; type TfrmGerarCSVProfessores = class(TForm) Panel1: TPanel; pnl_buttons: TPanel; ...
Unit XTxtPrn; Interface Uses Classes, Windows, WinSpool, ppPrintr, Dialogs; type TXTextPrinter = class; { TXTextCanvas } TXTextCanvas = class(TObject) private FBounds: TPoint; FPenPos: TPoint; FLines: TStrings; procedure SetLines(ALines: TStrings); function GetHeight: Integer...
unit select_edit_ctrl; interface uses Classes ,SysUtils ,tiObject ,mapper ,mvc_base ,widget_controllers ,app_mdl ,select_edit_view ; type // ----------------------------------------------------------------- // Class Objects // ----------------------------------------------------------------- ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://devlinux1/secure/ws/AWWebServicesManager.php?wsdl // Encoding : ISO-8859-1 // Version : 1.0 // (1/18/2008 11:03:31 ...
unit GoodsMainTab_Error; interface uses DataModul, Winapi.Windows, ParentForm, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, Data.DB, cxDBData, cxCurrencyEdit, cxCheckBox, dsdAddOn, dsdDB, dsdAction, System.Classes, Vcl.ActnList...
unit EdiTest; interface uses TestFramework, dbTest; type TdbEDITest = class (TdbTest) protected // подготавливаем данные для тестирования procedure SetUp; override; // возвращаем данные для тестирования procedure TearDown; override; published procedure CreateDesadvTest; procedure LoadC...
unit IdTest; { minimal/example test runner for .net/mono feel free to improve this code for example, better format for the output } interface uses System.Reflection, System.Threading, IdObjs, IdBaseComponent; type TIdTest = class; TIdTestClass = class of TIdTest; TOutputStringPr...
unit Project87.Hero; interface uses QEngine.Camera, QGame.Scene, Strope.Math, Project87.Fluid, Project87.BaseUnit, Project87.Types.Weapon, Project87.Types.GameObject, Project87.Types.StarMap; const IN_SYSTEM_JUMP_SPEED = 500; RADAR_DISTANCE = 1300; BASE_ENERGY_RECOVERY_IN_SECOND = 0.0024; BAS...
unit vlcpl; interface uses PasLibVlcUnit, windows, classes, sysutils, forms,vcl.dialogs; type TvlcPl = class public error: string; width: longword; Height: longword; Aspect: string; MediaFilename: widestring; Duration: int64; p_li: libvlc_instance_t_ptr; p_mi: libvlc_media_player_...
{Пример программы для ввода и вывода одномерного массива из n-элементов} program ex1; const n=6 {n - количество элементов в массиве}; var a: array [1..n] of integer; {описание массива из n элементов} i: byte; {переменная для циклов} begin {ввод массива} for i:= 1 to n do {переменная цикла меняется в том...
unit UHRTimer; interface uses Windows; type THRTimer = class(TObject) constructor Create; function StartTimer: Boolean; function ReadTimer: Double; procedure StopTimer; private StartTime: Double; ClockRate: Double; public Waiting: Boolean; Exists: Boolean; Enable: Boolean; ...
unit Parse.SQL; interface uses Util.Types, Data.DB; type TParseSQLFields = class public class function GetFields( const AFields: TParamBuilder ): string; class function GetParamsWhere( const AFields: TParamBuilder ): string; class function GetParamsField( const AFields: TParamBuilder ): string; ...
unit udmProject2; interface uses uLog, uGlobal, uDriveInfo, mORMot, mORMotSQLite3, SynSQLite3Static, System.SysUtils, System.Classes, System.Math, System.JSON, System.Threading, System.IOUtils, System.Variants, System.Generics.Collections, System.Types, Vcl.Dialogs, Vcl.Forms; type TWorkType = (wtNull, wtB...
unit uFrmFiltroFornecedores; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, uFornecedoresController, uFornecedorModel,generics.collections, uFrmCadastroFornecedores; type TfrmFiltroFornecedores = class(TForm) Label1: TLabel; Label2:...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
program project1; {$mode delphi}{$H+} { Raspberry Pi 3 Application } { Add your program code below, add additional units to the "uses" section if } { required and create new units by selecting File, New Unit from the menu. } { ...
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; type intArr = Array of Integer; TForm1 = class(TForm) ListBox1: TListBox; Button1: TButton; ...
unit CTHelloWorld; interface uses CTmscorlib, CTClient, CTObject, Windows; type Class1 = class; Class1 = class(TCTObject) private protected class function CTFullTypeName: string; override; public constructor Create; overload; override; function Equals( const aObj: TCTObject): Boolea...
unit ZakazExternalTest; interface uses dbTest, dbMovementTest, ObjectTest; type TZakazExternalTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TZakazExternal = class(TMovementTest) private function InsertDefault: integer; override; ...
unit AutomatedTestCanvasAid; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, DisplayCellInterface ; type TCellCanvasAid = class public class function PerimeterTop(Canvas: TCanvas; Rect:TRect): string; static; class functi...
unit Frm_PedirDatos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm, uniDBEdit, uniEdit, uniLabel, uniToolBar, uniGUIBaseClasses, uniImageList,db, uniRadioButton,UniguiDialogs, uniPanel, uniChec...
{***************************************************************************} { } { DelphiUIAutomation } { } { ...
unit ProjOfICItemWin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, CommUtils, ComCtrls, ToolWin, ImgList, ComObj; type TfrmProjOfICItem = class(TForm) leProjOfICItem: TLabeledEdit; leProjEODate: TLabeledEdit; btnProjOfICItem:...
unit ratingbar; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget, systryparent; type {Draft Component code by "Lazarus Android Module Wizard" [12/22/2015 21:11:14]} {https://github.com/jmpessoa/lazandroidmodulewizard} TOnRatingChanged = procedure(Sender: TObject; rating: single) of Object...
unit fAppDistAlarm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Beacon, System.Bluetooth, System.Beacon.Components, FMX.Edit, FMX.Controls.Presentation, FMX.StdCtrls, System.Android.Servic...
program Test7; var a: real; begin a := 10; while a < 20 do begin writeln('value of a: ', a); a := a + 1; if (a > 15) then break; end; end.
unit PerformanceCounter; interface uses Windows; type TPerformanceCounter = class private FSupportsPerformance : Boolean; FFrequency : Int64; FStarted : Int64; FStopped : Int64; function GetMilliseconds : DWord; function GetSeconds : Double; public constructor Cre...
unit uModelObra; interface type TStatusObra = (soAguardandoPlanejamento, soEmAndamento, soFinalizado, soTodos); type TObra = class private FCodigo : Double; FDataCriacao : TDate; FCodCliente : Double; FDataPrevisao : TDate; FCEP : String; FLogradouro : String; FQuadra : String; ...
(*-----------------------------------------------------------*) (* Developer: Neuhold Michael *) (* date: 15.11.2018 *) (* program which can calculat fractions *) (* with standard operations *) ...
unit dmEstrategiaBase; interface uses SysUtils, Classes, DB, Controls, dmDataComun, kbmMemTable, dmThreadDataModule; type TOnCanceledEvent = procedure (var raiseAbort: boolean) of object; TEstrategiaBase = class(TThreadDataModule) Posiciones: TkbmMemTable; PosicionesPUNTOS: TIntegerField; Posi...
unit dbiScrb; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB, FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, FireDAC.Stan.Param, FireDAC...
unit WindowExStyleDlgUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ELPropInsp, ClipBrd; type TExWindowStyleDlg = class(TForm) ListBox: TListBox; btOK: TBitBtn; btCancel: TBitBtn; EditStyle: TEdit; cb...
unit q3sound; interface uses fmod, fmodtypes, fmoderrors, SysUtils, q3types, Bass; type // sound lib entry TSample = record Name : string; SamplePtr : PFSoundSample; SampleBass: HSTREAM; Loop : boolean; Use3D : boolean; //Position : TVector3f; //Volume : integer; /...
unit LossDebtTest; interface uses dbTest, dbMovementTest, ObjectTest; type TLossDebtTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TLossDebt = class(TMovementTest) private function InsertDefault: integer; override; public fun...
namespace Beta; interface uses UIKit; type [IBObject] AppDelegate = class(IUIApplicationDelegate, IDataAccessDelegate) private method downloadsChanged(aNotification: NSNotification); method showInAppPushMessage(aUserInfo: NSDictionary); public property window: UIWindow; {$...
{ Um Painel com um contexto opengl, necessário para o funcionamento do VR. O contexto é criado quando o painel é exibido com OnShow e destruído no OnDestroy. } unit MyOpenGlPanel; interface uses SysUtils, Classes, Controls, ExtCtrls, OpenGL, Windows, Dialogs, Messages, MyOpenglContext, Graphics; type FOnRend...
{==============================================================================* * Copyright © 2020, Pukhkiy Igor * * All rights reserved. * *============================================================================...
unit AqDrop.Core.Attributes; //#revisado interface type /// ------------------------------------------------------------------------------------------------------------------ /// <summary> /// EN-US: /// Base class for Aquasoft attributes. /// PT-BR: /// Classe base para atributos...
unit register_jcenter; {$mode objfpc}{$H+} interface uses Classes, ujczxingbarcodescan, cwebsocketclient, ctoytimerservice, cbillingclient, cqrgen, cbluetoothspp, cmail, csignaturepad, copenmapview, clantern, cscreenshot, cmikrotikrouteros, SysUtils, LResources; Procedure Regis...
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.Menus, Vcl.Themes, Vcl.ImgList; type TForm13 = class(TForm) Edit1: TEdit; PopupMenu1: TPopupMenu; Item12...
unit FileSystem; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, IniFiles, ComCtrls, ExtCtrls, StdCtrls, StrUtils, fMain, Trakce, TrakceGUI, XpressNET, CPort, AC, TJCDatabase; type EFileNotFound = class(Exception); TData=class autosave:boolean; auto...
unit MainModule; interface uses krUtil, SysUtils, Classes, ZAbstractConnection, ZConnection, DB, Controls, uniGUIForm, Dialogs, uniGUIBaseClasses, uniGUIMainModule, ZAbstractRODataset, ZAbstractDataset, ZAbstractTable, ZDataset, uniGUIClasses, uniBasicGrid, uniDBGrid, uniLabel, uniPanel; type T...
// see ISC_license.txt {$I genLL.inc} unit STGLexer; interface uses SysUtils, Runtime; const LEX_WS = 1; LEX_COMMENT = 2; LEX_STRING = 3; LEX_BIGSTRING = 4; LEX_BIGSTRING_NO_NL = 5; LEX_IDENT = 6; (* LEX_IDENT = 3; LEX_CONST_INT = 5; ...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Angus Robertson, Magenta Systems Ltd Description: ICS SSL Json Object Signing (Jose) Demos Creation: Apr 2018 Updated: Apr 2018 Version: 8.54 Support: Use the mailing list ics-ssl@elists.org Legal iss...
unit ConstraintTests; // 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/ // // Software distributed under the License is ...
unit ConfigIntf; interface {$MODE OBJFPC} {$H+} type {------------------------------------------------ interface for any class having capability to get config @author Zamrony P. Juhara <zamronypj@yahoo.com> -----------------------------------------------} IAppConfiguration = interface ...