text
stringlengths
14
6.51M
unit CircularUnitControl; interface uses Math, TypeControl, UnitControl; type TCircularUnit = class (TUnit) private FRadius: Double; protected constructor Create(const id: Int64; const x: Double; const y: Double; const radius: Double); public function GetRadius: Double; p...
unit l3DateTimeBox; { $Id: l3DateTimeBox.pas,v 1.3 2011/11/23 12:23:44 fireton Exp $ } // $Log: l3DateTimeBox.pas,v $ // Revision 1.3 2011/11/23 12:23:44 fireton // - не падаем при неправильной дате, а просто возвращаем нулевую // // Revision 1.2 2011/07/22 12:25:03 fireton // - доработка // // Revision 1.1 2011...
unit BookPushFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Generics.Collections, Vcl.Grids, task_1; type TFrame1 = class(TFrame) LinkLabel1: TLinkLabel; ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clEppServer; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Windows, msxml, ActiveX, {$ELSE} System.Classes, System.SysUtils, Winapi.Windows, Winapi.msxml, Winapi.Active...
unit VoiceHandler; interface uses VoyagerInterfaces, VoyagerServerInterfaces, Classes, Controls, MPlayer, ExtCtrls, StarVoice, VoicePanelViewer; type TVoiceHandler = class( TInterfacedObject, IMetaURLHandler, IURLHandler ) public constructor Create; destructor Destroy; ...
{ Ultibo Bitmap utility unit. Copyright (C) 2016 - SoftOz Pty Ltd. Arch ==== <All> Boards ====== <All> Licence ======= LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt) Credits ======= Information for this unit was obtained from: References ========== uLiftBitmap ======= Func...
unit VehicleUpdateControl; interface uses Math, TypeControl; type TVehicleUpdate = class private FId: Int64; FX: Double; FY: Double; FDurability: LongInt; FRemainingAttackCooldownTicks: LongInt; FSelected: Boolean; FGroups: TLongIntArray; public constructor...
{ zlibar.pas can create and read a file that contains many compressed files Copyright (C) 2005 Andrew Haines This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, ...
unit eInterestSimulator.Controller.Observer.Interfaces; interface uses eInterestSimulator.Model.Interfaces, System.Generics.Collections; type iObserverResultado = interface ['{4FEF09C8-26FE-4921-A04C-98A834D3C5BB}'] function UpdateResultado(Value: Tlist<iResultado>): iObserverResultado; end; iSubjec...
{ Subroutine SST_SET_VAL_CONVERT (VAL,DTYPE,SUCCESS) * * Convert the SET constant value in VAL to the data type defined by the data * type descriptor DTYPE. SUCCESS is set to TRUE if the conversion was * successful. The values in VAL are changed directly. It is an error if * VAL does not contain a SET valu...
// SAX for Pascal, Simple API for XML Buffered Extension Interfaces in Pascal. // Ver 1.1 July 4, 2003 // http://xml.defined.net/SAX (this will change!) // Based on http://www.saxproject.org/ // No warranty; no copyright -- use this as you will. unit BSAXExt; interface uses SAX, BSAX; const {$IFDE...
unit DAO.TabelaDistribuicao; interface uses DAO.Base, Model.TabelasDistribuicao, Generics.Collections, System.Classes; type TTabelaDistribuicaoDAO = class(TDAO) function Insert(aTabela: Model.TabelasDistribuicao.TTabelasDistribuicao): Boolean; function Update(aTabela: Model.TabelasDistribuicao.TTa...
{ 2002.06.13. Fixed: - 'q' can quit now gently even when the application is in fullscreen mode - SRCBUFFERBPP was not really used, the BPP is determined by FourCC... - No more problem with minimizing/maximizing/restoring/resizing when the application is in fullscreen mode - Closing VMAN when the application ...
unit StockDayData_Get_163; interface uses BaseApp, Sysutils, define_price, UtilsHttp, win.iobuffer, define_data_163, define_dealitem, StockDayDataAccess; type PRT_DealDayData_Header163 = ^TRT_DealDayData_Header163; TRT_DealDayData_Header163 = record IsReady ...
//Exercicio 28: Escreva um algoritmo que peça ao operador o nome de usuário e uma senha. Para ter acesso o nome de usuário //deve ser "user" ou "USER" e a senha deve ser "adoroalgoritmos" ou "ADOROALGORITMOS". Após a digitação dos dados, //exibir na tela: "Acesso Permitido!" ou "Acesso Negado!". { Solução em Por...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: This sample program show how to use TNntpCli to write a news enabled application. Creation: December 24, 1997 Version: 6.00 EMail: http://www.overbyte.be francoi...
unit Excel_TLB_Constants; // ************************************************************************ // // NOTE // ------- // This file is created by importing the Excel Type Library and then extracting // the constants section of the TLB.pas file. Other declaraitons are not required. // ***************************...
unit ServiceControllForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,ShellAPI, FMX.Objects, FMX.Layouts,Data.Win.ADODB, OLEDB, ActiveX, ComObj,WinApi.winSvc,ServiceControll, Winapi....
{ File: UnicodeUtilities.p Contains: Types, constants, prototypes for Unicode Utilities (Unicode input and text utils) Version: Technology: Mac OS 9.0 Release: Universal Interfaces 3.4.2 Copyright: © 1997-2002 by Apple Computer, Inc., all rights reserved. ...
{ Subroutine SST_INIT (SYMBOL_LEN,PARENT_MEM) * * Init the translator data structures. This must be the first SST call in an * application. SYMBOL_LEN is the maximum length of any symbol. This is used * to configure the hash tables. PARENT_MEM is the memory context under which * a new memory context will ...
unit DragDrop; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Classes, Windows, Messages, ShellAPI; // Drag&Drop Target ----------------------------------------------------------------- type TFileDroppedEvent = procedure( Sender : TObject; const DropPoint : TPoint; const FileN...
unit TerritoryActionsUnit; interface uses SysUtils, BaseActionUnit, TerritoryUnit, NullableBasicTypesUnit, TerritoryContourUnit; type TTerritoryActions = class(TBaseAction) public /// <summary> /// Create a new territory /// </summary> function Add(Name: String; Color: String; Contour: TTerr...
unit MoveControl; interface uses Math, TypeControl, ActionTypeControl, VehicleTypeControl; type TMove = class private FAction: TActionType; FGroup: LongInt; FLeft: Double; FTop: Double; FRight: Double; FBottom: Double; FX: Double; FY: Double; FAngle: Double...
unit IngDoc; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, ComCtrls, ExtCtrls, Db, DBTables, DBActns, ActnList, Menus, ImgList, ToolWin, DateUtils, StdCtrls, Wwdbigrd, Wwdbgrid, JvMemTable; type TFIngDoc = class(TForm) ToolBar1: TToolBar; M...
unit QueryCardInterfaces; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Search\QueryCardInterfaces.pas" // Стереотип: "ControllerInterfaces" // Элемент модели: "QueryCardInterfaces" MUID: (4AA5503000D7) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin)} uses l3I...
{ $Project$ $Workfile$ $Revision: 1.3 $ $DateUTC$ $Id: IdHMAC.pas,v 1.3 2015/06/16 12:31:45 lukyanets Exp $ 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-2...
unit kwPopEditorWheelScroll; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorWheelScroll.pas" // Родные Delphi интерфейсы (.pas) // Generated from...
unit TTSNMSRTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSNMSRRecord = record PLenderNum: String[4]; PCifFlag: String[1]; PLoanNum: String[20]; PEntryNum: String[1]; PSearchKey: String[15]; PBranch: String[8]; PNameA: String[4...
unit crt_acad; interface function achou(a:integer):integer; function achounome(a:string):integer; procedure Abrir; procedure Cadastro; procedure Alterar; procedure Excluir; procedure Pesquisa_nome; procedure Pesquisa_cod; procedure Relatorio; implementation Type academia=record cod, idade:integer; nome, status,...
{ This file is part of the Free Pascal run time library. A file in Amiga system run time library. Copyright (c) 1998-2003 by Nils Sjoholm member of the Amiga RTL development team. See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is dis...
unit ScanImageForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DelphiTwain, DelphiTwain_Vcl, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Mask, DBCtrlsEh, Vcl.ExtDlgs, PropFilerEh, PropStorageEh; type TScanImageForm = class(TForm) PnlTop: TPanel; ImgHolde...
{$I ACBr.inc} unit ASCIOT; interface uses Classes, Sysutils, {$IFDEF VisualCLX} QDialogs, {$ELSE} Dialogs, {$ENDIF} Forms, smtpsend, ssl_openssl, mimemess, mimepart, // units para enviar email pciotCIOT, pcnConversao, ACBrUtil, ACBrDFeUtil, ASCIOTUtil, ASCIOTConfiguracoes, ASCIOTWebSer...
{$include lem_directives.inc} unit GameInterfaces; {------------------------------------------------------------------------------- Unit with shared interfaces between game and it's controls -------------------------------------------------------------------------------} interface uses GR32, LemCo...
unit IRCCommands; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TIRCCommand } TAlias = array[0..1] of string; TIRCCommand = class private function FormatCommand(const Raw: string): string; function GetCommandFromInput(const RawInput: string): string; functi...
Program syntx_analizator; const lenghtString = 255; var source : string; operations, letters, digits : set of char; identificators : array[1..15] of string; function CheckBrackets(source : string) : boolean; var cOpened, cClosed : integer; i : integer; begin cOpened := 0; cClosed := 0; for i :=...
unit VLEUtil; interface uses // VCL Windows, SysUtils, Graphics, ValEdit, Grids, Classes; procedure VLE_SETPickPropertyValue(AVLE: TValueListEditor; AName: string; AValue: Integer); function VLE_GetPickPropertyValue(AVLE: TValueListEditor; AName: string): Integer; function VLE_GetPropertyValue(AVLE: TValueListEd...
unit udmLocaisRetirada; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmLocaisRetirada = class(TdmPadrao) qryManutencaoCGC: TStringField; qryManutencaoCODIGO: TStringField; qryManutencaoEN...
{@html(<hr>) @abstract(Telemetry recipient class (API control and data receiver).) @author(František Milt <fmilt@seznam.cz>) @created(2013-10-07) @lastmod(2014-05-04) @bold(@NoAutoLink(TelemetryRecipient)) ©František Milt, all rights reserved. This unit contains TTelemetryRecipient class used to control the te...
namespace Sugar.Test; interface uses Sugar, Sugar.IO, RemObjects.Elements.EUnit; type FileTest = public class (Test) private Dir: Folder; Data: File; public method Setup; override; method TearDown; override; method TestCopy; method Delete; method Move; method Rename; ...
unit TTSPasswordTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSPasswordRecord = record PUserName: String[10]; PPassword: String[50]; PCreated: TDateTime; PInvalidAttempts: Integer; PLastLoginAttempt: TDateTime; PModifiedBy: String[1...
unit UUsuario; interface type //classe sem heranca, sempre herda de TObject TUsuario = class private FAtivo: String; FID: Integer; FPorcDesc: Real; FNome: String; FPorcDescB: Real; FPassword: String; procedure SetAtivo(const Value: String); procedure SetID(const Value: Integer); ...
unit IrcConversationD; interface uses irc_abstract, systemx, typex, stringx, betterobject, classes, irc_monitor, dirfile, sysutils; type TIRCConversationDaemon = class(TSharedObject) private procedure DoSendHelpHEader; protected conversation: Iholder<TIRCConversation>; irc: TIRCMultiUserClient; ...
unit DownloadObj; interface type TDownload=class private FUrl: string; FTimeOut: integer; FName: string; FExtension: string; FDirectory: string; published property url: string read FUrl write FUrl; property timeOut: integer read FTimeOut write FTimeOut; property name: string read F...
unit INFOINFOTAGTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TINFOINFOTAGRecord = record PAutoInc: Integer; PRecordAutoinc: Integer; PRecordNumber: String[6]; PSeperatedby: String[10]; PGroupby: String[10]; PSortby: String[60]; End...
unit kwHistoryDeleteBackItem; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwHistoryDeleteBackItem.pas" // Начат: 28.09.2011 11:37 //...
unit CleanArch_EmbrConf.Infra.Repository.SQL; interface uses CleanArch_EmbrConf.Core.Repository.Interfaces, CleanArch_EmbrConf.Core.Entity.Interfaces, System.JSON, CleanArch_EmbrConf.Infra.Database.Interfaces, CleanArch_EmbrConf.Infra.Database.Impl.Database, CleanArch_EmbrConf.Adapter.Impl.ParkingLotAdapter...
unit TurnOnTimeMachine_Form; //////////////////////////////////////////////////////////////////////////////// // Библиотека : Проект Немезис. // Назначение : Диалог включения машины времени. // Версия : $Id: TurnOnTimeMachine_Form.pas,v 1.7 2013/05/15 14:31:45 morozov Exp $ ////////////////////////////////////////...
{ CSI 1101-X, Winter 1999 } { Mark Sattolo, student# 428500 } { tutorial group DGD-4, t.a. = Jensen Boire } program testing (input,output) ; uses Ptr_fxns ; label 310 ; { variable for the main program - NOT to be referenced anywhere else } var YESorNO: char ; procedure test ; var L: list ; Val: element ; S...
unit MFichas.Model.Conexao.SQL; interface uses System.SysUtils, System.Classes, System.IOUtils, 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.SQLite, FireD...
unit ffsException; interface uses sysutils, controls; type // general exception to determine the original source of an eception EffsException = class(Exception); EffsValidate = class(EffsException); EffsRequiredData = class(EffsValidate) public constructor createDefault; end; EffsVa...
unit Base.System.Json.Helper; interface Uses System.Classes, System.SysUtils, System.Rtti, System.TypInfo, System.Json; type TJsonRecord<T:Record> = class public class function ToJson(O: T): string; class procedure FromJson(O:T;AJson:string); end; implementation class procedure TJso...
unit Tutorial; interface uses SysUtils, Tasks, BackupInterfaces, CacheAgent; const tidTask_Tutorial = 'Tutorial'; tidTask_TutorialWelcome = 'Welcome'; tidTask_WhoYouAre = 'WhoYouAre'; tidTask_YourProfile = 'YourProfile'; tidTask_TheSpider = ...
unit atFileInitializer; // Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atFileInitializer.pas" // Стереотип: "SimpleClass" // Элемент модели: "TatFileInitializer" MUID: (50294907000B) interface uses l3IntfUses , Windows , Classes ; type TatFileInitializer = class(TObject) private f_GuardFile: ...
{ $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 uBar; interface uses Graphics; type TBar = class(TObject) private FB, FBar, FBarBG: TBitmap; FG: array[0..3] of TBitmap; FNeedRender: Boolean; procedure SetNeedRender(const Value: Boolean); public property NeedRender: Boolean read FNeedRender write SetNeedRender; pro...
unit GX_eFindDelimiter; {$I GX_CondDefine.inc} interface uses Classes, ToolsAPI, GX_EditorExpert; type TSourceLanguage = (ltPas, ltCpp); type TBaseDelimiterExpert = class(TEditorExpert) private LastActionBackward: Boolean; ThreeDelimiters: Boolean; public procedure DoDelimit...
unit evSavedCursor; {* Объект для сохранения курсора. } // Модуль: "w:\common\components\gui\Garant\Everest\evSavedCursor.pas" // Стереотип: "UtilityPack" // Элемент модели: "evSavedCursor" MUID: (47E3E20C02D1) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface {$If Defined(evUseVisibleCurso...
unit UInstagramDemo; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSCloudBase, FMX.TMSCloudInstagram, FMX.StdCtrls, FMX.Objects, FMX.Layouts, FMX.ListBox, FMX.TMSCloudImage, FMX.ListView.Types, FMX.ListView...
unit fmIOCPSvrInfo; interface {$I in_iocp.inc} // 模式设置 uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Grids, iocp_server; type TFrameIOCPSvrInfo = class(TFrame) lbl1: TLabel; lblStartTime: TLabel; lblCliPool: TLabel; lblCli...
unit UnitData; {*------------------------------------------------------------------------------ @author 侯叶飞 @version 2020/01/29 1.0 Initial revision. @comment 存储图形数据的结构 每一种图形有4个方格组成 数组(长度应该是4) 你可以自己定义数组,也可以使用系统(Delphi)自带的 array 0...3 of TPoint TArray<T> array of T 使用TList<T>...
unit ce_inspectors; {$I ce_defines.inc} interface uses Classes, SysUtils, Dialogs, PropEdits; type TCEPathname = type string; TCEFilename = type string; TCustomPathType = (ptFile, ptFolder); // base class for a property representing a path // additionaly to the text field, a dialog can be opened //...
unit dcComboBox; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, dbctrls, datacontroller,db, lucombo, lmdcombobox; type TOpMode = (opString, opInt); TdcComboBox = class(TlmdComboBox) private Fclearing: boolean; FOpMode: TOpMode; ...
unit uDV_Stavy; interface uses Data.Win.ADODB, System.Classes, uMainDataSet; type TDV_Stavy = class private class function GetId: string; static; class function GetStav: string; static; class function GetIkona: string; static; public class function CreateDV_Stavy(AOwner: TComponent): TMainDat...
unit TThrobber; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls; type { TTThrobber } TTThrobber = class(TImage) private ftimer:ttimer; factive:boolean; fframes, findex, finterval:integer; fpath, fimage, fext:str...
unit ComponentsProcessingPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\ComponentsProcessingPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "ComponentsProcessingPack" MUID: (54F452710048) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(...
unit TextViaEditorProcessor; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "TestFormsTest" // Модуль: "w:/common/components/gui/Garant/Daily/TextViaEditorProcessor.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML m...
unit gtk3mybutton; {$mode objfpc}{$H+} interface uses Classes, SysUtils, GLib2, GObject2, Gtk3; type { TMyButton } TObjectProcedure = procedure of object; PMyButton = ^TMyButton; TMyButton = object(TGtkButton) private FOnClicked: TObjectProcedure; saved_caption: String; function OnTimer...
{*************************************************************** * Unit Name: GX_InsertAutoTodoExpert * Purpose : Inserts to do comments for empty code blocks * Authors : Peter Laman, Thomas Mueller ****************************************************************} unit GX_InsertAutoTodo; {$I GX_CondDefi...
unit kwPopEditorDP2LP; {* *Формат:* X Y anEditorControl pop:editor:DP2LP *Описание:* Переводи значения точки из долей дюйма в пиксели. *Пример:* [code] 100 100 focused:control:push pop:editor:DP2LP [code] } // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwPopEditorDP2LP.pas" // Стереотип: "ScriptKeyword" ...
unit d_BatchDelAttr; { $Id: d_BatchDelAttr.pas,v 1.5 2012/02/17 09:32:44 kostitsin Exp $ } // $Log: d_BatchDelAttr.pas,v $ // Revision 1.5 2012/02/17 09:32:44 kostitsin // Переименовываем NumOfSelect в SelectedCount // // Revision 1.4 2010/09/24 12:15:44 voba // - k : 235046326 // // Revision 1.3 2009/02/03 07:3...
unit HelpUtil; { Isolates platform-specific help access for Lazarus LCL. Assumes Application.HelpFile is set. Create THelpUtilManager object in main form's FormCreate handler and call its Free method in main form's FormDestroy handler. Display help topic by calling Application.HelpContext. Author...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TForm1 = class(TForm) tmr1: TTimer; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; //Timer ...
unit RDOLogAgents; interface uses RDOInterfaces; type TLogAgentRec = record Id : string; Agent : IRDOLogAgent; end; PLogAgentArray = ^TLogAgentArray; TLogAgentArray = array[0..0] of TLogAgentRec; type TRDOLogAgentRegistry = class(TInterfacedObject, IRD...
unit PerspectiveCorrect; interface uses System.Math, SimpleSVD, GR32, GR32_Transforms, GR32_Math, GR32_Blend; type TMyProjectiveTransformation = class(T3x3Transformation) private FDestHeight: TFloat; FDestWidth: TFloat; FQuadX: array [0..3] of TFloat; FQuadY: array [0..3] of TFloat; ...
unit Hlavicka; (* Trida THlavicka *) interface uses Graphics, SysUtils, MyUtils; type THlavicka = class private FDruzstvo,FObdobi,FDatum,FMikrocyklus,FZamereniTreninku:String; public property Druzstvo:String read FDruzstvo write FDruzstvo; property Obdobi:String read FObdobi write FObdo...
unit FliPlay; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, SysUtils, Classes, ChunkStream, AnimPlay, Flics, FliPlayback, Dibs; type EFlicInvalid = Exception; type TFliStream = class( TChunkStream ) procedure LoadFrameHeader; ...
unit cCadFuncaoPessoa; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TFuncaoPessoa = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_func_pessoa: Integer; F_cod_fun...
unit GX_IdeProjectOptionsEnhancer; {$I GX_CondDefine.inc} interface uses SysUtils; type TGxIdeProjectOptionsEnhancer = class public class function GetEnabled: Boolean; // static; class procedure SetEnabled(const Value: Boolean); //static; end; implementation uses Classes, M...
//Exercicio 42: Prepare um algoritmo que determine o valor de S, em que: // S = 1/1 - 2/4 + 3/9 - 4/16 + 5/25 - 6/36 ... - 10/100 { Solução em Portugol Algoritmo Exercicio 42; Var S: real; contador,alternador_sinal: inteiro; Inicio exiba("Programa que calcula uma soma maluca."); S <- 0; a...
unit Androidapi.JNI.Toast; interface {$IF RTLVersion < 30} uses Androidapi.JNIBridge, Androidapi.JNI.JavaTypes, Androidapi.JNI.GraphicsContentViewText; {$ENDIF} //Java bridge class imported by hand by Brian Long (http://blong.com) type {$IF RTLVersion < 30} JToast = interface; JToastClass = interface(JOb...
unit ce_dcd; {$I ce_defines.inc} interface uses Classes, SysUtils, process, forms, strutils, {$IFDEF WINDOWS} windows, {$ENDIF} ce_common, ce_writableComponent, ce_interfaces, ce_observer, ce_synmemo, ce_project; type (** * Wrap the dcd-server and dcd-client processes. * * Projects folders are ...
unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, System.Actions, Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnMan, Vcl.ToolWin, Vcl.ActnCtrls, System.ImageList, ...
unit GX_EditorExpertManager; {$I GX_CondDefine.inc} interface uses Classes, Contnrs, GX_GenericClasses, GX_EditorExpert; type TGxEditorExpertManager = class(TObject) private FEditorExpertList: TObjectList; function GetEditorExpert(const Index: Integer): TEditorExpert; function GetEdi...
unit ULiveCalendarDemo; interface uses FMX.TMSCloudBase, FMX.TMSCloudLiveCalendar, FMX.Controls, SysUtils, DateUtils, FMX.StdCtrls, FMX.ListBox, FMX.Edit, FMX.Grid, FMX.Layouts, FMX.Dialogs, UITypes, FMX.TMSCloudListView, FMX.ExtCtrls, FMX.Objects, System.Classes, FMX.Types, FMX.Forms, FMX.TMSCloudBaseFMX, FM...
unit romannumclock; {$mode objfpc}{$H+} interface uses Classes, SysUtils, OpenVG, {Include the OpenVG unit so we can use the various types and structures} VGShapes, {Include the VGShapes unit to give us access to all the functions} VC4; var Fontsize:Integer; Width:Integer; {A f...
unit Affixes; interface uses // Delphi units SysUtils, Classes, IniFiles, // own units uVars, UConfig; type {TODO: Add page for editing Affixes in HODBE} {DONE: Kill AdvItem, replace its job to AffixConfig} NAffixParam = (apID, apType, apName0, apName1, apName2, apName3, apBonus0, apBon...
unit daemonmapper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, DaemonApp; type { TDaemonMapper1 } TDaemonMapper1 = class(TDaemonMapper) private { private declarations } public { public declarations } constructor Create(AOwner: TComponent); override; procedure ToDoOnIn...
unit MdiChilds.SplitDocByChapters; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls, MDIChilds.ProgressForm, GsDocument, ActionHandler...
//////////////////////////////////////////////////////////////////////////////// // MTBD2XXUnit.pas // MTB communication library // Interface to FTDI library // (c) Petr Travnik (petr.travnik@kmz-brno.cz), // Jan Horacek (jan.horacek@kmz-brno.cz), // Michal Petrilak (engineercz@gmail.com) /////////////////...
unit Service.Campanha; interface uses System.SysUtils, System.Classes, Service.Module, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client,System...
unit MainForm; interface {$DEFINE DEMO_MODE} uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, Spin, ExtCtrls, Grids, uBehaviorInterfaces, uProjectData, uDataDisplay; type TfrmTeamCityMonitor = class(TForm) pnlTop: TPanel; edUrl: TEdit; ...
unit DW.VOIP; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } { ...
program Ch1; {$mode objfpc} var I:Integer; function IsPrime(N:Integer):Boolean; var I:Integer; begin if(N <= 1) then Exit(False); for I := 2 to Trunc(Sqrt(N)) do if(N mod I = 0) then Exit(False); Result := True; end; function ReverseNum(N:Integer):Integer; begin Result := 0; while(N <> ...
unit Control.Lancamentos; interface uses Model.Lancamentos, System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum; type TLancamentosControl = class private FLancamentos: TLancamentos; public constructor Create; destructor Destroy; override; function Gravar: Boolean; functio...
unit MFichas.Model.Produto.Metodos.Buscar; interface uses System.SysUtils, MFichas.Model.Produto.Interfaces, MFichas.Controller.Types, ORMBR.Container.DataSet.Interfaces, ORMBR.Container.DataSet, ORMBR.DataSet.ClientDataSet, FireDAC.Comp.Client, FireDAC.Comp.DataSet; type TModelProdutoMetodosBu...
unit m3StorageHolder; // Модуль: "w:\common\components\rtl\Garant\m3\m3StorageHolder.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tm3StorageHolder" MUID: (542E5D79018F) {$Include w:\common\components\rtl\Garant\m3\m3Define.inc} interface uses l3IntfUses , l3CProtoObject , m3StorageInterfaces , m3CommonS...
unit DamMsgEdit; interface uses {$IFDEF FPC} Forms, Buttons, StdCtrls, ExtCtrls, ColorBox, Controls, {$ELSE} Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Controls, Vcl.Buttons, System.Classes, {$ENDIF} // DamUnit, Vcl.DzHTMLText; type TFrmDamMsgEdit = class(TForm) BtnOK: TBitBtn; B...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit ce_miniexplorer; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, ListFilterEdit, Forms, Controls, Graphics, ExtCtrls, Menus, ComCtrls, Buttons, lcltype, strutils, ce_widget, ce_common, ce_interfaces, ce_observer, ce_writableComponent; type TCEMiniExplorerOptions = class(TWritableLfmTex...
unit uAddFieldAggregate; interface uses DBClient, SysUtils; Type TypeFieldAggregateERROR = class(Exception); TFieldAggregateRetorne = (ftSomar,ftMaxima,ftContar,FtMedia); TAddFieldAggregate = class class procedure Execute(ClientDataSet:TClientDataSet; Const cFieldAggregado, cFieldName:String;...