text
stringlengths
14
6.51M
unit Dmitry.PathProviders.MyComputer; interface uses System.StrUtils, System.SysUtils, Winapi.Windows, Winapi.ShellApi, Vcl.Graphics, Dmitry.Memory, Dmitry.Utils.Files, Dmitry.Utils.System, Dmitry.Utils.ShellIcons, Dmitry.PathProviders; const cNetworkPath = 'Network'; type ...
{ Unit Name : MILAssociate.pas Component Name : TMILAssociate Author : Larry J. Rutledge ( lrutledge@jps.net ) Created : August 4, 1998 Last Modified : N/A Description : This component makes creating Windows file associations a simple, painless proc...
unit uOperationProgress; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, uMemoryEx, uDBForm; type TFormOperationProgress = class(TDBForm) PrbProgress: TProgressBar; BtnC...
unit Form.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.S...
{$I-,Q-,R-,S-} {28¦ Diga Cheese Korea 2002 ---------------------------------------------------------------------- Había una vez un pedazo grande de queso, vivía en él un ácaro del queso llamada Amelia Acaro del Queso. Amelia estaba realmente contenta porque ella estaba ...
{ ------------------------------------------------------------------------------- Unit Name: contourtypes Author: HochwimmerA (aaron@graphic-edge.co.nz) Purpose: classes to display x,y,z data points in GLSCene via Proxy Objects History: ---------------------------------------------------------------...
{..............................................................................} { Title: Special Variant BOM Reports: Agile and Engineering formats } { Type: Delphi Script } { Used On: Altium Projects (*.PrjPcb) ...
unit Form_Main; // Description: HMAC Test Vector Suite // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // // This test application verifies the HMAC implementation by checking it's // output aga...
unit Demo.Miscellaneous.Customize; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_Miscellaneous_Customize = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_Miscellaneous_Customize.GenerateChart; var PieChart, BarChart: IcfsGC...
{ ****************************************************************************** IcmpPing Implementação de Ping através de ICMP.DLL. ****************************************************************************** Criado por Cristiano Kliemann (cristianok@ieg.com.br). Visite http://www.cristianok.hpg.co...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 v...
unit NSqlSys; {$I NSql.Inc} interface uses FmtBcd, Windows; type IAdvDestroy = interface ['{F91FBA49-2129-44DB-ADAF-F6566A19B41B}'] procedure StartDestroy; end; TAdvInterfacedObject = class(TObject, IInterface, IAdvDestroy) private FInDestroyProcess: Boolean; protected ...
unit UnihanReader; { Parses Unihan format. Unihan is organized as a bunch of files: Unihan_Readings.txt Unihan_Variants.txt ... Each associates some properties to kanji: U+53C1 kAccountingNumeric 3 U+kanjiHex [tab] kPropertyName [tab] Value Some properties can have multiple valu...
unit abWinsock; interface uses Windows, Winsock; type TClientSocket = class(TObject) private FAddress: PChar; FData: Pointer; FTag: Integer; FConnected: Boolean; protected FSocket: TSocket; public property Connected: Boolean read FConnected; property Data: Pointer read FData writ...
unit XLSClassFactory5; interface uses Classes, SysUtils; type TXLSClassFactoryType = (xcftNames,xcftNamesMember, xcftMergedCells,xcftMergedCellsMember, xcftHyperlinks,xcftHyperlinksMember, xcftDataValidations,xcftDataValidationsMe...
unit UPicFun; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ExtDlgs, jpeg; procedure CombinBmp(BmpFilNames: Tstrings; MType: string; var Desbmp: Tbitmap);overload; procedure CombinBmp(BmpFilNames: Tstrings; ...
unit FMX.Barcode.DROID; // based on Brian Long work around Activities (http://blong.com) // will use the zxing app installed in the device to scan // for more info see https://github.com/zxing/zxing/wiki/Scanning-Via-Intent interface uses System.Classes, System.SysUtils, System.Messaging {$IFDEF ...
program TimerTest; uses sgTypes, sgTimers, sgUtils; procedure Main(); var time1, time2 : LongWord; tmr : Timer; begin WriteLn('Testing Timer...'); time1 := GetTicks(); Delay(1000); time2 := GetTicks(); WriteLn('complete... Should have taken ~1000, took: ', time2 - time1 ); WriteLn(); WriteLn('Creating Timer.....
unit ufrmDialogTipePerusahaan; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, StdCtrls, uRetnoUnit, uModTipePerusahaan, ufraFooterDialog3Button, uDMClient, uAppUtils, System.Actions, Vcl.ActnList, uInterfa...
unit OTFE_U; // Description: Abstract base class for OTF Encryption systems // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // {$M+} //enable rtti // ------------------------------------------...
unit TpRepeater; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThTag, ThPanel, TpControls; type TTpRepeater = class(TThPanel) private FOnGenerate: TTpEvent; FCount: Integer; FOnRepeat: TTpEvent; protected procedure SetCount(const V...
unit DesignManager; interface uses Windows, Messages, Classes, Controls, Forms, LrObserverList; const LRM_PROPCHANGE = WM_USER + $01; type TObjectArray = array of TObject; // TDesignFilterEvent = procedure(inSender: TObject; inObject: TObject; var inFilter: Boolean) of object; TDesignGetAdd...
uses UConst; function read_txt(filename: string): array of array of real; begin foreach var (i, line) in ReadLines(filename).Numerate(0) do begin SetLength(result, i + 1); result[i] := line.ToReals end; end; function mix_flows(ratio: array of real; fractions: array of array of real): array of rea...
{ Gasmas - simple mostly procedural 2D game-oriented routines for FreePascal } unit Gasmas; {$MODE OBJFPC}{$H+} interface uses Classes, SysUtils; type TGraphicsOption = (goFullscreen, goDoublePixels, goResizeable, goAutoFullscreen, goAutoHidePointer); TGraphicsOptions = set of TGraphicsOption; ...
unit Unit3; { Module for support Get Battery Info by IOCTL } {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows; type {--- IOCTL common definitions ---} DeviceInterfaceData = packed record cbSize:Dword; // Struct. size, caller must set classguid:TGuid; ...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit SQLiteDataSetProvider; interface uses SysUtils, Classes, Provider, DB, DBClient, DSIntf, SQLite3, Contnrs, Windows; type TSiagriDataPacketWriter = class; TDataSetToSQLiteBind = class; TDataSetProviderWrap = class(Provider.TBaseProvider) private FDataSet: TDataSet; FDataSetOpened: Boolean; ...
unit Wwlocate; { // // Component : TwwLocateDialog // // Non-indexed searching // // Copyright (c) 1995, 1996, 1997 by Woll2Woll Software // // } interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, db, ExtCtrls, dbtables, dbctrls, {Wwdbcomb, }ww...
unit NewFrontiers.Configuration.Ini; interface uses NewFrontiers.Configuration, IniFiles; type /// <summary> /// Gibt an, wie die INI Datei geöffnet werden soll. Bei imAlwaysOpen, wird /// die Datei einmal geöffnet und beim Zerstören des Objekts wieder /// geschlossen. Bei imAlwaysClosed wird d...
unit SynUniFormatConTEXT; {$I SynUniHighlighter.inc} interface uses {$IFDEF SYN_CLX} QClasses, QGraphics, QSynUniFormat, QSynUniClasses, QSynUniRules, QSynUniHighlighter {$ELSE} Classes, Graphics, {$IFDEF SYN_COMPILER_6_UP} Variants, {$ENDIF} SynUniFormat, SynUniFormatNat...
unit UPlat; interface uses w3system, UE, UGlobalsNoUserTypes; const CRUMBLE_DELAY = 20; MOVE_SPEED_INC = 0.5; MOVE_SPEED_MAX = 5; type TPlat = class(TObject) X, Y : float; //X and Y co-ordinates Width, Height : float; GravSpeed : float; //How fast the gravity is XMove,YMove : float; //How much the p...
unit UContador; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Mask, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Generics.Collections, UContadorVO, UCont...
// // Generated by JavaToPas v1.5 20180804 - 082502 //////////////////////////////////////////////////////////////////////////////// unit android.provider.FontsContract_Columns; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JFontsContract_Columns = interface; JFontsContract_ColumnsClas...
namespace AwaitSample; interface uses System, System.Drawing, System.Collections, System.Collections.Generic, System.Windows.Forms, System.ComponentModel, System.IO, System.Windows.Threading; type MainForm = partial class(System.Windows.Forms.Form) private const WAIT_MESSAGE...
unit uSCMCheckSaveStorageFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBaseEditFrm, ExtCtrls, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons, DB, DBClient, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar,...
unit uWinAPIRedirections; interface uses WinApi.Windows, System.SysUtils, System.StrUtils, uAPIHook, uStrongCrypt, uWinApiRuntime, uProgramCommunication, uTransparentEncryption, uTransparentEncryptor; {$WARN SYMBOL_PLATFORM OFF} const NTDLLFile = 'ntdll.dll'; STATUS_NO_SUCH_...
unit uFrmPO; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, DateBox, Mask, Db, DBTables, ADODB, SuperComboADO, siComp, siLangRT, PaiDeForms; type TFrmPO = class(TFrmParentForms) Panel1: TPanel; Panel9: TPanel; Panel3: TPanel; scVen...
unit NamedPipes; {$mode objfpc}{$H+} interface uses Windows, Classes, SysUtils; type TPipeDirection = (pdInOut, pdIn, pdOut); TNamedPipeStream = class(TStream) public const DefaultBufferSize: Integer = 64 * 1024; // 64K private FPipeName: String; FPipeHandle: THandle; FDirection: TPipeDir...
unit UPrinter; (*==================================================================== Implementation of printing ======================================================================*) {$ifndef DELPHI1} {$LONGSTRINGS ON} {$endif} interface uses SysUtils, {$ifdef mswindows} WinTypes,WinProcs, ...
unit SplashUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, jpeg, ExtCtrls, StdCtrls, ShellAPI; type TSplashScreen = class(TForm) Image: TImage; MailLabel: TLabel; Status: TLabel; procedure FormDestroy(Sender: TObject); procedure FormA...
unit hfsGlobal; {$I NoRTTI.inc} interface uses graphics, Types, SysUtils, srvConst; const {$I RnQBuiltTime.inc} CURRENT_VFS_FORMAT :integer = 1; CRLF = #13#10; CRLFA = RawByteString(#13#10); TAB = #9; BAK_EXT = '.bak'; VFS_FILE_IDENTIFIER = 'HFS.VFS'; CFG_KEY = 'Software\rejetto\HFS'; ...
unit uSiteUtils; interface uses Winapi.Windows, Winapi.ShellApi, System.SysUtils, Dmitry.Utils.System, uConstants, uTranslate, uActivationUtils, uUpTime; procedure DoHelp; procedure DoHomeContactWithAuthor; procedure DoHomePage; procedure DoBuyApplication; procedure DoDonate; f...
constructor TGPoint.Create(x_,y_:extended;L:TList;C:TCanvas); begin x:=x_; y:=y_; inherited Create(L,C); Color.Color:=$00FFFFFF; closeDist:=2; end; //------------------------------------------------------------------ function TGPoint.Clone:TGraphObject; var a:TGPoint; begin a:=TGPoint.Cr...
unit E_Options; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit, ExtCtrls, ComCtrls, E_Var, ChooseOrg, Buttons, Db, DBTables, RxLookup, uCommonForm,uOilQuery,Ora, uOilStoredProc; type TE_OptionsForm = class(TCommonForm) PageControl1: TPage...
unit ImageRGBData; interface uses Windows, Graphics, Abstract2DImageData, RGBSingleDataSet, dglOpenGL; type T2DImageRGBData = class (TAbstract2DImageData) private // Gets function GetData(_x, _y, _c: integer):single; // Sets procedure SetData(_x, _y, _c: integ...
unit Demo.Histogram.Sample; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_Histogram_Sample = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_Histogram_Sample.GenerateChart; var Chart: IcfsGChartProducer; //Defined as TInterf...
unit UTimeWatcher; interface //------------------------------------------------------------------------------ uses SysUtils, Windows; procedure StartCount( const ID: Integer ); procedure EndAndWriteCount( const ID: Integer ); //------------------------------------------------------------------------------ i...
unit Win.WebBrowser; interface (* Special thanks to David Esperalta, aka Dec @ http://www.clubdelphi.com/foros/member.php?u=4681 http://www.clubdelphi.com/foros/showthread.php?p=507565 *) uses System.Win.Registry; type {$REGION 'TInternetExplorerVersion'} {$SCOPEDENUMS ON} /// <summary> Version Numbers f...
unit ThAnchor; interface uses SysUtils, Classes, Graphics, ThChangeNotifier, ThTag, ThAnchorStyles; type TThCustomAnchor = class(TThChangeNotifier) private FTarget: string; FHref: string; FStyles: TThAnchorStyles; FName: string; procedure SetName(const Value: string); protected ...
(* * DGL(The Delphi Generic Library) * * Copyright (c) 2004 * HouSisong@gmail.com * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the ab...
(* Category: SWAG Title: MENU MANAGEMENT ROUTINES Original name: 0009.PAS Description: Pickable Litebar Menu Author: GORDY FRENCH Date: 05-31-96 09:16 *) { >Here's some neat lightbars that I made. REALLY easy to use, pretty >simple. >Feel free to use it, like I care.. Just don't yell at me fer what it >doe...
unit Magento.Entidade.Produto; interface uses Magento.Interfaces, System.JSON, System.SysUtils, System.Generics.Collections; type TMagentoEntidadeProduto = class (TInterfacedObject, iMagentoEntidadeProduto) private FJSON : TJSONObject; FJSONProduct : TJSONObject; FJSONArray :...
unit ProfileManager; interface uses SysUtils, kCritSct, StringSupport, AdvObjects, AdvStringMatches, AdvStringObjectMatches, AdvGenerics, FHIRResources, FHIRUtilities, FHIRConstants, FHIRTypes; Type TProfileManager = class (TAdvObject) private lock : TCriticalSection; FProfilesById : TAdvMap<T...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2011 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a Redis...
unit ModelUndoEngine; interface uses Model, BasicDataTypes, BasicFunctions; type TModelUndoRedo = class private FMaxStackSize: cardinal; FIsStackLimited: boolean; FModels: array of array of TModel; FLabels: array of array of string; FIDs: array of in...
// RemObjects CS to Pascal 0.1 namespace UT3Bots.Communications; interface uses System, System.IO, System.Net.Sockets, System.Text, System.Diagnostics; type UT3Connection = public class private var _tcpClient: TcpClient; var _streamReader: StreamReader; var _streamWriter: Stream...
unit ItemShopTableForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, Menus, CountedDynArrayString, InflatablesList_ItemShop, InflatablesList_Item, InflatablesList_Manager; const IL_ITEMSHOPTABLE_ITEMCELL_WIDTH = 300; IL_ITEMSHO...
unit lotofacil_frequencia; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fgl, ZConnection, ZDataset, Dialogs, Math, db, Grids; type TInt_Int = specialize TFPGMap<integer, integer>; TList_Int = specialize TFPGList<TInt_Int>; // No banco de dados, há uma tabela de nome 'lotofacil_resultado_f...
(* Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED Original name: 0082.PAS Description: Spell a Number Author: MIKE COPELAND Date: 01-27-94 17:36 *) { From: MIKE COPELAND Subj: Spell a Number --------------------------------------------------------------------------- >> I'm in the process of w...
unit uECFList; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxGrid,...
{$A+,B-,D+,E-,F+,G+,I+,L+,N+,O-,P-,Q-,R-,S+,T-,V-,X+,Y+} {-[■]------------------------------------------------------------------------ F-Code and Asm source preprocessor Version 1.0 Copyright (c) 1997 by Alexander Demin ---------------------------------------------------------------------------- } Uses Stacks...
unit Wwstr; { // // Commonly used string manipulation functions // // Copyright (c) 1995 by Woll2Woll Software // } interface uses classes, dialogs, wwtypes; type strCharSet = Set of char; procedure strBreakApart(s: string; delimeter: string; parts: TStrings); Function strGetToken(s: string; delimeter: string; var...
namespace Events; interface uses System.Windows.Forms, System.Drawing, Events.EventClasses; type { MainForm } MainForm = class(System.Windows.Forms.Form) {$REGION Windows Form Designer generated fields} private button1: System.Windows.Forms.Button; components: System.ComponentModel.Container :...
unit uValidSenha; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, DB, DBTables, SysUtils, Dialogs, ExtCtrls, Mask, ADODB, siComp, siLangRT, PaiDeForms; type TValidSenha = class(TFrmParentForms) Label1: TLabel; EditPassword: TEdit; Panel1: TPanel; Panel9...
unit DSA.Sorts.InsertionSort; interface uses System.SysUtils, DSA.Interfaces.Comparer, DSA.Utils; type TInsertionSort<T> = class private type TArr_T = TArray<T>; ICmp_T = IComparer<T>; var class procedure __swap(var a, b: T); public /// <summary> 对arr数组进行插入排序 </summary> class proc...
unit RestServerMethodsUnit; interface uses // RTL System.SysUtils, System.Classes, System.StrUtils, Vcl.Forms, Vcl.Dialogs, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, // mORMot mORMot, mORMotHttpServer, SynCommons, // Custom RestMethodsInterfaceUnit; type TCusto...
(* WordCounter: HDO, 2003-02-28 *) (* ----------- *) (* Template for programs that count words in text files. *) (*===============================================================*) PROGRAM WordCounter; USES WinCrt, Timer, ...
{* * Outliner Lighto * Copyright (C) 2011 Kostas Michalopoulos * * 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. * * Permission is granted to anyone to use this software for any ...
unit Entities; interface uses Aurelius.Mapping.Attributes; type [Entity] [Automapping] TPerson = class private FId: integer; FLastName: string; FFirstName: string; FEmail: string; public property Id: integer read FId; property LastName: string read FLastName write FLastName; pr...
unit SDUMRUList; interface uses Classes, IniFiles, Menus, SDURegistry; type {$TYPEINFO ON}// Needed to allow "published" // Forward declaration TSDUMRUList = class ; TSDUMRUItemClickEvent = procedure(mruList: TSDUMRUList; idx: Integer) of object; TSDUMRUList = class PROTECTED ...
{ Update Constraint File script Version 1.0 In brief, you have the ability to change the swap group Ids for the pins of a FPGA component on the PCB document without invoking the FPGA Pin Swap Manager. These swap group ids are stored as records in the constraint file part of a configuration in the FPGA project. The se...
unit GorGraph; interface type PBImage=^TBImage; TImage=record {obrazek pomoci spojoveho seznamu,} imgBegin,imgEnd:PBImage; {odpada omezeni 64kB} dx,dy:integer; {dx,dy=velikosti obrazku} end; PFrame=^TFrame; TAnim=record ...
unit EditWarehouseFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, DBClient, StdCtrls, DBCtrls, Mask, RzEdit, RzDBEdit, RzButton, RzLabel, ExtCtrls, RzPanel,CommonLIB; type TfrmEditWarehouse = class(TForm) RzPanel1: TRzPanel; RzLabel1: TRzLab...
unit ideSHEnvironmentConfiguratorFrm; interface {$I .inc} uses SHDesignIntf, ideSHObject, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ideSHBaseDialogFrm, AppEvnts, StdCtrls, ExtCtrls, ComCtrls, VirtualTrees, ImgList; type TPageType = (ptPackage, ptLibra...
//*****************************************************************// // // // Sorting Algorithms in Delphi // // Copyrightę BrandsPatch LLC // // http://www.explainth.at ...
unit ThAlertAnimation; interface uses System.Classes, System.Types, FMX.Types, FMX.Controls, FMX.Ani, FMX.Objects; type TAlertAnimation = class(TControl) private FText: TText; FMessagePanel: TRoundRect; FAnimation: TFloatAnimation; procedure Finished(Sender: TObject); public constructo...
unit mckMenuEditor; interface {$I KOLDEF.INC} uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, StdCtrls, ComCtrls, //*/////////////////////////////////////// {$IFDEF _D6orHigher} // DesignIntf, DesignEditors, // {$ELSE} ...
unit Demo.ColumnChart.Trendlines; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_ColumnChart_Trendlines = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation uses System.SysUtils, System.DateUtils; procedure TDemo_ColumnChart_Trendlines.Generat...
unit dialogsx; {$mode Delphi} //{$mode objfpc} {$Include isgui.inc} {$H+} interface uses SysUtils,IniFiles; {$IFNDEF GUI} type TMsgDlgBtn = (mbYes, mbNo, mbOK, mbCancel, mbAbort, mbRetry, mbIgnore, mbAll, mbNoToAll, mbYesToAll, mbHelp); TMsgDlgButtons = set of TMsgDlgBtn; TMsgDlgType = (mtWarnin...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [AGENCIA_BANCO] The MIT License ...
unit uResources; interface uses Winapi.Windows, Generics.Collections, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Imaging.JPEG, Vcl.Imaging.pngImage, Dmitry.Imaging.JngImage, uMemory; type TResourceUtils = class class function LoadGraphicFromRES<T: TGraphic, constr...
// Copyright (c) 2009, ConTEXT Project Ltd // 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 condition...
unit uDemoViewTipo3; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, uInterfaces, uAtributos, uDemoInterfaces, uDe...
(* Category: SWAG Title: FILE HANDLING ROUTINES Original name: 0047.PAS Description: Filedate and Time Author: GREG ESTABROOKS Date: 02-03-94 10:57 *) { ET>How can I change the file's date and time without opening that file?? ET>I appreciate (some) example source code, so I can look how it is done. ET>Thank...
unit SpFoto_ImgSize; interface uses Classes,JPEG; procedure GetJPGSize(const sFile: string; var wWidth, wHeight: word); procedure GetPNGSize(const sFile: string; var wWidth, wHeight: word); procedure GetGIFSize(const sGIFFile: string; var wWidth, wHeight: word); procedure GetJpegPPI(const AFileName:String; var ARes...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
unit cyhtAnalysisForm; interface uses Forms, BaseForm, Classes, Controls, SysUtils, StdCtrls, QuickSortList, QuickList_double, StockDayDataAccess, define_price, define_dealitem, Rule_CYHT; type TfrmCyhtAnalysisData = record Rule_Cyht_Price: TRule_Cyht_Price; StockDayDataAccess: TStockDayDataAccess;...
unit uAutorController; interface uses SysUtils, uAutorModel, uPadraoController, Dialogs, StrUtils; type TAutorController = class(TPadraoController) public function GravarRegistro(AAutorModel: TAutorModel): Boolean; function ExcluirRegistro(ACodigo: Integer): Boolean; end; implementation { TAutorContr...
unit frmExamples; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls, Vcl.Imaging.pngimage; type TfrmUsageExamples = class(TForm) scrlbx1: TScrollBox; mmo1: TMemo; img1: TImage; pgc1: TPageControl; ...
unit E_VersionsInfo; interface type TVersionType = (vtApplication, vtDatabase, vtMap); TVersions = array[TVersionType] of string; const CVersionTypeNames: TVersions = ( 'Версия программы: ', 'Версия базы данных: ', 'Версия карты: ' ); var GVersionsInfo: TVersions = ( 'нет данных', ...
unit uDMValidateInventoryTextFile; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uDMValidateTextFile, DB, ADODB; type TDMValidateInventoryTextFile = class(TDMValidateTextFile) private function ValidateIsEmpty(Field, Erro: String): Boolean; function...
unit curv; interface uses define_types, matmath, sysutils, Dialogs; procedure GenerateCurv(fnm: string; var faces: TFaces; vertices: TVertices; isSmooth: boolean); procedure GenerateCurvRGB(fnm: string; vertexRGBA : TVertexRGBA; num_f: integer); implementation function curvK(v0, v1, n0, n1: TPoint3f): single; //ht...
{******************************************************************************} { } { Delphi cross platform socket library } { ...
unit frm_Upgrade; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, Vcl.Menus; type TfrmUpgrade = class(TForm) pnl2: TPanel; lbl1: TLabel; lblVer...
(* NUME AUTOR: Mitrea Cristina SUBIECT: Teoria grafelor TEMA NR.: 2 PROBLEMA: Se da un graf G=(X,U) si doua varfuri p,q ale acestui graf. Sa se conceapa un algorim care determina un drum de valoare minima de la varful p la varful q folosind si algoritmul lui Moore-Dijkstra var. 1. Se considera ...
unit ZPeoplePrivCtrl_MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, ExtCtrls, cxMaskEdit, cxDropDownEdit, cxCalendar, cxTextEdit, cxButtonEdit, cxContainer, cxEdit, cxLabel, cxControls, cxGroupBox, StdCtrls, cxButtons, Pack...
unit UConverteInvertido; interface uses UConverteTexto,System.StrUtils; type TConverteInvertido = class(TConverteTexto) public procedure Converter(vTexto : String); Override; end; implementation procedure TConverteInvertido.Converter(vTexto : String); begin if vTexto <> '' then Resul...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
//------------------------------------------------------------------------------ //Commands UNIT //------------------------------------------------------------------------------ // What it does- // This Unit was built to house the routines dealing w...