text
stringlengths
14
6.51M
unit TextEditor.RegisterProperty; interface procedure Register; implementation uses DesignIntf, DesignEditors, VCLEditors, StrEdit, System.Classes, System.SysUtils, Vcl.Controls, TextEditor.MacroRecorder; { Register } procedure Register; begin RegisterPropertyEditor(TypeInfo(Char), nil, '', TCharProperty); ...
unit ObjetoPagSeguro; interface uses MVCFramework.Serializer.Commons, ModelBase; type [MVCNameCase(ncLowerCase)] TObjetoPagSeguro = class(TModelBase) private FCodigoTransacao: string; FStatusTransacao: string; FCodigoStatusTransacao: string; FEmailCliente: string; FMetodoPagamento: strin...
{ *************************************************************************** } { } { NLDNetAPI - www.nldelphi.com Open Source Delphi runtime library } { } ...
unit Vector3bTimingTest; {$mode objfpc}{$H+} {$CODEALIGN LOCALMIN=16} interface uses Classes, SysUtils, fpcunit, testregistry, BaseTimingTest, BaseTestCase, native, BZVectorMath, BZProfiler; type TVector3bTimingTest = class(TVectorBaseTimingTest) protected {$CODEALIGN RECORDMIN=4} nbt1, n...
unit Reabout; interface uses Windows, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, SysUtils, jpeg; type TAboutBox = class(TForm) OKButton: TButton; ProgramIcon: TImage; Label1: TLabel; Bevel1: TBevel; Label2: TLabel; Label3: TLabel; PhysMem: TLabel; ...
{ ****************************************************************************** } { * geometry 2D library writen by QQ 600585@qq.com * } { * https://github.com/PassByYou888/CoreCipher * } { * https://github.com/PassByYou888/ZServer4D ...
unit PrintRec; { ================================================================= WinEDR - Printer page/font setup form for printing signal records 2/5/97 ... Calibration bar values only shown for enabled channels 26/6/98 ... Text boxes updates now grouped together in UpdateSettings 30/8/99 ... Display object ...
Program gaussian_elimination; type matrix = array[1..256,1..256] of real; vector = array[1..256] of real; var //our main matrix main_matrix: matrix; //arrays of solutions (aproximate ones and improved) aprox_solution, solution: vector; //precision of a solution epsilon: real; //amount of equesions in our lin...
unit clPessoaFisica; interface uses System.StrUtils, System.SysUtils; type TPessoaFisica = class(Tobject) private FNome: String; FNascimento: TDate; FPai: String; FMae: String; FCPF: String; FRG: String; FExpedidor: String; FUFRG: String; FDataRG: TDate; FNaturalidade: Str...
unit xe_STTA5; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, MSXML2_TLB, DateUtils, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, Vcl.ComCtrls, dxCore, cxDateUtils, cxStyles, cxCustomData, cxFilter, cxData, c...
unit GP4Tests; interface uses TestFramework, uGPFileParser; type // Test methods for unit Geo.pas TGP4UnitTest = class(TTestCase) private GP : TGPFileParser; public procedure SetUp; override; procedure TearDown; override; published procedure GetVersionTest; procedure GetTitleTest...
unit uSetup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, cxButtons, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinCaramel, dxSkinCoffee, ...
unit GameBase; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TGameBase=class(TObject) private fOnWin: TNotifyEvent; fticking: boolean; public function isKeyDown(key:dword): boolean; procedure gametick(currentTime: qword; diff: integer); virtual; procedure re...
unit CodeGenerationForm; { Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 mu...
unit TestMongoStream; { 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, Classes, MongoStream, Mong...
unit UBrowseFTP; interface uses Classes, IdFTP, IdFTPList; type TBrowseFTP = class private FStartDir: string; FSkipFolders: TStringList; FExtensions: TStringList; protected function CreateIdFTP: TIdFTP; public constructor Create; virtual; destructor Destroy; override; function ...
unit UFavoritePage; interface uses UPageSuper, USysPageHandler, UTypeDef, UxlClasses, UxlExtClasses, UxlList, UPageProperty; type TFavoritePage = class (TPageContainer) protected public function IsVirtualContainer (): boolean; override; class function PageType (): TPageType; override; ...
Program tiff_save; Uses crt; Const tag_imagewidth: Word = $0100; tag_imagelength: Word = $0101; tag_samplesperpixel: Word = $0115; tag_bitspersample: Word = $0102; tag_minsamplevalue: Word = $0118; tag_maxsamplevalue: Word = $0119; tag_photometricinterpretation: Word = $0106; t...
unit View.CadastroProdutoVA; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, ...
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved. // // 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.apache.org/licenses/LICENSE-2.0 // // Unle...
PROCEDURE max(x, y); BEGIN max := x; IF y > x THEN max := y; END; BEGIN WRITELN(max(5, 12)); WRITELN(max(13, 7)); END; .
unit SQLTableProperties; interface uses SysUtils, Classes, rtcLog, DB, variants, System.Generics.Collections, System.Contnrs; type TSQLTableProperties = class(TObject) private FTableName: String; FGenId: String; FFieldNameList: TStringList; FKeyFieldsList: TStringList; FInsertExclude...
unit dmcorredores; {$mode objfpc}{$H+} interface uses Classes, SysUtils, db, FileUtil, rxmemds, ZDataset ,dmgeneral; type { TDM_Corredores } TDM_Corredores = class(TDataModule) Corredores: TRxMemoryData; CorredoresbInvitado: TLongintField; CorredoresbListaEspera: TLongintField; Corredoresb...
{$INCLUDE switches} unit NoTerm; interface uses ScreenTools,Protocol,Messg, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonBase, ButtonB; type TNoTermDlg = class(TDrawDlg) QuitBtn: TButtonB; GoBtn: TButtonB; procedure GoBtnClick(Sender: TObject); pro...
(* * Copyright (c) 2009, Ciobanu Alexandru * 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 o...
{AUTEUR : FRANCKY23012301 - 2008 ------- Gratuit pour une utilisation non commerciale} unit TrackTime; interface uses Windows, Messages, SysUtils, Classes, Controls, Graphics, ExtCtrls, Menus, Dialogs; type TDuringOfTime = (WholeNote, HalfNote, QuarterNote, Quavers, SixteenthNote, DemSemiQuavers); ...
unit angSnippet; {$mode objfpc}{$H+} interface uses Classes, SysUtils, angPkz, inifiles, strutils; type TAngComponenttype = (AngComponentService, AngComponentfunction, AngComponentfilter, AngComponentDirective, AngComponentproperty); TAngComponent = class public sTag: string; sDescription: stri...
unit ImageData; interface uses SysUtils, Classes, ImgList, Controls, Graphics, Buttons; const clStdColor = $00E8E8E8; clReadOnlyColor = $00E8D8C8; clRedColor = $00F0A0FF; //Картинки 32x16 mbPrev = 0; mbNext = 1; mbCancel = 2; mbFilter = 3; mbToolFilter = 4;...
{*******************************************************} { } { TFacturaElectronica } { } { Copyright (C) 2017 Bambu Code SA de CV } { ...
{$include kode.inc} unit kode_osc_sinc; // can't get this to work.. // spectrum doesn't look bad // but just a pulse output? { Bandlimited waveforms... paul kellet http://musicdsp.org/showArchiveComment.php?ArchiveID=12 Below is another waveform generation method based on a train of sinc functions (actuall...
unit UMyCloudRemoveNotifyInfo; interface uses classes, UModelUtil, Generics.Collections, UChangeInfo, xmldom, XMLIntf, msxmldom, XMLDoc, UXmlUtil; type {$Region ' Pc 备份源文件删除 内存信息 ' } {$Region ' 数据结构 ' } // 删除的备份路径信息 TRemoveCloudPathInfo = class public FullPath : string; public constructor Crea...
program caracteres; var c, d: char; a: integer; BEGIN c := 'F'; a := ord(c); writeln('Le code ascii de ', c, ' est ', a); a := 122; c := chr(a); writeln('Le caractere de code ascii ', a, ' est ', c); c := 'j'; d := succ(c); writeln('Le caractere suivant ', c, ' est ', d); END.
unit TextEditor.Scroll.Hint; interface uses System.Classes, Vcl.Graphics, TextEditor.Types; type TTextEditorScrollHint = class(TPersistent) strict private FFormat: TTextEditorScrollHintFormat; public constructor Create; procedure Assign(ASource: TPersistent); override; published property F...
{******************************************************************************* * * * PentireFMX * * ...
unit DataSetCls; interface uses DB, DBClient; type IDataSet = interface ['{B236634F-D317-403C-AEC4-558282164480}'] function Next: Boolean; function RecordCount: Integer; function Fields: TFields; function FieldByName(const FieldName: string): TField; function Where(AsFilter: string): IDa...
unit TelaMovimentacaoCaixa_p; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, FMTBcd, DB, Provider, DBClient, SqlExpr, DBCtrls, Grids, DBGrids, Mask, JvExButtons, JvBitBtn; type TTelaMovimentacaoCaixa = class(TForm) PanelBoto...
unit Process; interface uses Windows, Classes, SysUtils, Generics.Defaults, Generics.Collections; type TProcessInfo = TPair<Cardinal, String>; TProcessList = TList<TProcessInfo>; function ListProcessWindows: TProcessList; function ReadProcessByte(Id: Cardinal; Addr: Pointer): Byte; function ReadProc...
unit Common; interface var AppDir: string; AppTerminating: Boolean = False; type TCodeSet = set of Char; const EncodeURLSet: TCodeSet = ['a'..'z','A'..'Z','0'..'9','_','@','.']; EncodeIniSet: TCodeSet = ['/',' ',',','''','"','a'..'z','A'..'Z','0'..'9','-','_','@','.']; function PwToStr(PW:...
namespace Sugar.Test; interface uses Sugar, Sugar.Cryptography, Sugar.TestFramework; type MessageDigestTest = public class (Testcase) private method AreEquals(Expected, Actual: array of Byte); public method ComputeHash; method Updatable; method Algorithms; method ToHexString; end; ...
unit mikko_consts_rus; interface resourcestring msg_ErrorNewNum = 'Unsuccessful attempt to generate a unique code'; msg_ErrorLockParoll = 'This user is already running!'; msg_InvalidPassword = 'Invalid password!'; msg_InvalidUsername = 'Invalid username!'; msg_nullid = 'Неверный уникальный код'...
(*********************************************************************** Unit: DPMI.PAS Implementation of some DPMI-functions to Delphi J. Rathlev, Uni-Kiel, Apr. 1998 The following functions are implemeted: - hook a protected mode call back into real mode interrupt - remove hooked interrupt - sim...
var a:array[1..50] of longint; n,i,j,s1,s2:longint; x:extended; function gcd(a,b:longint):longint; begin if b=0 then exit(a); exit(gcd(b,a mod b)); end; begin while true do begin readln(n); if n=0 then break; for i:=1 to n do readln(a[i]); s1:=n*(n-1) shr 1; s2:=0; fo...
unit Adapter; interface uses SysUtils, Classes; type { The new class } TNewCustomer = class private FCustomerID: Longint; FFirstName: string; FLastName: string; FDOB: TDateTime; protected function GetCustomerID: Longint; virtual; function GetFirstName: string; virtual; function G...
{#Author fmarakasov@ugtu.net} unit UIActions; interface uses SysUtils, Classes, DBClientActns, DBActns, BandActn, ExtActns, StdActns, ListActns, ActnList, ImgList, Controls; const TREEVIEW_CATEGORY = 'Дерево объектов'; PLAN_CATEGORY = 'Дерево объектов'; type TUIActionsModule = class(TDataModule) Ma...
(* xEdit API declarations to be used for editing scripts using Delphi. With this file you can now edit xEdit scripts using Delphi. This gives you full IDE benefits like checking for warnings and errors before executing your script, as well as intellisense and code insights. For example purposes in this docum...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Eventos para a Folha de Pagamento The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
unit UFormSelectLocalSource; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, siComp, UMainForm; type TfrmSelectLocalBackupSource = class(TForm) Panel2: TPanel; LvBackupItem: TListView; Panel1: TPanel; btnOK: TButto...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Unit2, Unit3; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; Button5: TButton; Button6: TButton; Button7...
unit uNoCaseFactorySolution; interface uses uSmartPhone , Spring.Collections ; type TSmartPhoneFunction = reference to function: TBaseSmartPhone; TSmartPhoneFactory = class private class var FDictionary: IDictionary<TSmartPhoneType, TSmartPhoneFunction>; public class constructor Creat...
unit uServerDM; interface uses IdContext, IdTCPStream, SyncObjs, SysUtils, IdTCPConnection, Generics.Collections, uClientDM, IdTCPServer, IdGlobal, IdSocketHandle, Classes, uRequestDM, uHandlerStationR414DM, uHandlerStationR415DM, uHandlerCrossDM, uStationR414DM, ...
unit WMSMaskDefs; interface uses TeraWMSToolsDefs, DelphiDabblerSnippets, ShareTools, TeraWMSTools, Console, capabilities_1_1_1, IdTCPServer, IdCustomHTTPServer, IdHTTPServer, IniFiles, SysUtils, Math, Classes, ActiveX, Graphics, Types; type TMaskStyles = (ms_Default, ms_Mapa, ms_Border, ms_Mirror); TViewPort ...
// Main.pas (Part of NoDaveDemo.lpr) // // A program demonstrating the functionality of the TNoDave component. // This unit implements the mainform of the application. // // (C) 2005 Gebr. Schmid GmbH + Co., Freudenstadt, Germany // // Author: Axel Kinting (akinting@schmid-online.de) // // This program is free software...
unit uAulaDAO; interface uses uDAO, uAula, FireDac.comp.client, system.sysUtils, system.generics.collections, Vcl.ExtCtrls, Vcl.StdCtrls, uAluno, uCurso, uSalaDAO, uSala, system.UITypes, Vcl.Graphics; type TAulaDAO = class(TConectDAO) private FLista: TObjectList<TAula>; procedure Crialista(Ds: TFDQue...
// GLSound {: Revolution<p> Base classes and interface for GLScene Sound System<p> <b>Historique : </b><font size=-1><ul> <li>13/01/01 - Egg - Added CPUUsagePercent <li>09/06/00 - Egg - Various enhancements <li>04/06/00 - Egg - Creation </ul></font> } unit GLSound; interface uses W...
unit MainF; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, Sound, MMSystem, ExtCtrls, Menus, ImgList; type TMainForm = class(TForm) LeftTrackBar: TTrackBar; LeftHeadingLabel: TLabel; SetVolumeButton: TButton; RightTrackBar:...
program AlgLista1Ex5; (* Exercício 5 da Lista 1 de Algoritmos. *) var a, b, c, d: integer; (* Variáveis inteiras para indicar numeradores e denominadores de frações. *) begin (* Começo do processo. *) writeln('Este algoritmo irá fornecer a soma e o produto equivalente de duas frações fornecidas por você.'); (* Apres...
program ProgramName (FileList); type StatusType = (X, O, Blank); BoardType = array[1..3,1..3] of StatusType; node = record board : BoardType; a, x, y : integer; end; pointStruct = record x,y : integer; end; var startBoard : BoardType; children : array [1..9] of nod...
unit ThemePoster; interface uses DBGate, BaseObjects, PersistentObjects, DB, Employee, SysUtils; type // для тем TThemeDataPoster = class(TImplementedDataPoster) private FAllEmployees: TEmployees; procedure SetAllEmployees(const Value: TEmployees); public property AllEmployees: TEmployees read FA...
// 21/06/2001 Use 'sysutils' version info instead of calling GetVersionInfoEx unit cmpNTAboutBox; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, cmpHyperlinkButton, ComCtrls; type TfmNTAboutBox = class(TForm) PageControl1: TPageControl; Ta...
unit RRManagerObjectVersionCreationForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FramesWizard, RRManagerBaseGUI, RRManagerWaitForArchiveFrame; type TfrmVersionInfo = class(TCommonForm) DialogFrame1: TDialogFrame; private FOnAfterFinishClick: ...
unit TestMongoPool; { 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, MongoDB, MongoPool, TestMong...
unit uGnSingleton; interface uses SysUtils, Generics.Collections, uGnStrConst; type EGnSingletonException = class(Exception); TGnSingleton = class(TObject) strict private FRefCounter: Integer; strict protected procedure CreateSingleton; virtual; procedure DestroySingleton; virtual; public ...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit ext; interface uses Windows, Sysutils; function IsNT(var Value: Boolean): Boolean; function GetFileSizeByName(FileName: String): Integer; function WhenWinStartUp: String; function HowManyWinStartUp: String; function ExtractBaseName(fullpath: String): String; implementation function IsNT(var V...
unit unit_Expressions; {$mode delphi} interface uses Classes, unit_pas2c64_types; type TExpressionOperator = ( eoNeg, eoNot, eoMul, eoDiv, eoSub, eoAdd, eoIntDiv, eoIntMod, eoAnd, eoOr, eoXor, eoShl, eoShr ); const cExpressio...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit frmConvertFlowsUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, RbwDataGrid4, ExtCtrls, StdCtrls, Mask, JvExMask, JvToolEdit, ReadModflowArrayUnit, Menus, MyFormUnit, JvSpin, IntListUnit, ComCtrls; type TfrmConvertFlows = class(TMyForm) ...
unit DigitalTypes; {$mode objfpc}{$H+} interface uses Classes, SysUtils; const csByteBitsString = '00000000'; csWordBitsString = '00000000 00000000'; csCardinalBitsString = '00000000 00000000 00000000 00000000'; csCardinalBitsString1 = '00000000000000000000000000000000'; csOne =...
unit EF.Engine.DbContext; interface uses System.Classes, Data.DB, EF.Drivers.Connection,FireDAC.Comp.ScriptCommands, 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 USlide; interface uses USlideLayout, System.Generics.Collections, Classes, UFastKeysSO, UUtilsStrings, UFastKeysSS, Data.DBXJSON, System.JSON, USourceInfo; const CNEWSLIDE = '<---'; type TContentType = (ctNo, ctText, ctTextMemo, ctPicture, ctPictureFit, ctOverview, ctRibbon, ctExtSlide, ctOverviewSubs,...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Model relacionado à tabela [VIEW_PESSOA_COLABORADOR] The M...
{ Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
unit uReceivables; interface uses Aurelius.Engine.ObjectManager, Aurelius.Criteria.Base, Entidades.Comercial; type IReceivables = interface ['{8A07D545-923B-49D7-A094-9DCC06F29D30}'] function FindPendingReceivables: TCriteria; function FindAllReceivables(LastDays: integer): TCriteria; procedure...
{------------------------------------------------------------------------------- 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...
{----------------------------------------------------------------------------- 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 DevMax.Types.ViewInfo; interface uses FMX.Types, DevMax.Utils.Marshalling; type TViewItemInfo = record ITEM_ID: string; ITEM_CLS_ID: string; ALIGN: TAlignLayout; HEIGHT: Single; ViewItems: TArray<TViewItemInfo>; // Child item end; TViewItemBindInfo = record type TBindValueInfo...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado ŕ tabela [VIEW_FICHA_TECNICA] The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
unit DirectorySelectUnit; // ====================================== // Display drive/directory selection tree // ====================================== // 14.10.11 Error when initial directory does not exist fixed interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, S...
{------------------------------------ 功能说明:实现IMessageBox接口 创建日期:2008/11/20 作者:wzw 版权:wzw -------------------------------------} unit SysDialogs; interface uses SysUtils, Forms, Windows, Dialogs, DialogIntf, SvcInfoIntf; type TDialogs = class(TInterfacedObject, IDialog, ISvcInfo) private protected ...
unit HashedListTestCase; interface uses TestFrameWork, HproseCommon; type THashedListTestCase = class(TTestCase) private procedure CheckEqualsList(Expected: IList; Actual: IList; Msg: string = ''); published procedure TestCreate; procedure TestAdd; procedure TestAddAll; p...
unit DAO.RemessasVA; interface uses DAO.Base, Model.RemessasVA, Generics.Collections, System.Classes; type TRemessasVADAO = class(TDAO) public function Insert(aRemessa: TRemessasVA): Boolean; function Update(aRemessa: TRemessasVA): Boolean; function Delete(iId: Integer): Boolean; func...
unit UMensagem; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.Ani; type TCallbackProcedure = procedure(Sender: TObje...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ShellAPI, ExtCtrls, SyncObjs; const WM_ICONTRAY = WM_USER + 1; // APM messages (* PBT_APMQUERYSUSPEND = $0000; PBT_APMQUERYSTANDBY = $0001; PBT_APMQUERYSUS...
{ Subroutine STRING_CMLINE_REQ_CHECK (STAT) * * Check for errors after attempting to read a required argument from the * command line. STAT is the status returned when the command line argument * was read. } module string_cmline_req_check; define string_cmline_req_check; %include 'string2.ins.pas'; procedure ...
unit SmartOnFhirTestingLogin; { Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 co...
unit TetraMinos; interface uses sysutils; type TTetraMinoType = (tLine,tZ,tRZ,tL,TRL,tT,tSQ); type TAngle = (a0,a90,a180,a270); resourcestring sLine = '1111' + '0000' + '0000' + '0000'; sLine90 = '1000' + '1000' + '1000' + '1000'; sZ...
{ *************************************************************************** * * * This file is part of Lazarus DBF Designer * * * * Copyr...
////////////////////////////////////////////////////////// // Desenvolvedor: Humberto Sales de Oliveira // // Email: humbertoliveira@hotmail.com // // humbertosales@midassistemas.com.br // // humberto_s_o@yahoo.com.br // // Objetivo: // // 1)Conectar software atraves ...
unit untGenericDAO; interface Uses Db, Rtti, untAtributoEntidade, TypInfo, SysUtils, untConexao, System.StrUtils, System.Classes, untDAOInterfaces, System.Variants, FireDAC.Stan.Param{***}; type TGenericDAO = class private class function getTableName<T: class>(Obj: T): String; class funct...
(*======================================================================* | unitExSettings | | | | Base application settings classes. | | ...
unit uEmbedded; interface uses uModApp, uUnit, uUser, System.Generics.Defaults, System.Generics.Collections; type TModEmbeddedUnit = class; TModEmbedded = class(TModApp) private FREPORTNAME: string; FEMBEDDED_LINK: string; FIS_HOME: Boolean; FGROUPNAME: string; FORDERINDEX: Integer; ...
unit ClientDicts; interface uses BaseDicts, Forms; type TClientDicts = class(TDicts) public constructor Create; override; end; TDictEditForm = class(TForm) protected FDict: TDict; procedure SetDict(const Value: TDict); virtual; abstract; public property Dict: TDict read FDict write...
unit eAction; interface uses API_ORM, eCommon; type TMovieActionRel = class(TEntity) private FActionID: Integer; FMovieID: Integer; public class function GetStructure: TSructure; override; published property ActionID: Integer read FActionID write FActionID; property MovieID: Integer r...
unit setbox; {ListBox для множественного выбора} { Отметка элемента пробелом или двойным нажатием кнопки мыши} {Методы GetData и SetData работают с записью вида} { record } { List:PCollection; } { Selected:Set of 0..255; } { Про...
unit frame.sobre; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Layouts, FMX.Ani, FMX.Objects, FMX.Controls.Presentation; type TSobreModo = (modSplash, modSobre); TFrameSobre ...
unit untDataStoreList; {$mode objfpc}{$H+} interface uses Classes, SysUtils, untDataStore; type { TDataStoreList } TDataStoreList=class private DataStores:array of TDataStore; public constructor Create; destructor Destroy; override; function Count: integer; function ...
unit SystemUtils; interface uses Windows, SysUtils, Forms, StdCtrls, Dialogs, MMSystem; // Объявление глобальных констант type MSet = set of byte; const DBFilePath = 'Data\DB\Pharmacy.db'; const BackupExt = '.bak'; const ButtonSound = 'Data\Sounds\Button.wav'; const NotifySound = 'Data\Sound...
(* * Copyright (c) 2009, Ciobanu Alexandru * 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 o...
unit sButton; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ImgList, StdCtrls, sCommonData, Buttons, sConst, sDefaults, sFade{$IFDEF LOGGED}, sDebugMsgs{$ENDIF} {$IFDEF TNTUNICODE}, TntStdCtrls {$ENDIF}; type {$IFNDEF NOTFORHELP} TBu...
unit sMDIForm; {$I sDefs.inc} {.$DEFINE LOGGED} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, sSkinProvider, sCommonData, Menus, acSBUtils; type TsMDIForm = class(TPersistent) public FForm: TCustomForm; ListSW : TacScrollWnd; SkinProvider : TsSkinProvide...