text stringlengths 14 6.51M |
|---|
{-------------------------------------------------- Progressive Path Tracing ---------------------------------------------------
This unit contains types for a vector (TVector), a ray (TRay), and all the implemented geometric primitives, as descendants of
the TPrimitive class. Those classes must expose three method... |
unit SelLangForm;
{
Inno Setup
Copyright (C) 1997-2006 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
"Select Language" form
$jrsoftware: issrc/Projects/SelLangForm.pas,v 1.18 2010/01/13 17:48:52 mlaan Exp $
}
interface
uses
Windows, Messages, SysUtil... |
unit UImportaExcel;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ComObj, Vcl.StdCtrls, Vcl.Buttons, FireDac.Comp.Client,
Vcl.Grids, Vcl.ExtCtrls, Vcl.Samples.Gauges;
type
TFImportaExcel = class(... |
{$REGION 'Copyright (C) CMC Development Team'}
{ **************************************************************************
Copyright (C) 2015 CMC Development Team
CMC 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 ... |
namespace Sugar;
interface
type
GuidFormat = public enum (&Default, Braces, Parentheses);
{$IF ECHOES}[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Auto, Size := 1)]{$ENDIF}
Guid = public {$IF COOPER}class mapped to java.util.UUID{$ELSEIF ECHOES}record mapped t... |
unit uLanDateTimeTools;
interface
uses
Types, Classes, SysUtils, Windows, System.UITypes, IniFiles, Forms;
function ServerDateTime(const AServerName: string): TDateTime;
function WorkstationDateTime(const AWorkstationName: string): TDateTime;
function ServerDate(const AServerName: string): TDateTime;
function Work... |
{
$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 rights reserv... |
unit CarrylessRangeCoder;
{$mode delphi}
{$packrecords c}
interface
uses
Classes, SysUtils, CTypes;
type
PInStream = ^TInStream;
TInStream = record
nextByte: function(self: PInStream): cuint8; cdecl;
end;
PCarrylessRangeCoder = ^TCarrylessRangeCoder;
TCarrylessRangeCoder = record
input: PInStr... |
{
Elabore um programa que entre com os dados de n (max. 20) pessoas (nome, rg, sexo, idade). Utilizar um vetor de
registros para armazenar esses dados. Em seguida, o programa deve exibir um relatório contendo todos os dados das
pessoas do sexo feminino com mais de 30 anos.
}
Program Exc5;
uses Crt;
Type
reg_p... |
unit UOperationsResumeList;
interface
uses
UThread, UOperationResume;
type
TOperationsResumeList = Class
private
FList : TPCThreadList;
function GetOperationResume(index: Integer): TOperationResume;
public
Constructor Create;
Destructor Destroy; override;
Procedure Add(Const OperationResu... |
// Author : Thierry Parent
// Version : 12.4
//
// HomePage : http://www.codeproject.com/csharp/TraceTool.asp
// Download : http://sourceforge.net/projects/tracetool/
// See License.txt for license informationunit unt_XTraceOptions;
unit unt_XTraceOptions ;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
ComObj, Act... |
unit MFichas.Model.Produto.Metodos.Buscar.Model;
interface
uses
System.SysUtils,
System.Generics.Collections,
MFichas.Model.Produto.Interfaces,
MFichas.Model.Entidade.PRODUTO;
type
TModelProdutoMetodosBuscarModel = class(TInterfacedObject, iModelProdutoMetodosBuscarModel)
private
[weak]
FParent:... |
unit uCanvas;
(* Generic off-screen drawing canvas *)
(* 2016-18 pjde *)
{$mode objfpc}{$H+}
{
Interpolation originally derived from FPCanvas whose copyright message reads :-
This file is part of the Free Pascal run time library.
Copyright (c) 2003 by the Free Pascal development team
Bas... |
{
MIT License
Copyright (c) 2017-2019 Marcos Douglas B. Santos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... |
program USubsystemProgram;
{$mode delphi} {$h+}
uses
Classes,FpSock,Process,SSockets,SysUtils;
type
TArrayOfString = array of String;
TTargetPlatform = class
Options:array of String;
Config,Symbol:String;
constructor Create(Options:array of String;Config,Symbol:String);
procedure Build(ProgramFile,BuildDir... |
{*********************************************************}
{* VPDBINTF.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit Eagle.ConsoleIO;
interface
uses Console;
type
IConsoleIO = interface
['{53469311-2F04-4568-9928-5E85CB2822EC}']
procedure WriteInfo(const Msg : string);
procedure WriteError(const Msg : string);
procedure WriteProcess(const Msg : string);
end;
TConsoleIO = class(T... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clRequestChooser;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Forms, Classes, Controls, StdCtrls, TypInfo, SysUtils, Dialogs, ComCtrls,
{$ELSE}
Vcl.Forms, System.Classes, Vcl.... |
// SAX for Pascal, Simple API for XML 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 SAXAdapters;
interface
uses SAX, SAXExt, BSAX, BSAXExt;
resourcestring
... |
unit LUX.GPU.Vulkan.Layere;
interface //#################################################################### ■
uses vulkan_core,
LUX.Data.List;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TVkLayeres<TVulkan_:class> = class;
TVkLayere<TVulkan_:class> = c... |
unit StockData_Import_tdx;
interface
uses
Classes, Sysutils, BaseApp,
define_datasrc, define_dealitem, define_price, define_stock_quotes,
StockMinuteDataAccess;
function ImportStockData_Minute_TDX_FromFile(AMinuteDataAccess: TStockMinuteDataAccess; AFileUrl: string): integer;
implemen... |
{
$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 uImportarExportarDados;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,cCadPessoa,
Dialogs, Grids, StdCtrls, Buttons, ExtCtrls,uRESTDWPoolerDB,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDA... |
unit NodeJS.Core;
interface
{forward type declarations}
type
//JFunction= class(JObject);
JFunction = procedure(data: variant);
Jchild_process= class(JObject);
JError= class(JObject);
JDate= class(JObject);
type
JNodeProcess = class;
JNodeBuffer = class;
function Process: JNodeProcess;
function Globa... |
unit k2Strings;
{ Библиотека "K-2" }
{ Автор: Люлин А.В. © }
{ Модуль: k2Strings - }
{ Начат: 11.04.2006 20:13 }
{ $Id: k2Strings.pas,v 1.3 2006/04/18 07:45:23 lulin Exp $ }
// $Log: k2Strings.pas,v $
// Revision 1.3 2006/04/18 07:45:23 lulin
// - cleanup.
//
// Revision 1.2 2006/04/11 17:55:28 lul... |
unit ListarVendas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Buttons, Vcl.Grids,
Vcl.DBGrids, Vcl.ComCtrls, Vcl.StdCtrls,ACBrUtil, ACBrNFeNotasFiscais, pcnConversao, pcnConversaoNFe,
ACBrNF... |
inherited dmOperacoesFiscais: TdmOperacoesFiscais
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWARMTCFOP'
' (CODIGO, OPERACAO, ISS_ALIQUOTA, ISS_FATOR, ISS_REDUTOR, DT_AL' +
'TERACAO, OPERADOR)'
'VALUES'
' (:COD... |
unit ActionHandler;
interface
uses
SysUtils, Classes, Generics.Collections, GlobalData;
type
TActionHandlerManager = class;
TActionHandlerKind = (hkRemoteProgram, hkScript, hkDefault, hkPlugin);
IActionHandler = interface
['{384E1135-64C2-43CE-853F-FC2D20F9B129}']
procedure ExecuteAction(UserData: ... |
unit modGlobals;
interface
uses
windows, messages;
//type
// TmodOBDProtocolFamily = (modOBDProtocolFamily_CAN, modOBDProtocolFamily_SAE_J1850, modOBDProtocolFamily_J1939,
// modOBDProtocolFamily_Custom);
//
//type
// TmodOBDProtocol = (modOBDProtocol_Auto, modOBDProtocol_SAE_J1850_PWM, modOBDProt... |
unit K609886857;
{* [Requestlink:609886857] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K609886857.pas"
// Стереотип: "TestCase"
// Элемент модели: "K609886857" MUID: (5625E4EF030E)
// Имя типа: "TK609886857"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit findonline;
{softpedia returns the following examples, need to test for each:
file name 0.0.0
file name 0.0.0 / 0.0.0 Beta
file name 0.0.0 Build 0
file name 0.0.0 r0
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TFindOnline }
TFindOnline = class(TThread)
private
FStatus:... |
unit FoldersInfoKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы FoldersInfo }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Folders\Forms\FoldersInfoKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "FoldersInfoKeywordsPack" MUID: (4ABCD261014B_Pack)... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.IO,
RemObjects.Elements.EUnit;
type
FolderTest = public class (Test)
private
Data: Folder;
public
method Setup; override;
method TearDown; override;
method CreateFile;
method CreateFolder;
method Delete;
method GetFile;
me... |
{
Exercicio 37: Um cinema colheu de um espectador as respostas de um questionário, no qual constava: sua idade e sua
opinião em relação ao filme, segundo as seguintes notas:
Nota Significado
A Ótimo
B Bom
C Regular
D Ruim
E Péssim... |
Unit Systematic.FMX.MacAddress;
//************************************************//
// Getting MAC Addresses //
// Systematic.FMX.MacAddress; //
// provided as is, no warranties //
//************************************************//
Interface
Uses Syst... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clImap4FileHandler;
interface
{$I clVer.inc}
{$IFDEF DELPHI6}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}... |
///--//
// Programa autoria de Miguel N.. Licensiado sobre a Apache License 2.0.
Program CalculadoraCientifica;
Uses Math;
const pi = 3.1416;
var tecla : integer;
MAT_CALC, MAT_CALC_VOL_A, MAT_CALC_VOL_FINAL, MAT_VOL_FINAL, MAT_PYT_CALC, MAT_PYT_CALC_FINAL, MAT_SQR_FINAL, MAT_TRIG_sine, MAT_TRIG_cossine, MAT_TRIG_... |
{ Subroutine SST_R_SYN_DOIT (FNAM, GNAM, STAT)
*
* Process one top level SYN language input file. FNAM is the input file name.
* GNAM is returned as the generic name of FNAM. Each call to this routine
* adds to the single module that was created when this SST front end was
* initialized (SST_R_SYN_INIT call... |
unit ImageButton;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
TButtonType = (btButton, btCheckBox, btSwitch);
{ TImageButton }
TImageButton = class(TGraphicControl)
private
FButtonState: Integer;
FBuffer: Array of TBitmap;
FButt... |
unit SettingsForma;
interface
{$I defines.inc}
uses
Vcl.Menus, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Data.DB,
Vcl.ComCtrls, Vcl.Mask, System.Classes, Vcl.Forms, Winapi.Windows,
System.SysUtils, System.Variants, Vcl.Graphics, Vcl.Dialogs,
FIBQuery, pFIBQuery, OkCancel_frame, FIBDataSet, pFIBDataSet,
D... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
ListBox1: TListBox;
procedure Button1Click(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
... |
{$I tdl_dire.inc}
{$IFDEF USEOVERLAYS}
{$O+,F+}
{$ENDIF}
unit tdl_cach;
{
Encapsulates title file/data cache functionality into an object.
The title cache is the base directory where titles are uncompressed into
before they can be launched.
}
interface
uses
tdl_glob,
strings,
objects,
DOS;
type
PFileCach... |
unit a3unit;
{ This unit contains a sample solution to assignment 2 which has been expanded
to allow AVL tree insertion. The insert procedure has been modified to call
a private procedure named "rebalance" that restores the AVL property. This
procedure updates the balance fields from the new node upwards ... |
unit np.json;
interface
uses sysUtils, Generics.Collections;
type
TJSONType = (json_null, json_int, json_text, json_object, json_array, json_boolean);
TJSONPair = class;
TJSONArray = TObjectList<TJSONPair>;
TJSONObject = TDictionary<String,TJSONPair>;
PSearchControl = ^TSearchControl;
TSea... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y... |
unit LUX.GPU.Vulkan.Pipeli;
interface //#################################################################### ■
uses System.Generics.Collections,
vulkan_core, vulkan_win32,
vulkan.util,
LUX.GPU.Vulkan.Shader;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TVk... |
unit UMainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, UFigure, UCircle, URectangle, UTriangle;
const
MaxN = 100;
type
TMainForm = class(TForm)
image: TImage;
rgFig: TRadioGroup;
lbPoint: TLab... |
{
lzRichEdit
Copyright (C) 2010 Elson Junio elsonjunio@yahoo.com.br
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later ver... |
unit InfoBook;
interface
uses
Classes, ExtCtrls, Controls, Messages{, Buffer, TileManager, TilePanel};
type
TInfoBook = class;
CInfoBookPage = class of TInfoBookPage;
TInfoBookPage =
class( TCustomPanel )
public
constructor Create( anOwner : TComponent ); override;
... |
{!DOCTOPIC}{
Imaging functions
}
{!DOCREF} {
@method: function se.GaussKernel(Radius: Integer; Sigma:Single): T2DFloatArray;
@desc: Generates a gussin matrix/kernel.
}
function SimbaExt.GaussKernel(Radius: Integer; Sigma:Single): T2DFloatArray;
begin
Result := exp_GaussKernel(Radius, Sigma);
en... |
unit NOT_FINISHED_TestFrameWork;
// Модуль: "w:\common\components\rtl\external\DUnit\src\NOT_FINISHED_TestFrameWork.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "TestFrameWork" MUID: (4B2A0DCE03A9)
interface
{$If Defined(nsTest)}
uses
l3IntfUses
, SysUtils
;
type
TTestResult = class(TObject)
private
... |
unit Weather.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
System.Net.HttpClient, Vcl.StdCtrls, IPPeerClient, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope, Weather.Classes, System.JSON,
... |
unit SoundMixer;
interface
uses
SoundTypes, SoundCache;
const
cMaxAllowedSounds = 30;
// it does not make sense to create more than one instance of this class
type
TSoundMixer =
class
private
fMaxAllowedSounds : integer;
fSounds : array [0..cMaxAllowe... |
unit k2ProcessorTagTool;
// Модуль: "w:\common\components\rtl\Garant\K2\k2ProcessorTagTool.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tk2ProcessorTagTool" MUID: (4BBF3D8B00CD)
{$Include w:\common\components\rtl\Garant\K2\k2Define.inc}
interface
uses
l3IntfUses
, k2TagTool
, k2PureMixIns
, k2Interfaces... |
unit TextShortcuts;
interface
uses
Classes, Menus, Collection;
type
TShortcutInfo =
class
public
constructor Create( aDesc : string; aShortcut : TShortcut; aText : string );
private
fDesc : string;
fShortcut : TShortcut;
fText : string... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSshDHGEX;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$ELSE}
System.Classes, System.SysUtils,
{$ENDIF}
clUtils, clSshKeyExchanger, clCryptKex, clSshPac... |
unit ufrmTitulos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.ToolWin, uTitulosControl, Vcl.WinXCtrls,
Vcl.StdCtrls, Vcl.Mask, RxToolEdit, ... |
unit xGradient;
interface
uses Classes, Graphics, Controls, xGraphUtils;
type
TxGraphicControl = class(TGraphicControl)
public
property Canvas;
end;
TxCustomControl = class(TCustomControl)
public
property Canvas;
end;
TxGradient = class(TPersistent)
private
FDirection... |
unit USort;
interface
const
N = 100;
type
TExperiment = record
X:Integer;
res:Real;
end;
TMas = Array[0 .. N-1] Of TExperiment;
procedure sort(var ar: TMas; m, l:integer);
procedure QuickSort(var ar: TMas; cnt:integer);
implementation
... |
unit evCellInfo;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Модуль: "w:/common/components/gui/Garant/Everest/evCellInfo.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root element: <<Simple... |
program ex;
uses crt,Graph, unit1;
Type pChar=^TChar;
{описание абстрактно класса}
TChar=object
ch:char;
x,y:integer;
constructor Init(ach:char; ax,ay:integer);
procedure Move(t:integer);
procedure Rel(t:integer); virtual;
destructor Done; virtual; {деструктор обязателен, так как
... |
unit unitMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Generics.Collections, System.Threading, System.IOUtils,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.Controls.Presentation, FMX.Edit, FMX.ListView,
F... |
unit osDBDualTree;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, ExtCtrls, ComCtrls, DB,
Variants, StdCtrls;
type
TNodeSelectEvent = procedure(LeafSelected: boolean) of object;
TVariantRef = class(TObject)
private
FValue: Variant;
public
constructor Create(AValue:... |
unit uUtils;
{$mode objfpc}{$H+}
interface
function Iif(Cond:boolean; const TrueResult:String; const FalseResult:string):string;overload;
function Iif(Cond:boolean; const TrueResult:integer; const FalseResult:integer):integer;overload;
function IfEmpty(const S:String; const ThenReplace:string):string;
implementati... |
unit internet;
interface
uses WinInet, Winapi.Windows, System.SysUtils;
function verificarConexaoComInternet(): Boolean;
function checkUrl(url: string): boolean;
implementation
function verificarConexaoComInternet(): Boolean;
var
i: dword;
begin
Result := InternetGetConnectedState(@i, 0);
end;
function checkU... |
//Font https://github.com/vintagedave/transparent-canvas
unit TransparentCanvas;
{
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... |
unit MobileMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts,
FMX.Edit, FMX.ListBox, FMX.StdCtrls, FMX.TabControl, System.Actions,
FMX.ActnList;
type
TfrmMobileMain = class(TFor... |
{*********************************************************}
{* VPTASKLIST.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit FiveLogonDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TFiveLogonDlg = class(TForm)
Notebook1: TNotebook;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
ServerAddress: T... |
unit ssLabel;
interface
uses
SysUtils, Classes, Controls, StdCtrls, Types, Graphics;
type
TssDisabledDraw = (ddStandard, ddUser);
TssLabel = class(TLabel)
private
FDisabledDraw: TssDisabledDraw;
FDisabledColor: TColor;
procedure SetDisabledDraw(const Value: TssDisabledDraw);
... |
unit Views.Samples;
interface
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, Fir... |
unit IniOpts;
interface
uses
Classes,
SysUtils,
ElHeader,
ElTree,
ElOpts;
type
TOptions = class(TElOptions)
private
FSort: Boolean;
FOneInstance: Boolean;
FLazyWrite: Boolean;
FSimple: Boolean;
FLoadLastUsed: Boolean;
FShowDailyTip : Boolean;
procedure SetLazyWrite(newValue:... |
unit ValidationRules.TestSuite;
interface
uses
TestFramework, System.SysUtils, System.Variants,
Framework.Interfaces,
EnumClasses.TDataType,
ValidationRules.TIsEmptyValidationRule,
ValidationRules.TMaxLengthValidationRule,
ValidationRules.TDataTypeValidationRule;
type
TTIsEmptyValidationRu... |
unit Utils;
interface
uses
GDIPAPI, GDIPOBJ, System.Types, Winapi.Windows, System.SysUtils, Vcl.Graphics;
procedure RotateFlipBitmap(Bitmap, Dest: TBitmap; RotateFlipType: TRotateFlipType);
procedure SmoothScaleBitmap(Source, Dest: TBitmap; OutWidth, OutHeight: integer);
function ForceForegroundWindow(hwnd: THandl... |
unit SpawnCommon;
{
Inno Setup
Copyright (C) 1997-2007 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Constants and types shared by the SpawnServer and SpawnClient units
$jrsoftware: issrc/Projects/SpawnCommon.pas,v 1.2 2007/09/04 00:51:58 jr Exp $
}
int... |
//Exercicio 53: Faça um algoritmo que leia 4 números inteiros e, informe, quantos e quais deles são pares.
{ Solução em Portugol
Algoritmo Exercicio 53;
Var
N,contador,acumulador: inteiro;
Inicio
exiba("Programa que lê 4 números e diz quais/quantos são pares.");
acumulador <- 0;
para contador <- 1 até ... |
unit cyColorMatrix;
{ Component(s):
tcyColorMatrix
Description:
It's a color matrix representation !!!
This component allow best performance than TcyColorGrid
despite of non published ColorList property ...
Author: Mauricio
mail: mauricio_box@yahoo.com
$$$$$$$$$$$$$$$$$$... |
unit uBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.ImgList, Data.Win.ADODB,
uDMConnection, uMainDataSet, System.Actions, Vcl.ActnList, Vcl.Menus,
Vcl.ExtCtrls, uBaseCustom, RxMenus, Data... |
inherited dmComissaoVendedores: TdmComissaoVendedores
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWOPETPCOM'
' (CGC, CODIGO, COMISSAO_BASE, VND_VALIDADE, VND_CONDICAO, VND_C' +
'OMISSAO, VND_GARANTIA, DT_ALTERACAO, OPERADOR)'
... |
program TESTSTA3 ( OUTPUT ) ;
//*************************************************************************************
//$A+,X+
//*************************************************************************************
// assignment to const co... |
{ *************************************************************************** }
{ }
{ Gnostice Shared Visual Component Library }
{ }... |
{
*****************************************************************************
* *
* This file is part of the iPhone Laz Extension *
* *
*... |
unit fuMTSearch;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, AdvObj, BaseGrid, AdvGrid, DateUtils,
Vcl.StdCtrls, Vcl.ExtCtrls, AdvGlowButton, AdvEdit, W7Classes, W7Bars, AdvUtil, ShellAPI,
Adv... |
//Exercicio 27: Escreva um algoritmo que receba um número inteiro e exiba se esse número é par ou ímpar.
{ Solução em Portugol
Algoritmo Exercicio 27;
Var
numero: inteiro;
Inicio
exiba("Programa que avalia se um número é par ou ímpar.");
exiba("Digite um número inteiro:");
leia(numero);
se(resto(numer... |
unit MdiChilds.CalcRowsCount;
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.ComCtrls, Vcl.ExtCtrls, MdiChilds.ProgressForm,
MdiChilds... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSshAuth;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes,
{$ELSE}
System.Classes,
{$ENDIF}
clSshUserIdentity, clSshUserKey, clSshPacket, clConfig, clUtils;
type
Tcl... |
unit clRestricaoEntrega;
interface
uses clConexao;
type
TRestricaoEntrega = Class(TObject)
private
function getNossoNumero: String;
function getRestricao: Integer;
procedure setNossoNumero(const Value: String);
procedure setRestricao(const Value: Integer);
constructor Create;
destructor ... |
(*------------------------------------------------------------------
BinominalCoefficientNice || Neuhold Michael 24.10.2018
Calculate the binomial coefficient (k choose n).
introducing a Factorial function
bc = n! DIV (k! *(n-k)!)
------------------------------------------------------------------*)
PROGRAM... |
unit eAtasOrais.Model.ClasseAlunosConceitos;
interface
Type
tAlunosConceitos = class
Private
FConceito: string;
FAluno: string;
procedure SetAluno(const Value: string);
procedure SetConceito(const Value: string);
Public
Property Aluno : string read FAluno write SetAluno;
... |
{ Subroutine SST_W_C_POS_POP
*
* Pop old writing position from stack and restore it as the current writing
* position. This subroutine is a matched pair with SST_W_POS_PUSH.
}
module sst_w_c_POS_POP;
define sst_w_c_pos_pop;
%include 'sst_w_c.ins.pas';
procedure sst_w_c_pos_pop; {pop old position fro... |
{ Demo for fast html parser
Try arrays }
program project1;
{$mode objfpc}{$H+}
uses
fasthtmlparser, // html parser
arrhtmlparser, // same as fasthtmlparser but stores all tags/text in an array for later use
sysutils;
const
HTMStringA = '<html><head></head><body><p>some text</p> <b>text in ... |
unit ManuallyConnectTask;
interface
uses
Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, Inventions, FacIds;
type
TMetaManuallyConnectTask =
class(TMetaTask)
private
fToFacId : TFacId;
fFromFacId : TFacId;
public
property ToFacId : integer read f... |
unit Map;
interface
uses Engine, MapCustom, Tile;
type
TCell = record
ID: Byte;
// Tile : Tiles;
end;
TCells = array of array of TCell;
TMap = class(TMapCustom)
private
Tile: TTiles;
FCell: TCells;
public
property Cell: TCells read FCell write FCell;
procedur... |
unit qrFramelines;
{====================================================================
Class TQRFrameline
Placed on a band, these controls make vertical lines
at the XPos location.
(c) 2005 QBS Software
DLM - march 2005 : Thanks to Mark Yang for the notion of a frame grid.
=======================... |
unit ddServerBaseEngine;
interface
{$Include csDefine.inc}
uses
CsDataPipe, CsServer, csCommon, daDataProviderParams,
ddBaseEngine, daTypes;
type
TServerBaseEngine = class(TBaseEngine)
private
f_CSServer: TCSServer;
f_ServerHostName: String;
f_ServerPort: Integer;
f_AutolinkEnabled: Boolean;
procedure... |
{ Invokable interface IServico }
unit ServicoIntf;
interface
uses InvokeRegistry, Types, XSBuiltIns, Classes, uLib;
type
{ Invokable interfaces must derive from IInvokable }
IServico = interface(IInvokable)
['{C10CE1E8-ED99-4A45-9DFD-ABDD9B0DEACB}']
function SendNotFis(ChaveAut: string; aNomeArquivo: strin... |
// ------------------------------------------------------------------------- //
// //
// Unit: Math //
// Versão: 1.1v //
... |
unit HouseWorkForma;
interface
uses
Vcl.Forms, Vcl.Controls, Vcl.StdCtrls, Vcl.Mask, System.Classes,
Data.DB, WinAPI.Windows, WinAPI.Messages, System.SysUtils,
System.Variants, VCL.Graphics, VCL.Dialogs, Vcl.DBCtrls,
DBLookupEh, OkCancel_frame, DBGridEh, FIBDatabase,
pFIBDatabase, FIBDataSet, pFIBDataSet, ... |
unit jc.S3Amazon;
interface
uses
Classes, SysUtils, Data.Cloud.CloudAPI, Data.Cloud.AmazonAPI, IPPeerClient;
type
TAws = class
private
class var FInstance: TAws;
FConnection: TAmazonConnectionInfo;
FS3: TAmazonStorageService;
FS3Region: TAmazonRegion;
FAccessKey: String;
FSecretKey: ... |
unit tmsUXlsSections;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses Classes, SysUtils, tmsUXlsBaseRecords, tmsUXlsBaseRecordLists, tmsUXlsOtherRecords,
tmsUXlsSST, tmsXlsMessages, tmsUFlxMessages, tmsUOle2Impl;
type
TBaseSection = class
private
FBOF: TBOFRecord;
FEOF: TEOFRecord;
protected
proper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.