text
stringlengths
14
6.51M
{ Role - Show Mouse-Over Item Connection Handle(연결자 표시) } unit ThItemConnection; interface uses System.Generics.Collections, GR32, ThTypes, ThItemHandle; type TThItemAnchorPoint = TThShapeHandle; TThItemAnchorPoints = class(TThCustomItemHandles, IThItemConnectionHandles) protected procedure Dr...
(* Hashing-Tabelle mit Chaining *) PROGRAM chain; CONST size = 10; TYPE NodePtr = ^Node; Node = RECORD key: STRING; (* DATA *) next : NodePtr; END; ListPtr = NodePtr; HashTable = ARRAY[0..size-1] OF ListPtr; VAR (* Globale Variable *) table : HashTable; (...
unit UsbAspHW; {$mode objfpc}{$H+} interface uses Classes, SysUtils, basehw, libusb, usbhid, msgstr, utilfunc; type { TUsbAspHardware } TUsbAspHardware = class(TBaseHardware) private FDevOpened: boolean; FDevHandle: Pusb_dev_handle; FDeviceDescription: TDeviceDescription; FStrError: string; public con...
unit SDPartitionImage_File; interface uses Classes, SDPartitionImage, SDUGeneral, Windows; type EPartitionUnableToOpen = class (EPartitionError); TSDPartitionImage_File = class (TSDPartitionImage) PROTECTED FFilename: String; FFileHandle: THandle; FSize: ULONGLONG; PU...
unit TestAppMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Generics.Collections, AST.Pascal.Project, AST.Pascal.Parser, AST.Delphi.Classes, SynEdit, SynEditHighlighter, SynEdi...
//============================================================================= // sgCamera.pas //============================================================================= // // The Camera unit is used to change the view port (ie the camera location.) // //===========================================================...
//********************************************************************************************************************** // $Id: udAbout.pas,v 1.8 2006-08-23 15:19:11 dale Exp $ //---------------------------------------------------------------------------------------------------------------------- // DKLang Translati...
(* Category: SWAG Title: SORTING ROUTINES Original name: 0009.PAS Description: Elevator Sort Author: PEDRO DUARTE Date: 05-28-93 13:57 *) { > Thanks For the code... It worked great! BTW, why are there so many > different sorting methods? Quick, bubble, Radix.. etc, etc Yes, there are lots of sortin...
unit UDTextObjects; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32; type TCrpeTextObjectsDlg = class(TForm) pnlTextObjects: TPanel; lblNumber: TLabel; lbNumbers: TListBox; editCount: TEdit; lblCount: TLabel; ...
{ @abstract Implements multilingual resource format for FireMonkey and VCL. FireMonkey does not support resource DLLs in Android and iOS. This is why the standard resource DLL based localization method cannot be used with FireMonkey if mobiles platforms are used. This format is designed to make it possible to ...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
Uses sysutils; Procedure TestIt (S1,S2 : String); Var R : Longint; begin R:=AnsiCompareStr(S1,S2); Write ('"',S1,'" is '); If R<0 then write ('less than ') else If R=0 then Write ('equal to ') else Write ('larger than '); Writeln ('"',S2,'"'); end; Begin Testit('One string','One smaller s...
unit Unit3; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Math, diagnostics; type TForm3 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit; procedure Button2Click(...
unit TDlgSourceTree; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, AnimationSeekBarImpl1; type TDlgSourceView = class(TForm) Button1: TButton; FileTree: TTreeView; Button_OK: TButton; procedure Button1Click(Sender: TObject...
unit notes; {$V-} interface uses control; const count64: array['0'..'9'] of integer = ( 64, 4, 32, 2, 16, 0, 1, 0, 8, 128 ); procedure processNote(var note, xnote: string; dur1: char; var dur: char; var count: integer); function durationCode (note: string): char; function octaveCode (note: string): char; ...
unit uDialogUtils; interface uses Vcl.Graphics, Vcl.Imaging.JPEG, UnitDBFileDialogs, uConstants, uMemory, uAssociations, uDBEntities, uImageLoader; procedure LoadNickJpegImage(Image: TPicture; JpegCompressionQuality: TJPEGQualityRange); function GetImageFromUser(var Bitmap: TBitmap...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
namespace BadgeContent; interface uses Windows.UI.Notifications, Windows.Data.Xml.Dom; type /// <summary> /// Base notification content interface to retrieve notification Xml as a string. /// </summary> INotificationContent = public interface /// <summary> /// Retrieves the notification Xml...
unit uCargoDAOClient; interface uses DBXCommon, DBXClient, DBXJSON, DSProxy, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, Generics.Collections, DBXJSONReflect, Cargo; type TCargoDAOClient = class(TDSAdminClient) private FListCommand: TDBXCommand; FInsertCommand: TDBXCommand; FUpdateCommand: TDBXComm...
program Hern; uses GraphABC; type Point = record x,y: Integer; end; const px = 0; py = 0; pz = 0; ppx = 100; ppy = 100; m = 100; var x,y,z,x1,y1,z1: array [1..4] of Real; a,b,g: Real; i: Integer; procedure Rotate(var x,y,z: Real; const a,b,g: Real); var...
unit Validador.UI.FormBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs; type TFormBase = class(TForm) procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); procedure FormKeyUp(Sender: T...
unit svm_core; //{$define WindowsSEH} {$mode objfpc} {$H+} interface uses Classes, SysUtils, svm_grabber, svm_mem, svm_utils, svm_common, svm_opcodes, svm_res, svm_imports, svm_callbacks, svm_stack, svm_exceptions; type TSVM = object public ip, end_ip: TInstr...
(********************************************************) (* *) (* Bare Game Library *) (* http://www.baregame.org *) (* 0.5.0.0 Released under the LGPL license 2013 *) (* ...
(* Category: SWAG Title: DATE & TIME ROUTINES Original name: 0004.PAS Description: DATE3.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:37 *) Program Gregorian; { Julian day to Gregorian date } Uses Crt; { Turbo/Quick Pascal } Type String3 =...
unit Unit2; interface uses unit3, // TTRProject type Vcl.Graphics, // TBitmap System.Generics.Collections; // TList<...> type TFloorType = (Floor,door,tilt,roof,trigger,lava,climb,split1,split2,split3,split4, nocol1,nocol2,nocol3,nocol4,nocol5,nocol6,nocol7,nocol8,monkey,trigtrig,beetle); t...
{ Библиотека дополнительных утилит Дополнительные процедуры и функции для работы со строками © Роман М. Мочалов, 1997-2001 E-mail: roman@sar.nnov.ru } unit ExtStrUtils; interface {$I EX.INC} uses SysUtils, Classes, Math; type TCharSet = set of Char; { Поиск подстроки Substr в ст...
unit frameScreenObjectObsMf6Unit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CheckLst, UndoItemsScreenObjects, Vcl.ExtCtrls, Vcl.ComCtrls, ArgusDataEntry, framePestObsUnit, framePestObs...
unit uFileReader; interface uses Classes, SysUtils; type TExplorerFileStream = class (TFileStream) private FXORVal: byte; FXORValWORD: word; FXORValDWORD: longword; procedure SetXORVal(const Value: byte); public function ReadByte: byte; inline; function ReadWord: word; inline; funct...
(* ----------------------------------------------------------- Name: $File: //depot/Reporting/Mainline/sdk/VCL/Delphi/SampleApp/UnitMain.pas $ Version: $Revision: #5 $ Last Modified Date: $Date: 2004/01/27 $ Copyright (c) 1995-2003 Crystal Decisions, Inc. 895 Emerson St., Palo Alto, Cali...
{----------------------------------------------------------------------------- Unit Name: dlgAboutPyScripter Author: Kiriakos Vlahos Date: 09-Mar-2005 Purpose: PyScripter About box History: -----------------------------------------------------------------------------} unit dlgAboutPyScripter; interface...
{**************************************************} { } { _STRINGS UNIT : supplementary String functions } { } { Copyright (c) 1993-1995 by Yves BORCKMANS } { } {*...
{ * ------------------------------------------------------------------------ * ♥ * ♥ VCL Command component/class with a factory * ♥ * Components: TCommand, TCommandAction * Classes: TCommandVclFactory * Project: https://github.com/bogdanpolak/command-delphi * Documentation: on the gith...
unit RegeditUnit; interface uses Windows, Registry, SysUtils; procedure InitOracle; implementation procedure InitOracle; var reg: Tregistry; begin reg := Tregistry.Create; try reg.RootKey := HKEY_LOCAL_MACHINE; reg.CreateKey('\SOFTWARE\ORACLE'); reg.CreateKey('\SOFTWARE\ORACLE\...
unit uAbout; {******************************************************************************* * * * Название модуля : * * ...
unit TpMoreControls; interface uses Classes, Graphics, ThTag, ThWebControl, TpControls; type TMyComponent = class(TTpGraphicControl) private FOnMyPhpEvent: TTpEvent; FMyTpProperty: string; protected procedure Paint; override; procedure Tag(inTag: TThTag); override; published proper...
unit uFuncVB; interface uses SysUtils; function Replace(Expressao,Find,Replace : string): string; implementation function Replace(Expressao, Find, Replace : string) : string; {HPM: Substitui um caractere dentro da string} var n : integer; begin for n := 1 to length(Expressao) do begin if...
unit uImageViewer; interface uses System.Classes, System.SysUtils, Winapi.Windows, Vcl.Controls, Vcl.Graphics, Vcl.ComCtrls, Dmitry.Utils.System, Dmitry.Controls.LoadingSign, Dmitry.Controls.WebLink, ExplorerTypes, uMemory, uGOM, uTime, uIImageViewer, uImageViewe...
// RemObjects CS to Pascal 0.1 namespace UT3Bots.UTItems; interface uses System, System.Collections.Generic, System.Linq, System.Text; type UTPoint = public class(UTObject) protected var _isReachable: Boolean; assembly //Constructor constructor(Id: UTIdentifier; Location: UTVector;...
PROGRAM Compute_Paths (input, output) ; CONST MAXINT = 65535 ; (* Local definition of MAXINT *) MaxSize = 20 ; (* Maximum size of ComputedPaths Array *) VAR CallCount1, CallCount2 : Integer ; Overflow1, Overflow2 : Boolean ; TotalPaths1, TotalPaths2: Integer ; ComputedPa...
unit uReminderForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, uFControl, uLabeledFControl, uDateControl, FIBQuery, pFIBQuery, FIBDatabase, pFIBDatabase, uBoolControl, uEnumControl, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEd...
unit Adapter.MySQL; //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ interface uses SysUtils, ZConnection, ZDataset, ...
{ ------------------------------------------------------------------------------- Unit Name: cGLgridimportfn ------------------------------------------------------------------------------- } unit cGLGridImportFn; interface uses System.Classes, System.SysUtils, {GraphicEx,} Vcl.Graphics, Vcl.Dialogs, ...
unit feedSPARQL; interface uses eaterReg, MSXML2_TLB; type TSparqlFeedProcessor=class(TFeedProcessorXML) public function Determine(Doc: DOMDocument60): Boolean; override; procedure ProcessFeed(Handler: IFeedHandler; Doc: DOMDocument60); override; end; TSparqlRequestProcessor=class(TRequestProc...
// // Generated by JavaToPas v1.5 20150830 - 103221 //////////////////////////////////////////////////////////////////////////////// unit java.nio.channels.SelectableChannel; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, java.nio.channels.Selector, java.nio.channels.spi.AbstractSelector; typ...
unit Model.ReaderReport; interface uses System.JSON; type TReaderReport = class private FEmail: String; FFirstName: String; FLastName: String; FCompany: String; FBookISBN: String; FBookTitle: String; FRating: Integer; FOppinion: String; FReportedDate: TDateTime; public ...
unit uFrmConsultaCargo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmConsultaBase, DB, DBClient, Grids, DBGrids, StdCtrls, ExtCtrls, uCargoDAOClient, Cargo; type TFrmConsultaCargo = class(TFrmConsultaBase) cdsConsultaID: TIntegerField; cdsCons...
unit ibSHRegisterEditors; interface uses SysUtils, Classes, Controls, Dialogs, DesignIntf, TypInfo, StrUtils, SHDesignIntf, ibSHDesignIntf; type // -> Property Editors TibSHDatabaseAliasOptionsPropEditor = class(TSHPropertyEditor) public function GetValue: string; override; end; Tib...
unit uExplorerFolderImages; interface uses System.SysUtils, Vcl.Graphics, Dmitry.Utils.Files, uMemory, uRWLock, uBitmapUtils; type TFolderImages = record Images: array [1 .. 4] of TBitmap; FileNames: array [1 .. 4] of string; FileDates: array [1 .. 4] of TDateTime; ...
unit Forms.FrmEditor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, AdvUtil, Vcl.Grids, AdvObj, BaseGrid, AdvGrid, Flix.Utils.Maps, Vcl.ExtCtrls, AdvStyleIF, AdvAppStyler, Modules.Resources, A...
unit uFilter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, ToolEdit, ExtCtrls; type TFilterTypes = (ftDate); TFilterForm = class(TForm) pnlBtn: TPanel; pnlDate: TPanel; LblBeginDate: TLabel; deBeginDate: TDateEdit;...
unit Layout2; interface uses SysUtils, Node, Box; type TBlockContext = class(TBoxContext) private Boxes: TBoxList; public constructor Create(inBox: TBox; inNode: TNode); procedure AddNodes(inNodes: TNodeList); end; // TInlineContext = class(TBoxContext) private Context: TBlockContex...
unit ufrmDailySalesReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMaster, StdCtrls, ExtCtrls, ufraFooter5Button, Mask, JvToolEdit, SUIButton, uConn, ActnList; type TfrmDailySalesReport = class(TfrmMaster) fraFooter5Button1: TfraFooter5Button...
unit unDM; 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, Data.DB, FireDAC.Comp.Clien...
FUNCTION isPlausible(h, min : INTEGER; temp : REAL) : BOOLEAN; static lastTime : INTEGER = 0; static lastTemp : Real = 0; VAR diff_time : INTEGER; VAR diff_temp : REAL; BEGIN diff_time := (h*60 +min) - lastTime; diff_temp := temp - lastTemp; IF(temp < 936,8) OR (temp > 1345,3) OR ((11,45 / 60) * diff_...
{..............................................................................} { Summary A simple hello world - an introduction to DelphiScript language. } { Copyright (c) 2003 by Altium Limited } {...............................................................................
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
{$G+} Unit Sprites; Interface Type SpriteTyp=Record {Aufbau eines Sprite-Datenblocks} Adr:Pointer; {Zeiger auf Grafik-Daten} dtx,dty:Word; {Breite und H”he in Pixel} px,py, {gegenw„rtige Position, optional *} sx,sy:Integer; {gege...
unit Validador.Core.Impl.UnificadorXML; interface implementation uses System.SysUtils, Xml.xmldom, Xml.XMLDoc, Xml.XMLIntf, Validador.DI, Validador.Data.dbChangeXML, Validador.Core.UnificadorXML; type TUnificadorXML = class(TInterfacedObject, IUnificadorXML) private FXMLAnterior: IXMLDocument; FXMLN...
//------------------------------------------------------------------------------ //GMCommandsOptions UNIT //------------------------------------------------------------------------------ // What it does- // gain access to configuration variables loaded f...
PROGRAM Kleines; USES Gem,OWindows,OTypes,ODialogs; {$I KLEINES.I} TYPE TMyApplication = OBJECT(TApplication) PROCEDURE InitInstance; VIRTUAL; PROCEDURE InitMainWindow; VIRTUAL; END; PInfoMenu = ^TInfoMenu; TInfoMenu = OBJECT(TKeyMenu) PROCEDURE Work; VIRTUAL; ...
unit ufrmWorksheet; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterBrowse, uFormProperty, ComCtrls, StdCtrls, ExtCtrls, ActnList, Math, System.Actions, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, c...
unit Lock; interface uses Windows, Messages, SysUtils, Classes, IBQuery, IBSQL, IBDatabase, Db, IBStoredProc; type TLockTransaction = class(TObject) private dbConnection: TIBDatabase; transInput: TIBTransaction; FLockID: Integer; FKeyFieldName: string; FTableName: string; FUseLocalTransa...
{ ******************************************************* } { * {* uTVDB.pas {* Delphi Implementation of the Class TVDB {* Generated by Enterprise Architect {* Created on: 09-févr.-2015 11:49:22 {* Original author: bvidovic {* {******************************************************* } unit...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, StdCtrls, Buttons, ExtCtrls, Dialogs, ExtDlgs, ActnList, Menus, ComCtrls, ScrollingImage, TexturePanel; type TMainForm = class(TForm) SI: TSBScrollingImage; MainMenu: TMainMenu; File1...
// The Game of Life {$APPTYPE CONSOLE} program Life; const Width = 8; Height = 25; type TField = array [0..Height - 1, 0..Width - 1] of Boolean; var Fld: TField; procedure Redraw; var i, j: Integer; ch: Char; s: string; begin s := ''; for i := 0 to Height - 1 do b...
unit uConditionEditor; interface uses Windows, Messages, Classes, ExtCtrls, Controls, Dialogs, Variants, Forms, StdCtrls, ComCtrls, SysUtils, StrUtils, Contnrs, IdGlobal; resourcestring WAR_InputDataType= 'WAR_对于%s必须输入%s或格式不正确.'; type TConditionType = (ctString, ctNumber, ctDate, ctDateTime...
{$I+,R+,Q+,H+} {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} {DEFINE DEBUG} Unit Rotary; Interface Uses {$IFDEF FPC}CThreads, CMem, BaseUnix,{$ELSE}CompileInDelphi,{$ENDIF} {$IFDEF DEBUG}DebugMe,{$ENDIF} Classes, SysUtils, RtlConsts, Input, InputEventCodes; Const MaxNumEvents = 8; //never got more ...
unit DPM.Core.Package.InstallerContext; interface uses Spring.Collections, VSoft.CancellationToken, DPM.Core.Types, DPM.Core.Logging, DPM.Core.Package.Interfaces, DPM.Core.Dependency.Interfaces, DPM.Core.Package.Installer.Interfaces, DPM.Core.Spec.Interfaces; type TCorePackageInstallerContext = cla...
unit uExercicio02; 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 TfrmExercicio02 = class(TForm) mmTextoOriginal: TMemo; lbTextoOriginal: TLabel; mmTextoConvertido...
unit hdf5_lite; interface uses windows, util1, hdf5dll; (* Flag definitions for H5LTopen_file_image() *) Const H5LT_FILE_IMAGE_OPEN_RW = 1; (* Open image for read-write *) H5LT_FILE_IMAGE_DONT_COPY = 2; (* The HDF5 lib won't copy *) (* user supplied image buffer. The same image is open wit...
unit FoLogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFrmLogin = class(TForm) Label1: TLabel; btnCancel: TButton; edtLogin: TEdit; Label2: TLabel; edtPassword: TEdit; btnConfirm: TButton; procedure btnConfirm...
(* ========================================== *) (* -- Sack TEST 27.05.17 -- *) (* ========================================== *) PROGRAM SackTest; USES SOSU; VAR s, s1, s2, s3: SackPtr; BEGIN WriteLn('=== SackTest ==='); New(s, Init); New(s1, Init); New(s2, Init); s^.Add('Hallo')...
unit MT5.History; interface uses System.SysUtils, System.JSON, REST.JSON, System.Generics.Collections, MT5.Connect, MT5.RetCode, MT5.Order; type TMTHistoryProtocol = class; TMTHistoryTotalAnswer = class; TMTHistoryPageAnswer = class; TMTHistoryAnswer = class; TMTHistoryProtocol = class private ...
unit ThreadUtils; interface uses SysUtils, Classes, Windows; type tThreadQueue = class(tThreadList) protected procedure CallNext(l: TList); public // constructor Create; function Enter: THandle; // you can use handle to make Timers that can be dismissed from queue procedure Le...
unit ufmMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, Winapi.Messages, FMX.Platform.Win, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ListBox, Winapi.Windows, FMX.Layouts, uMultiDisplay;...
unit OTFEPGPDiskStructures_U; // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Classes, SysUtils, Windows; type // base types PGPUInt8 = Byte; PGPUInt16 = Wo...
unit Uptime; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, main, ExtCtrls; type TUptimeForm = class(TForm) Label1: TLabel; TimeLabel: TLabel; OkBtn: TButton; UptimeUpdateTimer: TTimer; procedure OkBtnClick(Sender: TObject); ...
// ---------------------------------------------------------------- // Programa em que o usuário informa o valor de um ângulo em graus // e o programa informa o seno e o cosseno deste ângulo. // // OBS: As funções Sin() e Cos() esperam um angulo em radianos. :~ // // Autor : Rodrigo Garé Pissarro - Beta Tester...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2013-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit ImageRGBLongData; interface uses Windows, Graphics, BasicDataTypes, Abstract2DImageData, RGBLongDataSet, dglOpenGL; type T2DImageRGBLongData = class (TAbstract2DImageData) private FDefaultColor: TPixelRGBLongData; // Gets function GetData(_x, _y, _c: integer):longw...
{$I-,Q-,R-,S-} {104¦ Catch That Cow. Croacia 2007 ---------------------------------------------------------------------- Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 <= N <= 100,000) on a nu...
namespace RemotingSample.Implementation; interface uses System, RemotingSample.Interfaces; type { RemoteService } RemoteService = public class(MarshalByRefObject, IRemoteService) private protected method Sum(A, B : Integer) : Integer; public end; implementation method RemoteService.Sum(A, B : ...
unit ThTypes; interface uses FMX.Types, System.Types, System.UITypes, System.Generics.Collections; type TSpotCorner = ( scUnknown = 0, scTop = 1, scLeft = 2, scRight = 4, scBottom = 8, scTopLeft = 3 {rsdTop + rsdLeft}, scTopRight = 5 {...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Demo.GeoChart.Marker; interface uses System.Classes, Demo.BaseFrame, cfs.GCharts; type TDemo_GeoChart_Marker = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation procedure TDemo_GeoChart_Marker.GenerateChart; var Chart: IcfsGChartProducer; //Defined as TInterface...
unit DXPUtils; interface uses Forms, Windows, Controls, StdCtrls, Graphics, DXPCommonTypes, DXPConsts, Types, Classes, PngImage; type TOption = ( opRequired, opPrimaryKey, opCompleteZeros ); procedure ShowMsgInformation(const aMsg: string); function TryFocus(aWinControl: TWinControl): boolean; function Method...
unit pd32hdrG; // -------------------------------------------------------- // converted from D:\Work\Delphi\headerconvertor\pd32hdr.h // 4/13/00 1:29:44 PM // -------------------------------------------------------- //=========================================================================== // // NAME: pd32hdr.h ...
unit UDParamFields; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UCrpe32; type TCrpeParamFieldsDlg = class(TForm) pnlParamFields: TPanel; lblName: TLabel; lbNames: TListBox; btnOk: TButton; btnClear: TButton; btnRanges: TBu...
{ Несчастным, решившим разобраться с моим модулем посвящается... } { Cherny } {****************************************************************************} procedure IGetKey;interrupt; function KeyPush:boolean;{Аналог KeyPressed} proc...
unit uShowMessage; {*|<PRE>***************************************************************************** 软件名称 FNM CLIENT MODEL 版权所有 (C) 2004-2005 ESQUEL GROUP GET/IT 单元名称 uShowMessage.pas 创建日期 2004-7-30 9:36:55 ...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
unit PE.Common; interface uses Windows, Generics.Collections; {$MINENUMSIZE 4} { Base types } type Int8 = ShortInt; Int16 = SmallInt; Int32 = Integer; IntPtr = NativeInt; UInt8 = Byte; UInt16 = Word; UInt32 = Cardinal; Dword = UInt32; PDword = ^Dword; TVA = UInt6...
unit SDFilesystem_FAT; interface uses Classes, Controls, Dialogs, SDFilesystem, SDPartitionImage, SDUClasses, SDUDialogs, SDUGeneral, SyncObjs, SysUtils, Windows; const FAT_INVALID_FILENAME_CHARS = '\/:*?"<>|'; VFAT_ATTRIB_FLAG_READONLY = $01; VFAT_ATTRIB_FLAG_HIDDEN = $02; VF...
{ Clever Internet Suite Version 6.2 Copyright (C) 1999 - 2006 Clever Components www.CleverComponents.com } unit clZLibStreams; interface {$I clVer.inc} uses Classes, SysUtils; type EclZLibError = class(Exception); TZAlloc = function (opaque: Pointer; items, size: Integer): Pointer; TZFree = procedu...
unit Objekt.Backup; interface uses SysUtils, Classes, IBX.IBServices, Objekt.Option, Vcl.Forms, Vcl.Controls; type TStartBackupEvent = procedure(Sender: TObject; aOption: TOption) of object; TEndBackupEvent = procedure(Sender: TObject; aOption: TOption) of object; TBackupErrorEvent = procedure(Sender: TObjec...
// // Generated by JavaToPas v1.5 20171018 - 170938 //////////////////////////////////////////////////////////////////////////////// unit android.media.PlaybackParams; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, Androidapi.JNI.os; type JPlaybackParams = interface; JPlaybackParamsClass =...
// Generated from CLDR data. Do not edit. unit NtNumberData; interface uses NtNumber, NtPattern; const // Afrikaans AF_LONG: array[0..23] of TAbbreviationRule = ( (Range: 1000; Plural: pfOne; Value: '0 duisend'), (Range: 1000; Plural: pfOther; Value: '0 duisend'), (Range: 10000; Plural: pfOne;...
unit uEndereco; interface Type TEndereco = class private Fcep: String; Flogradouro: string; Fbairro: String; Fnumero: String; Fcomplemento: String; Fcidade: String; FPais: String; FEstado: String; procedure Setcep(const Value: String); procedure Setbairro(const Value: Strin...
unit FGKX_LoadType; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RzPanel, Grids, AdvObj, BaseGrid, AdvGrid, ExtCtrls,FormEx_View, RzButton,cxSSTypes, cxControls, cxSSheet,Class_TYPE_IN_GKZF,Uni,UniConnct, RzSplit,Class_CORD_IN_GKZF; type TCel...
unit ui2ximg_mcm; interface uses Windows, Classes, uStrUtil, Graphics, SysUtils, GR32, GR32_Image, uI2XImg, mcmRegion, mcmImage, mcmImageFilter, mcmImageTransform, mcmImageTypeDef, mcmImageColor, mcmImageResStr, MapStream, uDWImage, uI2XConstants, Typinfo; ...