text stringlengths 14 6.51M |
|---|
unit gl2PSUnit;
interface
uses OpenGl, classes;
Const
GL2PS_PS = 0;
GL2PS_EPS = 1;
GL2PS_TEX = 2;
GL2PS_PDF = 3;
GL2PS_SVG = 4;
GL2PS_PGF = 5;
// Sorting algorithms
GL2PS_NO_SORT = 1;
GL2PS_SIMPLE_SORT = 2;
GL2PS_BSP_SORT = 3;
// Message levels and error codes
GL2PS_SUCCESS ... |
//
// Generated by JavaToPas v1.5 20160510 - 150222
////////////////////////////////////////////////////////////////////////////////
unit android.bluetooth.BluetoothGatt;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.bluetooth.BluetoothDevice,
android.bluetooth.BluetoothGattCharacteri... |
program TestUDPNetworking;
uses
sgNetworking, sgTypes, sgUtils;
const
LISTEN_PORTB = 49876;
LISTEN_PORTA = LISTEN_PORTB + 1;
procedure Pause();
begin
Write('Press enter to continue.');
ReadLn();
// Delay(1000);
end;
procedure Main();
var
svr: ServerSocket;
toSvr: Connection = nil;
toClient: Conne... |
{******************************************************************************}
{ }
{ Delphi PnHttpSysServer }
{ ... |
unit HttpDownloader;
{$mode delphi}
interface
uses curl;
type
FZDownloaderThread = class;
{ FZFileDownloader }
FZDownloadResult = ( DOWNLOAD_SUCCESS, DOWNLOAD_ERROR );
FZFileDownloader = class
public
constructor Create(url:string; filename:string; compression_type:cardinal; thread:FZDownloaderThrea... |
{..............................................................................}
{ Summary Checks for valid pins of symbols in a library. }
{ }
{ Copyright (c) 2004 by Altium Limited ... |
unit U_FrmConversation;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.Imaging.pngimage, U_User, U_StoredProceduresInterface, Data.Win.ADODB, U_Central_Unit;
type
T... |
PROGRAM HelloDelphi;
{$APPTYPE CONSOLE}
VAR MSG: STRING;
BEGIN
MSG := 'HELLO DELPHI!!';
Writeln(MSG);
END.
|
unit mainform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus,
ShellCtrls, FileCtrl, StdCtrls, EditBtn, ComCtrls, SynEdit;
type
{ TForm1 }
TForm1 = class(TForm)
edDirectory: TDirectoryEdit;
lbFiles: TFileListBox;
cbFilter: TFilterCombo... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms,
FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.ListView.Types, FMX.Controls.Presentation, FMX.ListView, FMX.Objects,
FMX.ListView.Appearances, FMX.ListView.Adapters.Base, ... |
unit MainPromoClass;
interface
uses PromoConfigClass, dbClient, uSaleItem, PromoClass, PromoSaleClass, PromoFactoryClass, PromoItemClass, uSystemConst;
type
TMainPromo = class
private
fSaleItem: TSaleItem;
promoItem: TPromoItem;
promoFactory: TPromoFactory;
promo: TPromo;
fCoupon: ... |
//=============================================================================
// sgWeb.pas
//=============================================================================
/// SwinGame Web code allows you to create and access web resources. You can create a simple web server
/// or access web pages and applications.... |
unit StockDetailDataAccess;
interface
uses
define_DealItem,
define_datasrc,
BaseDataSet,
QuickList_int,
define_stock_quotes;
type
TStockDetailDataAccess = class(TBaseDataSetAccess)
protected
fStockItem: PRT_DealItem;
fDetailDealData: TALIntegerList;
fDataSource: TDealDataSource;
fFi... |
unit uBase128;
{
Copyright (c) 2015 Ugochukwu Mmaduekwe ugo4brain@gmail.com
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 ... |
{..............................................................................}
{ Summary Demo how to create a new symbol in the library }
{ Copyright (c) 2004 by Altium Limited }
{............................................................................... |
unit uNewModelReceipt;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, StdCtrls, siComp, siLangRT, Buttons, ExtCtrls;
type
TNewModelReceipt = class(TFrmParentAll)
lblReceiptText: TLabel;
mmReceiptText: TMemo;
btOK: TButton;
pro... |
unit Main;
{$mode objfpc}{$H+}
//========================================================================================
//
// Unit : Main.pas
//
// Description :
//
// Called By : ManufacturerDB : TfrmManufacturerDB.FormShow
// AppInit : Initialize
//
// Calls : AppFinal : Finalize
// AppI... |
unit LODPostProcessing;
interface
{$INCLUDE source/Global_Conditionals.inc}
uses LOD;
type
TLODPostProcessing = class
private
FQuality: integer;
public
constructor Create(_Quality: integer);
procedure Execute(var _LOD: TLOD);
end;
implementation
uses... |
unit uRemoteAccessDemoMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls,
apiRemote;
const
sCaption = 'Remote Access Demo';
sCaptionWithVersion = 'Remote Access Demo - AIMP v%s Build %d is running';
type
{ TfrmRemoteAccess... |
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
Unit
EquipmentItem
*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
[2007/10/25] Helios - RaX
================================================================================
License: (FreeBSD... |
unit DataAccess.Base;
interface
uses
Data.DB, System.SysUtils;
type
TDAOConfig = class
strict private
FAutoOpenDataSet: Boolean;
public
property AutoOpenDataSet: Boolean read FAutoOpenDataSet
write FAutoOpenDataSet;
end;
TBaseDAO = class(TInterfacedObject)
strict private
FConfig: TDA... |
unit LrDocument;
interface
uses
SysUtils, Classes, Controls, ActnList, Contnrs, Dialogs;
type
TLrDocumentManager = class;
TLrDocumentAction = TAction;
//
TLrController = class(TComponent)
public
procedure Activate; virtual;
procedure Deactivate; virtual;
procedure LazyUpdate; virtual;
en... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls;
type
TCaption = string;
TForm1 = class(TForm)
Table: TStringGrid;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Xwin: TLabel;
Owin: TLabel;
Button1: TB... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
MaleLabel: TLabel;
FemaleLabel: TLabel;
NeutralLabel: TLabel;
MaleInfo: TLabel;
FemaleInfo: TLabel;
NeutralInfo: TLabel;
LanguageButton... |
unit Win11CornersMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.TitleBarCtrls,
Vcl.ExtCtrls;
type
TWin11CornersForm = class(TForm)
Button1: TButton;
Button2: TButton;
But... |
unit HCCompiler;
interface
uses
Classes, SysUtils, Vcl.Dialogs, Generics.Collections, PaxCompiler, PaxProgram, PaxRunner,
HCSynEdit, SynEditTypes, PaxRegister, PaxJavaScriptLanguage, IMPORT_Classes,
IMPORT_SysUtils, IMPORT_Dialogs, IMPORT_Variants;
const
ProposalCommColor = '$00A00000';
type
... |
// 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 Classes.Box;
interface
uses
Interfaces.Box,
Vcl.ExtCtrls,
System.Classes,
System.Types,
Vcl.Imaging.pngimage,
Vcl.Controls;
type
TBox = class(TInterfacedObject, IBox)
strict private
var
FPosition: TPoint;
FImage: TImage;
FOwner: TGridPanel;
png: TPngImage;
FKey: Integer;
... |
(* ----------------------------------------------------------------------------
Module: ADSI Searching in Delphi
Author: Marc Scheuner
Date: July 17, 2000
Changes:
Description:
constructor Create(aOwner : TComponent); override;
Creates a new instance of component
destructor Destroy;... |
unit uGrantRulesAdd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxButtonEdit, StdCtrls, cxButtons,
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxTextEdit, cxControls,
cxContainer, cxEdit, cxLabel, ibase, ucs_types,uCs_loader,
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit uLogController;
interface
uses SysUtils, uPadraoDAO, dialogs, FireDAC.Comp.Client, uDmAcessaBanco, uUsuarioModel;
type
TLogController = class
private
FUsuario: TUsuarioModel;
FQuery: TFDQuery;
procedure SetUsuario(const Value: TUsuarioModel);
function RetornaPrimaryKey(ACampoCodigo, ATabela:... |
unit TestStudentEditDialog;
interface
uses
Controls,
uStudentEditDialog,
FutureWindows;
implementation
uses
Windows,
Messages,
SysUtils,
TestFramework,
TestCaseBase,
uModel,
Forms;
type
TStudentEditDialogTestCase = class(TTestCaseBase)
published
procedure TestEditCadastro1;
procedure ... |
unit ModuleOperationsUnit;
interface
uses System.Types, Winapi.Windows, System.SysUtils, SplashScreenUnit,
System.Classes, TypInfo;
const
ProcCountPerModule = 21;
ControlCodeMarker = '>';
StartAll = -1;
type
TModuleType = (input_and_output, only_input, only_output,
no_input_and_no_output... |
program example;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}cthreads,{$ENDIF}{$ENDIF}
Classes, SysUtils, Math, FGL, NamedPipes;
const
ServerInstances = 5;
ClientInstances = 20;
ClientDelayMin = 100;
ClientDelayMax = 500;
ClientNumMessages = 3;
ServerIdleTimeout = 5000;
UniquePipeName... |
{ ******************************************************* }
{ *
{* uSeriesTracker.pas
{* Delphi Implementation of the Class SeriesTracker
{* Generated by Enterprise Architect
{* Created on: 09-févr.-2015 11:42:14
{* Original author: Labelleg OK
{*
{***************************************... |
//
// Generated by JavaToPas v1.5 20140918 - 132003
////////////////////////////////////////////////////////////////////////////////
unit android.widget.SeekBar;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNI.Util,
android.view.accessibi... |
unit DSA.Sorts.SelectionSort;
interface
uses
Classes,
SysUtils,
DSA.Interfaces.Comparer,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
{ TSelectionSort }
TSelectionSort<T> = class
private type
TArray_T = TArray<T>;
ICmp_T = IComparer<T>;
var
class procedure __swap(var a, b: T);
p... |
(*
Category: SWAG Title: SEARCH/FIND/REPLACE ROUTINES
Original name: 0012.PAS
Description: STRPOS.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:46
*)
(*
Hi, Andy:
...Just for fun I also threw together a "PosSearch" routine
that uses the built-in TP "POS" function. It actually performs
better than... |
unit Mixi;
interface
uses
IdHttp, MD5, SysUtils, Classes, superxmlparser, superobject, IdSSLOpenSSL,
HttpLib, Crypt;
const
AUTH_ENDPOINT = 'https://mixi.jp/connect_authorize.pl';
TOKEN_ENDPOINT = 'https://secure.mixi-platform.com/2/token';
API_DESC = 'This is the test project for mi... |
unit USettings;
interface
type
TSettings = record
public
Persist: boolean;
MasterFolder: string;
GeneratedFolder: string;
GenerateIPhone: boolean;
GenerateIPad: boolean;
GenerateAndroid: boolean;
OnlyGenerateRequired: boolean;
CreateNewFiles: boolean;
OptimizePng: boolean;
O... |
unit uMachMask; // © Alexandr Petrovich Sysoev
interface
uses
Classes;
/// ////////////////////////////////////////////////// Работа со списком шаблонов
// Функции предназначены для сопоставления текстов (имен файлов) на
// соответствие заданному шаблону или списку шаблонов.
// Обычно используется для по... |
unit ThImageList;
interface
uses
SysUtils, Classes, Controls, Graphics,
ThComponent;
type
TThImageList = class(TThComponent)
private
FImageList: TImageList;
protected
function GetJpegStream(inIndex: Integer): TStream;
procedure SetImageList(const Value: TImageList);
public
constructor C... |
program questao12;
{
Autor: Hugo Deiró Data: 03/06/2012
- Este programa calcula o salário líquido de uma pessoa através do número de horas trabalhadas no mês
e do valor da hora de trabalho
}
var
horas_trabalhadas : integer;
valor_hora : real;
begin
write('Insira o valor da hora de trabalho: ');
readln... |
unit InflatablesList_ItemShop_Base;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
AuxTypes, AuxClasses{for TNotifyEvent},
InflatablesList_Types,
InflatablesList_ItemShopParsingSettings;
type
TILItemShopUpdateFlag = (ilisufClearSelected,ilisufOverviewUpdate,ilisufShopListItemUpdate,
... |
unit ControllerObjectList;
interface
uses ControllerObjectItem, ControllerDataTypes;
type
TControllerObjectList = class
protected
FObjects: array of TControllerObjectItem;
// Gets
function GetItem(_ObjectID: TObjectID): TControllerObjectItem;
function GetObj... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit AStar64.LandMark;
interface
uses
SysUtils, Classes, Types, StrUtils, IOUtils, Math,
System.Generics.Collections, System.Generics.Defaults,
AStar64.Extra, AStar64.FileStructs, JsonDataObjects, Ils.Json.Names, Ils.Json.Utils,
Geo.Pos, Geo.Calcs, Geo.Hash,
slogsend;
const
CIndexFileExt = '.idx';
CRe... |
unit controller;
interface
uses
System.Classes, class_.util, IdCustomHTTPServer, IdGlobal;
type
TController = class(TInterfacedPersistent)
private
class var fCount : Integer;
fRequestInfo : TIdHTTPRequestInfo;
fResponseInfo: TIdHTTPResponseInfo;
function getRequestInfo: TIdHTTPRequestInfo;
... |
unit SuperEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TSuperEdit = class(TEdit)
private
FAlignment : TAlignment;
FOnPressEnter : TNotifyEvent;
procedure SetAlignment(Value: TAlignment);
protected
procedure CNKeyDown(var Messa... |
unit Unit1;
// -----------------------------------------------------------------------------
//
// Random SVG star
//
// B.J.H. Verhue
//
// -----------------------------------------------------------------------------
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Class... |
unit NetMsg;
// *****************************************************************************
// *****************************************************************************
// IMPORTANT!
// *****************************************************************************
// *******... |
unit CompareBytes;
interface
uses
Windows, SysUtils, Classes;
function CompareFastBytes(const Data1,Data2:Pointer; const DataSize:integer):boolean;
function CompareFastBytesEx(const Data1:Pointer; const Size1:integer; const Data2:Pointer; const Size2:integer): Integer;
implementation
function CompareSlowBytes(Da... |
//*****************************************//
//*****设置前台POS钱箱,打印机,显示屏*****//
//函数接口:ShowSetForm
//内部接口:由各DLL组成//
//作者:
//日期:
//***************************************//
unit Pform_SetPos;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, But... |
unit GLDRingParamsFrame;
interface
uses
Classes, Controls, Forms, ComCtrls, StdCtrls, GL, GLDTypes, GLDSystem,
GLDRing, GLDNameAndColorFrame, GLDUpDown;
type
TGLDRingParamsFrame = class(TFrame)
NameAndColor: TGLDNameAndColorFrame;
GB_Params: TGroupBox;
L_Radius1: TLabel;
L_Radius2:... |
{--------------------------------------------------------}
{
{ Simulador de mouse e teclado
{
{ Versăo 2 - năo usa biblioteca externa
{
{ Autor: José Antonio Borges
{
{ Em 11/05/2008
{
{--------------------------------------------------------}
unit dvmacro;
interface
uses windows, messages, sysUtil... |
unit Reg;
interface
uses windows;
type
TFun=function(name:string):boolean;
procedure AddValue(Root: HKEY; StrPath: pchar; StrValue: pchar; Strdata: pchar;
DataType: integer);
procedure AddValue2(Root: HKEY; StrPath: pchar; StrValue: pchar; Strdata: pchar);
procedure DelValue(Root: HKEY; StrPath: pchar; StrValue:... |
unit fPlotColors;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.UITypes,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Buttons,
Vcl.ComCtrls,
OpenGLTokens,
uGlobal,
fFunctions,
f... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: ARBProgram<p>
Some useful methods for setting up ARB vertex and fragment programs.<p>
<b>History : </b><font size=-1><ul>
<li>31/03/07 - DaStr - Added $I GLScene.inc
<li>11/10/04 - SG - Creation
</ul></font>
}
unit ARBProgra... |
unit Demo.Trendlines.Exponential;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_Trendlines_Exponential = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_Trendlines_Exponential.GenerateChart;
var
Chart: IcfsGChartProducer; /... |
unit AArray;
interface
uses Windows, Classes, Variants, DB, Forms;
const
AARRAY_NULL_STRING = 'null';
type
TAArray = class;
TAArray = class
private
fValue : Variant;
fObject : TObject;
fNames : array of Variant;
fArrays : array of TAArray;
function GetValue(Index : Variant) : TAArray;
function... |
unit OpenSSL.CoreTests;
interface
uses
TestFramework, System.SysUtils, System.Classes, OpenSSL.Api_11, OpenSSL.Core;
type
TSSLCoreTest = class(TTestCase)
strict private
public
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestBase64Encode;
procedure TestBytesT... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Toon shader : Toon shading also called Cell Shading
At this time only one light source is supported
}
unit VXS.GLSLToonShader;
interface
//{$I VXScene.inc}
uses
System.Classes,
//VXScene
VXS.Scene, ... |
unit Demo.Miscellaneous.Formatters;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_Miscellaneous_Formatters = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
uses
System.SysUtils, System.DateUtils;
procedure TDemo_Miscellaneous_Formatters.G... |
unit fmeSDUBlocks;
// NOTE: When the panel has *no* blocks, the control's Caption will be shown
// instead
{shows a chart of diff colour blocks eg. for partitions display }
{ TODO -otdk -cenhance : pos replace with chart component }
interface
uses
Classes, fmeBaseOptions,
CommonSettings, C... |
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2010 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "License"); you may ... |
{=====================================================================================
Copyright (C) combit GmbH
--------------------------------------------------------------------------------------
File : viewer.pas, viewer.dfm, Llviewer.dpr
Module : List & Label Viewer example
Descr. : D: Dieses Beispiel de... |
unit UnitServerSettings;
interface
uses
StrUtils,Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UnitMain, ComCtrls, ExtCtrls, UnitConexao;
type
TFormServerSettings = class(TForm)
StatusBar1: TStatusBar;
bsSkinPanel1: TPanel;
AdvListView1: TListView;
procedur... |
unit ufrmDialogRekening;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, uConn, StdCtrls,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer,
cxEdit, cxMaskEdit, cxButtonEdit, cxText... |
unit Main;
interface
uses
Windows, Forms,
StdCtrls, jpeg, ExtCtrls, Controls, Classes, Easysize, VistaAltFixUnit,
JvExControls, JvFormWallpaper;
type
TForm1 = class(TForm)
XPBtn: TButton;
VistaBtn: TButton;
SevenBtn: TButton;
CmdBtn: TButton;
RebootBtn: TButton;
CubicBtn: TButton;
EightBtn: TBut... |
unit myclasses2;
{
行情数据! 行情数据! 行情数据!
行情数据! 行情数据! 行情数据!
行情数据! 行情数据! 行情数据!
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DateUtils, TplZlibUnit;
type
//股票列表记录
TMyStockItem = packed record
Code:string[6];
Caption:string[20];
Market:string[2];
... |
(**************************************************)
(* *)
(* Advanced Encryption Standard (AES) *)
(* Interface Unit v1.3 *)
(* *)
(* *)
(*... |
unit UDExportOdbc;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics,
Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons,
UCrpe32;
type
TCrpeOdbcDlg = class(TForm)
pnlOdbc: TPanel;
lblSource: TLabel;
lblUser: TLabel;
lblPassword: TLabel;
lblTable: TLabel;
editSource: TE... |
object FormOptions: TFormOptions
Left = 356
Top = 257
BorderStyle = bsDialog
Caption = 'FormOptions'
ClientHeight = 142
ClientWidth = 389
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = Fa... |
unit Aurelius.Drivers.MyDac;
{$I Aurelius.inc}
interface
uses
Classes, DB, Variants, Generics.Collections,
DBAccess,
Aurelius.Drivers.Base,
Aurelius.Drivers.Interfaces;
type
TMyDacResultSetAdapter = class(TDriverResultSetAdapter<TCustomDADataset>)
end;
TMyDacStatementAdapter = class(TInterfacedObject... |
unit FrnEngn;
interface
uses
Windows, Classes, SysUtils, Grobal2, SDK;
type
TFrontEngine = class(TThread)
m_UserCriticalSection: TRTLCriticalSection;
m_LoadRcdList: TList;
m_SaveRcdList: TList;
m_ChangeGoldList: TList;
private
m_LoadRcdTempList: TList;
m_SaveRcdTempList: TList;
proce... |
program HowToDrawSimpleText;
uses
SwinGame, sgTypes;
procedure Main();
begin
OpenGraphicsWindow('Drawing Text', 800, 600);
ClearScreen();
DrawText('You Win!!!', ColorWhite, 300, 200);
RefreshScreen();
Delay(5000);
ReleaseAllResources();
end;
begin
Main();
end. |
{******
单 元:uWord.pas
作 者:刘景威
日 期:2008-3-3
说 明:导出Word文档
更 新:
******}
unit uWord;
interface
uses
Windows, Messages, SysUtils, Classes, Variants, ComObj, Forms, Graphics, Quiz,
WordXP, OfficeXP;
type
//显示进度信息之回调函数原型
TWord = class
private
FOwner: TPublish;
FQuizObj: TQuizObj;
FWordApp: ... |
unit fct.controller.main;
interface
Uses
fct.Controller.Interfaces,System.sysUtils, Vcl.Dialogs,Registry, Vcl.Forms, Winapi.Windows, Winapi.Messages, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.Imaging.jpeg;
type
TFolderClass = class(TInterfacedO... |
unit TreeMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, System.ImageList, Vcl.ImgList,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDA... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit zViewSheet_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxCheckBox, dxBar, dxBarExtItems,
cxSplitter, cxLabel, cxContainer, cxTextEdit, cxMaskEdit, cx... |
//
// Generated by JavaToPas v1.5 20180804 - 083239
////////////////////////////////////////////////////////////////////////////////
unit java.nio.file.AccessMode;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JAccessMode = interface;
JAccessModeClass = interface(JObjectClass)
['{6... |
{*******************************************************}
{ }
{ 软件名称 W.MIS CLIENT MODEL }
{ 版权所有 (C) 2003, 2004 Esquel.IT }
{ 单元名称 UVersionInfo.pas }
{ 创建日期 2004-8-3 14:36:40 ... |
unit FreeOTFEDLLHashAPI;
// API ported from FreeOTFE4PDAHashAPI.h
interface
uses
OTFEFreeOTFE_DriverHashAPI, Windows;
//#define DLLEXPORT_HASH_IDENTIFYDRIVER TEXT("HashIdentifyDriver")
//typedef DWORD (* PHashDLLFnIdentifyDriver)(
// DIOC_HASH_IDENTIFYDRIVER*
// ... |
{ -----------------------------------------------------------------------------
Unit Name: LibraryHelperU
Author: Tristan Marlow
Purpose: Library Helper
----------------------------------------------------------------------------
Copyright (c) 2016 Tristan David Marlow
Copyright (c) 2016 Little Earth Solut... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TMain = class(TForm)
ScriptMemo: TMemo;
LogMemo: TMemo;
ParseBtn: TButton;
procedure ParseBtnClick(Sender: TObject... |
program fpmashc;
{$mode objfpc}{$H+}
uses
SysUtils,
u_compiler;
var
cmp: TMashCompiler;
tm: QWord;
begin
writeln('Mash compiler v1.3');
writeln('Author: RoPi0n (Pavel Chernov), (c) from 2018.');
writeln('GitHub: github.com/RoPi0n/mash-lang');
if ParamCount > 1 then
try
tm := GetTickCount6... |
unit uExeSql;
{ Функции и процедуры для работы с хранимыми SQL-запросами
Создан 30.09.2004
}
interface
uses uCommonForm,
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, MemTable, ExtCtrls, Ora,uOilQuery,uOilStoredProc;
function GetExeSqlTextByName(p_SqlName,p_FormNa... |
{=======================================================================================================================
SendMessageFrame Unit
Raize Components - Demo Program Source Unit
Copyright © 1995-2002 by Raize Software, Inc. All Rights Reserved.
===================================================... |
unit UModalSelectBroker;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, VirtualTrees, SQLiteTable3, UClassDef;
type
TdlgBrokerSelect = class(TForm)
Label2: TLabel;
EditBrokerName: TEdit;
Label3: TLabel;
EditBrokerTel: TEdit;
Virt... |
unit JsEditView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, StdCtrls, ExtCtrls,
dcstring, dcsystem, dcparser, dccommon, dcmemo,
EasyClasses, EasyParser, EasyEditor, EasyEditSource, {EasyEditorActions,}
CodeExplorerView, dxDockControl, dxDock... |
unit DSA.Tree.AVLTreeSet;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DSA.Interfaces.DataStructure,
DSA.Tree.AVLTree;
type
{ TAVLTreeSet }
generic TAVLTreeSet<T, TKeyCmp> = class(TInterfacedObject,
specialize ISet<T>)
private
type
TAVLTree_T_V = specialize TAVLTree<T, TObject,... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private ... |
unit uPedidoCab;
interface
type
TPedidoCab = class
strict private
FPRECO_TOTAL : double ;
FCLIENTE_CPF : string ;
FSTATUS : string ;
FDT_EMISSAO : string ;
FNUM_PEDIDO ... |
{*******************************************************}
{ }
{ Plugin X versão 1.1 beta - 21/01/2004 }
{ }
{ Biblioteca para comunicação entre uma DLL/Aplicação }
{ e uma aplicação Servidor de... |
unit FrToolsData;
interface
uses
SysUtils, Classes, frxRich, frxExportRTF, frxExportXML, frxExportXLS,
frxExportHTML, frxClass, frxExportBaseDialog, frxExportPDF, frxGradient;
type
TDataFrTools = class(TDataModule)
frxGradientObject1: TfrxGradientObject;
frxHTMLExport1: TfrxHTMLExport;
frxXLSExport... |
unit WarodaiHeader;
{ Разбор заголовков статей. }
interface
uses Warodai;
{$INCLUDE 'Warodai.inc'}
{
Заголовок любой статьи - одна строчка, которая содержит все или некоторые
последующие поля:
みる【見る・観る】(миру)〔1-603-1-64〕
катакана 【разные・варианты・кандзи】(киридзи)〔ссылка〕
Чтение и ссылка присутствуют ... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit eUsusario.Controller.Factory.Query;
interface
uses
eUsusario.Controller.Factory.Interfaces, eUsusario.View.Conexao.Interfaces;
Type
TControllerFactoryQuery = class(TInterfacedObject, iFactoryQuery)
private
public
constructor Create;
destructor Destroy; override;
class function New : iFactoryQu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.