text stringlengths 14 6.51M |
|---|
{
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... |
unit FMXGR32DemoMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.Controls.Presentation, FMX.StdCtrls, System.Math.Vectors,
GR32_Transforms, GR32, System.Math, FMX.Layouts, TypInf... |
(*
Challenge 120
TASK #2 - Clock Angle
Submitted by: Mohammad S Anwar
You are given time $T in the format hh:mm.
Write a script to find the smaller angle formed by the hands of an analog
clock at a given time.
HINT: A analog clock is divided up into 12 sectors. One sector represents 30
degree (360/12 = 30).
Example... |
unit fmuEJSession;
interface
uses
// VCL
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons,
// This
untPages, untDriver, Spin;
type
TfmEJSession = class(TPage)
Memo: TMemo;
btnGetEKLZJournal: TBitBtn;
btnStop: TBitBtn;
lblSessionNumber: TLabel;
... |
unit DBISAMTableAU;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBISAMTb, ffsutils, dbisamen;
const
PrimaryKey = '';
resourcestring
comma = ', ';
TableNoExist = 'Table does not exist';
DefNoExist = 'Definition does not exist';
NoTableNa... |
unit Base.LoadConfig;
interface
Uses
System.Classes,
System.SysUtils,
Vcl.Forms,
System.JSON,
Base.System.JSON.Helper,
Base.System.JsonFiles,
Vcl.ComCtrls,
JSON.Conection,
JSON.LangDB,
JSON.Status,
Log.DB,
Base.Def,
Base.Color;
Type
TLoadConfig = Class
Private
// Private Classes
... |
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Runtime datatype representations
}
unit xpr.str;
{$I express.inc}
interface
{$I objh.inc}
uses
SysUtils,
xpr.express,
xpr.objbase;
type
TStringObject = class(TEpObject)
value: epString;
constructor ... |
{
@abstract(@name contains the main form of Help Generator
and a class for saving and restoring project settings.)
@author(Richard B. Winston <rbwinst@usgs.gov>)
@created(2004-11-28)
@lastmod(2005-5-16)
@name contains the main form of Help Generator. It also defines
@link(THelpGeneratorProjectOptions) w... |
unit fvm.Strings;
interface
function RetrieveNextValueFrom(var s: string; Separator: char): string;
implementation
uses
SysUtils;
function RetrieveNextValueFrom(var s: string; Separator: char): string;
var
p: integer;
begin
p := Pos(Separator, s);
if p = 0 then
begin
Result :... |
unit uGame3D;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Effects, FMX.Objects, FMX.Filter.Effects, FMX.StdCtrls, FMX.Ani,
FMX.Layouts, FMX.Controls3D, FMX.Layers3D, FMX.Platform,... |
unit Control.CadastroFinanceiro;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Control.Sistema, Model.CadastroFinanceiro;
type
TCadastroFinanceiroControl = class
private
FFinanceiro : TCadastroFinanceiro;
public
constructor Create;
destructor Destroy; override;
property F... |
{$I DFS.INC} { Standard defines for all Delphi Free Stuff components }
{------------------------------------------------------------------------------}
{ TdfsStatusBar v1.24 }
{------------------------------------------------------------------------------}
{ A ... |
unit Rotas.Bancos;
interface
uses Horse;
procedure Bancos_Get(Req: THorseRequest; Res: THorseResponse; Next: TProc);
implementation
uses System.SysUtils, uDM, System.JSON, Horse.Commons, DataSet.Serialize, uFuncoes;
procedure Bancos_Get(Req: THorseRequest; Res: THorseResponse; Next: TProc);
var
... |
unit IdAboutVCL;
interface
{$I IdCompilerDefines.inc}
uses
{$IFDEF WIDGET_KYLIX}
QStdCtrls, QForms, QExtCtrls, QControls, QComCtrls, QGraphics, Qt,
{$ENDIF}
{$IFDEF WIDGET_VCL_LIKE}
StdCtrls, Buttons, ExtCtrls, Graphics, Controls, ComCtrls, Forms,
{$ENDIF}
{$IFDEF HAS_UNIT_Types}
Types,
{$ENDIF}... |
unit About;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dialogs;
type
TAboutBox = class(TForm)
Panel1: TPanel;
OKButton: TButton;
Memo1: TMemo;
ProgramIcon: TImage;
procedure FormCreate(Sender: TObject);
private
{ Private declaratio... |
unit SProc;
interface
uses Windows;
procedure SReplace(var s: WideString; const sfrom, sto: WideString);
function SFormatS(const Msg: WideString; Params: array of WideString): WideString;
function ToOEM(const s: string): string;
function ToANSI(const s: string): string;
function SExtractFileDir(const F... |
unit ZMCenDir19;
(*
ZMCenDir19.pas - handles external interface to directory entries
TZipMaster19 VCL by Chris Vleghert and Eric W. Engler
v1.9
Copyright (C) 2009 Russell Peters
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Pu... |
unit Unit35;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
IInterfaceBase = interface
['{BE1B71E0-44C0-4D04-82B5-C9A00ACEF840}']
function GetText:string;
procedure SetText... |
unit ChromeLikeFormCaptionData;
// Модуль: "w:\common\components\gui\Garant\ChromeLikeControls\ChromeLikeFormCaptionData.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TChromeLikeFormCaptionData" MUID: (533D343C02FF)
interface
{$If NOT Defined(NoVGScene) AND NOT Defined(NoVCM) AND NOT Defined(NoTabs)}
uses
l3... |
unit sMessages;
{$I sDefs.inc}
interface
uses Windows, Controls {$IFDEF FPC}, LMessages{$ENDIF};
type
TacSectionInfo = record
siName: string;
siSkinIndex: integer;
siRepaintNeeded: boolean;
end;
PacSectionInfo = ^TacSectionInfo;
const
SM_ALPHACMD = $A100;
AC_SETNEWSKIN ... |
unit uCadastroEmpresa;
interface
uses System.Classes,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Dialogs,
ZAbstractConnection,
ZConnection,
ZAbstractRODataset,
ZAbstractDataset,
ZDataset,
System.SysUtils;
type
TEmpresa = class
private
ConexaoDB:TZConnection;
F_cliente... |
program ex;
uses Room;
Type TVRoom=object(TRoom)
height:real; {поле для хранения высоты}
function V:real; {метод определения объема}
procedure NewInit(l,w,h:real); {инициализирующий метод}
end;
Procedure TVRoom.NewInit;
begin
Init(l,w); {инициализируем наследуемые поля класса}
height:=h; {инициализируем ... |
unit TTSELTAG3Table;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSELTAG3Record = record
PSeparateby: String[10];
PGroupBy: String[10];
PTrackCode: String[8];
PDescription: String[30];
PD91: Integer;
PD90: Integer;
PD60: Integer;
... |
unit enet_list;
(**
@file list.c
@brief ENet linked list functions
freepascal
1.3.6
*)
(**
@defgroup list ENet linked list utility functions
@ingroup private
@{
*)
interface
uses enet_consts;
function enet_list_begin(list:pointer):pENetListNode;
function enet_list_end(li... |
unit ATxPanel;
interface
uses
Classes, Controls, StdCtrls, ExtCtrls;
type
TATTextPanel = class(TPanel)
private
lab: TLabel;
procedure SetClick(Value: TNotifyEvent);
function GetLab: string;
procedure SetLab(Value: string);
public
constructor Create(Owner: TComponent); override;
proper... |
unit SctFloat;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2004 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$I ace.inc}
uses
classes, sctdata, sctcalc... |
unit LisIVA;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Mask, DateUtils, Dialogs, Db, DBTables,
JvToolEdit, JvSpin, JvExMask, DBClient, EnPngGr;
type
TListado = function( FIni, FFin: TDateTime; nPag: integer ):boolean; StdCall;
TLisIVADlg = class(TForm)... |
unit WorkJournalInterfaces;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/WorkJournalInterfaces.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML ... |
unit GX_EditorFormServices;
{$I GX_CondDefine.inc}
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Forms, Controls;
type
{ Interface to a component that GExperts places on
each and every single editor form the IDE creates.
This "proxy" provides access services to the various
controls pres... |
{$IFDEF LAPE}
(*=============================================================================|
Object oriented wrapper for Simba Bitmaps
|=============================================================================*)
{!DOCTOPIC}{
TRafBitmap module
}
{!DOCREF} {
@method: type TRafBitmap = record ... end... |
inherited dmOrdemServico: TdmOrdemServico
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWOPETOS'
' (FIL_ORIG, NR_OS, DT_EMISSAO, DT_BAIXA, STATUS, OS_VEICULO, OS' +
'_SOLICITANTE, TIPO_FRETE, CGC_REMET, CGC_DEST, REDESPACHANTE, CO' +
... |
unit udmRcboParceiros;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS;
type
TdmRcboParceiros = class(TdmPadrao)
qryLocalizacaoFIL_RECIBO: TStringField;
qryLocalizacaoNRO_RECIBO: TFloatField;
qryLo... |
unit l3LineArray;
{* Информация о нарезке на строки. }
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. }
{ Модуль: l3LineArray - описание массива форматированных строк}
{ Начат: 13.12.96 }
{ $Id: l3LineArray.pas,v 1.12 2012/11/01 07:09:29 lulin Exp $ }
// $Log: l3LineArray.pas,v $
// Revision 1.12 2012/11/01 07:09:2... |
unit i2cmem;
interface
uses {$IFDEF WINDOWS}windows,{$ELSE}main_engine,{$ENDIF}
file_engine;
type
i2cmem_chip=class
constructor create(tipo:byte);
destructor free;
public
function read_sda:byte;
procedure write_scl(valor:byte);
procedure write_sda(valor:byte);
procedure ... |
unit ProvMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, dxTL, dxDBCtrl, DB, DBClient, dxCntner, dxDBTL,
ExtCtrls, ComCtrls,
xmldom, Provider, Xmlxform, Grids, DBGrids, dxBar, ActnList, Menus,
ActnMan, ToolWin, ActnCtrls, ActnMenus, ... |
{ Date Created: 5/22/00 11:17:33 AM }
unit InfoSRCHTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoSRCHRecord = record
PLoanNumber: String[18];
PModCount: SmallInt;
Pcollateralindex: String[1];
PcollateralYear: String[2];
Pdescription: ... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.RegEx.Utils
Description : Common string validations
Author : Kike Pérez
Version : 2.0
Created : 07/04/2021
Modified : 07/04/2021
This file is part of Qu... |
unit Mat.Export;
interface
uses
Vcl.DBGrids, System.Classes, System.SysUtils;
type
// Class helps to export to Excel.
TExportHelper = class
public
procedure ExportToCsv(FileName: String; SourceGrid: TDBGrid);
end;
var
ExportHelper: TExportHelper;
implementation
{ TExcelExportHelper... |
unit Model.ItensManutencao;
interface
type
TItensManutencao = class
private
var
FID: Integer;
FDescricao: String;
FInsumo: Integer;
FLog: String;
public
property ID: Integer read FID write FID;
property Descricao: String read FDescricao write FDescricao;
prop... |
unit UFrmMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DzTalkApp, Vcl.StdCtrls;
type
TFrmMain = class(TForm)
TA: TDzTalkApp;
BtnSendCmd: TButton;
EdID: TEdit;
Label1: TLabel;
BtnSen... |
unit RSDefLod;
{ *********************************************************************** }
{ Copyright (c) Sergey Rozhenko }
{ http://sites.google.com/site/sergroj/ }
{ sergroj@mail.ru }
{... |
unit Model.UsuariosBaseEntregador;
interface
uses Common.ENum, FireDAC.Comp.Client, Forms, Windows;
type
TUsuariosBaseEntregador = class
private
FAcao: TAcao;
FID: Integer;
FEntregador: Integer;
FAgente: Integer;
FUsuario: Integer;
public
property ID: Integer read FID ... |
unit vcmTabsHistoryService;
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\Visual\ChromeLike\vcmTabsHistoryService.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "vcmTabsHistoryService" MUID: (559BA3CE0056)
{$Include w:\common\components\gui\Garant\VCM\vcmDefine.inc}
interface
{$If NOT Defined(... |
unit register_rxctrl;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, LazarusPackageIntf, DBPropEdits, PropEdits,
DB, ComponentEditors;
type
{ TRxCollumsSortFieldsProperty }
TRxCollumsSortFieldsProperty = class(TDBGridFieldProperty)
public
function GetAttributes: TPropertyAttributes... |
unit RegDLL;
{
Inno Setup
Copyright (C) 1997-2012 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Registers 32-bit/64-bit DLL-based OLE servers in a child process (regsvr32.exe)
}
interface
uses
Windows;
procedure RegisterServer(const AUnregister: Boolea... |
unit FileUtils_UH;
interface
uses
SysUtils, Classes;
procedure createDirectory_ALL(dir: string);
function GetDirFileList(dir: String; list: TStrings;
mask: string = '*.*'): boolean;
implementation
procedure createDirectory_ALL(dir: string);
begin
dir := ExtractFileDir(dir);
if not Directory... |
{ Private include file used by the base translator routines. Routines that
* are specific to reading or writing a particular language do not include
* this file.
}
%include 'sys.ins.pas';
%include 'util.ins.pas';
%include 'string.ins.pas';
%include 'file.ins.pas';
%include 'syo.ins.pas';
%include 'sst.ins.pas';
... |
unit ADC.ScriptBtn;
interface
uses
System.SysUtils, System.Classes, System.RegularExpressions, Winapi.ActiveX,
Winapi.Windows, MSXML2_TLB, ADC.Types, ADC.ADObject, Dialogs;
type
PADScriptButton = ^TADScriptButton;
TADScriptButton = record
Title: string;
Description: string;
Path: string;
Para... |
unit CameraConfigurationUtils;
interface
uses
System.Classes,
System.SysUtils,
System.Types,
System.Generics.Collections,
System.Generics.Defaults,
System.Math,
Fmx.Forms,
Fmx.Dialogs,
Androidapi.JNIBridge,
Androidapi.JNI.Hardware,
Androidapi.JNI.JavaTypes,
Androidapi.Helpers,
Androidapi.Log... |
unit uConsultasCliente;
interface
uses Vcl.Forms, dmPrincipal, System.SysUtils, FireDAC.Comp.Client;
function adicionarNovoSerial(serial: String): Boolean;
function buscarSerialCliente(): string;
function buscarCodigoUsuario(nomeUsuario: string): string;
function buscarCNPJCliente(): string;
function getSenhaUsuario... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2017 * }
{ *********************************************************** }
unit tfCiphers;
interface
{$I TFL.inc}
uses
Sy... |
unit atListHelper;
// Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atListHelper.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatListHelper" MUID: (4A4CDD01023F)
interface
uses
l3IntfUses
, BaseTypesUnit
, DynamicDocListUnit
, DynamicTreeUnit
, l3_Base
;
const
SON_ASCENDING = 'по возрас... |
unit UCoreUtils;
{ Copyright (c) 2018 by PascalCoin Project
Contains common types for Core module.
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
Acknowledgements:
Herman Schoenfeld <herman@sphere10.com>: unit cr... |
unit SofRebuild0to3;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm2 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit mariobros_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,samples,rom_engine,
pal_engine,sound_engine,qsnapshot;
function iniciar_mario:boolean;
implementation
const
mario_rom:array[0..3] of tipo_roms=(
(n:'tma1-c-7f_f.7f';l:$2000;p:0;crc... |
{
$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 uTriggersBase;
interface
uses ZDataset, ZSqlProcessor, udmPrincipal;
function TriggerExiste(aNomeTrigger: string): Boolean;
procedure TrgContagemEstoqueAftIns(var ScriptSQL: TZSQLProcessor);
procedure TrgContagemEstoqueAftDel(var ScriptSQL: TZSQLProcessor);
procedure TrgTabelaConversaoAftDel(var ScriptSQL: TZSQ... |
unit StockDataTestAppAgent;
interface
uses
Forms, Sysutils, Windows, Classes,
BaseApp,
BaseForm,
define_dealItem,
define_stockapp,
define_StockDataApp,
win.process;
type
PDownloadTask = ^TDownloadTask;
TDownloadTask = record
DownloadProcess : TOwnedProcess;
TaskID ... |
unit GX_UsesManager;
// Add to, remove from, and query the uses clauses of Object Pascal units
// Orginal Author: Krzysztof Jez - krzysztofj@bms.com.pl
// Modified by Erik Berry to remove external dependencies and cleanup
// These routines do not support C++ source
// note: Even though TUsesManager.Create take... |
unit arDeliveryList;
interface
uses
Classes,
l3ProtoObject,
csDataPipe,
daTypes
;
type
TarDeliveryList = class(Tl3ProtoObject)
private
f_List: TStrings;
f_UserID: TdaUserID;
function pm_GetCount: Integer;
function pm_GetTaskID(anIndex: Integer): String;
protected
procedure Cleanup; override;
pub... |
{ String manipulation routines.
Copyright (C) 2006, 2007, 2008 Aleg Azarousky.
}
{$include version.inc}
unit uStringUtils;
interface
uses Windows, classes;
const
ListDivider = #13; // Used in DelphiToStringEx
defHumanizeDivider = '\'; // Used in StringToHumanized
UnicodeLabel = #$EF#$BB#$BF;... |
unit channellisttests;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry, ChannelList, IRCViewIntf;
type
{ TChannelListTests }
TChannelListTests = class(TTestCase)
private
FSUT: TChannelList;
FChannel1: TChannel;
FChannel2: TChannel;
procedure Add2... |
unit uService;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth,
System.JSON, FireDAc.Comp.Client, FireDAc.Dapt;
type
{$METHODINFO ON}
Service = class(TComponent)
private
{ Private declarations }
public
{ Public declarations }
function EchoString... |
unit App.Intf;
interface
uses
DEX.Types;
type
IUI = interface
procedure ShowMessage(const AMessage: string);
procedure ShowException(const AMessage: string);
procedure WaitLock;
procedure WaitCancel;
procedure WaitUnlock;
end;
IAppCore = interface
procedure DoCloudLo... |
// Set component properties progress/status form
// Original Quthor: Robert Wachtel (rwachtel@gmx.de)
unit GX_SetComponentPropsStatus;
interface
uses
Forms, StdCtrls, ExtCtrls, Classes, Controls, GX_BaseForm;
type
TfmSetComponentPropsStatus = class(TfmBaseForm)
grpbxStatus: TGroupBox;
pnlPr... |
unit uApuracao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons,
Vcl.Mask, uGeraApuracao, uCRUDDespesas, uCRUDFaturamento, uCRUDConfiguracao,
uImpressao, FireDA... |
unit WpcScriptCommons;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
WpcExceptions;
type
TWpcStatemetId = (
WPC_WAIT_STATEMENT_ID,
WPC_WALLPAPER_STATEMENT_ID,
WPC_STOP_STATEMENT_ID,
WPC_SWITCH_BRANCH_STATEMENT_ID,
WPC_USE_BRANCH_STATEMENT_ID,
WPC_WALLPAPER_CHOOSER_STATEMENT_ID,... |
unit MyMsgForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls;
type
{ Tmy_msgform }
Tmy_msgform = class(TForm)
Image1: TImage;
background: TImage;
ImageList1: TImageList;
Label1: TLabel;
Timer1: TTimer;
proced... |
{*******************************************************************************
作者: dmzn@163.com 2020-08-14
描述: 系统业务处理
*******************************************************************************}
unit USysBusiness;
{$I Link.inc}
interface
uses
Windows, DB, Classes, Controls, SysUtils, UDataModule, ... |
{ //************************************************************// }
{ // // }
{ // Código gerado pelo assistente // }
{ // // }
{ // Projeto MVCBr ... |
unit MainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls,
uCliente, Vcl.StdCtrls, System.Generics.Collections, uPessoa, uJSONPessoa,
MidasLib, Data.DB, Datasnap.DBCl... |
unit Sample.App;
{$INCLUDE 'Sample.inc'}
interface
uses
System.Classes,
System.UITypes;
type
{ Abstract base class for sample applications.
Note that the sample applications do NOT use the VCL or FireMonkey
frameworks. So you can also use these samples to learn how to make a
cross-platform withou... |
{ ***************************************************************************
Copyright (c) 2016-2022 Kike P�rez
Unit : Quick.Commons
Description : Common functions
Author : Kike P�rez
Version : 2.0
Created : 14/07/2017
Modified : 19/01/2022
This file is part of QuickLib: http... |
unit fuChangeLogStatus;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvGlowButton, Vcl.ComCtrls,
Vcl.StdCtrls;
type
TUpdateLogStatusValidation = (clSuccess,clNoChangedBy,clNoChangedDate);
type
TfrmCh... |
unit setStringEx;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, setForm, Vcl.StdCtrls, parser,
Vcl.Imaging.pngimage, Vcl.ExtCtrls;
type
TfrmStringEx = class(TfrmSetSimple)
edtMin: TEdit;
lbl4: TLab... |
unit centroCostos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, Provider, DBClient, ImgList, ActnList, StdCtrls, Grids, Wwdbigrd,
Wwdbgrid, Buttons, JvFooter, ExtCtrls, JvExExtCtrls, JvExtComponent,
JvCaptionPanel, wwdblook;
type
TFCentroCostos = cl... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DdhAppX, Menus, IniFiles, Misc, ShellAPI, ExtCtrls;
type
TProgramController=class;
TFrmMain = class(TForm)
AppExt: TDdhAppExt;
TrayPopupMenu: TPopupMenu;
pmiDDSClose: TMenuItem;
pmiLine1: TMen... |
unit PackStrings;
interface
function IsPacked(const str : WideString) : boolean;
function PackStr(const str : string) : WideString;
function UnpackStr(const str : WideString) : string;
implementation
function IsPacked(const str : WideString) : boolean;
begin
result := (length(str) > 0) and (pchar(... |
unit TableCreator;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, DBISAMTb,
TableManDbIsam, TTSRptRunTable, DBISAMTableAU, TTSLNOTTable, TTSLENDTable, TTSNMSRTable,
TTSACOLTable, TTSLOANTable, TTSGUARTable, comctrls, stdCtrls, DaapiTypes, FFSUtils,
Tickler... |
unit TcpDealAgent;
interface
uses
Windows,
BaseWinProcess,
define_ctp_deal;
type
TTcpAgentDealConsoleData = record
IsDealConnected: Boolean;
IsDealLogined: Boolean;
IsSettlementConfirmed: Boolean;
SrvWND: HWND;
TCPAgentDealProcess: TOwnProcess;
//====... |
{$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 ... |
program Lab12_Var9;
type Node = record
value :Integer;
right :^Node;
end;
type List = record
start :^Node;
marker :^Node;
end;
type ListFile = File of Integer;
procedure initlist(var l :List);
begin
l.start := nil;
l.marker := nil;
end;
procedure moveright(var l :List);
begin
if l.marke... |
unit Unit1;
interface
uses
Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ImgList, Grids, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
DrawGrid1: TDrawGrid;
ImageList1: TImageList;
Timer1: TTimer;
Panel1: TPanel;
CheckBox1: TCheckBox;
CheckBox2: TCheckB... |
unit nsExecuteProgressIndicator;
interface
{$If not defined(Admin) AND not defined(Monitorings)}
uses
Windows,
Messages,
l3Interfaces,
vcmInterfaces,
BaseTypesUnit,
DynamicDocListUnit,
ProgressIndicatorSupportUnit,
SearchProgressIndicatorUnit,
SearchUnit,
nsThreadNotifier,
SearchInterfaces
;
type
T... |
unit Control.UsuariosBaseEntregador;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.UsuariosBaseEntregador;
type
TUsuariosBaseEntregadorControl = class
private
FUsuarios: TUsuariosBaseEntregador;
public
constructor Create;
destructor Destroy; o... |
{
$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... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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/
*
* Softwa... |
unit INFOLENDERMASTERCODETable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TINFOLENDERMASTERCODERecord = record
PRecID: Word;
PComponentNumber: Word;
PCodeNumber: Word;
PCode: String[6];
PDescription: String[30];
PActive: Boolean;
PCo... |
unit UDataDetailFrame;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.Math,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo, FMX.Objects, Data.DB, FireDAC.Comp.DataSet,
FireDAC.Comp.Client, REST.Respons... |
unit Surfaces;
interface
uses
Classes, Windows, Collection, SysUtils, BackupInterfaces, SyncObjs,
Matrix, LargeMatrix;
const
tidClassFamily_SurfacePools = 'SurfacePools';
tidSurfacePool_Surfaces = 'Surfaces';
tidSurfacePool_Integrators = 'Integrators';
type
TSurfaceId = string;... |
unit MainFm;
interface
uses
PXT.Types, Windows, System.Classes, System.SysUtils, Vcl.Forms, Vcl.Controls, Vcl.Graphics,
Vcl.Dialogs, PXT.Graphics, PXT.Controls, PXT.Canvas, Vcl.StdCtrls, Generics.Collections,
PXT.Sprites;
type
TEnemyKind = (Ship, SquareShip, AnimShip, Mine);
TMapRec = record
... |
unit uCadObservacoes;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uModelo, StdCtrls, DB, ActnList, Grids, DBGrids, RPDBGrid,
ComCtrls, DBCtrls, Buttons, ExtCtrls, Mask, ZAbstractDataset, ZDataset,
ZAbstractRODataset;
type
TfrmCadObservacoes = class(Tfr... |
unit ce_txtsyn;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, SynEditHighlighter, SynEditTypes, ce_dlangutils;
type
TTokenKind = (tkSym, tkTxt, tkWhi);
TSynTxtSyn = class(TSynCustomHighlighter)
private
fSymAttribs: TSynHighlighterAttributes;
fTxtAttribs: TSynHighlighterAttributes;
fWhi... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
eQuantity: TEdit;
eP... |
unit TTSMLTAGTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSMLTAGRecord = record
PSeparateby: String[10];
PGroupBy: String[10];
PSortby: String[120];
PLoanNum: String[20];
PCifFlag: String[1];
PAutoInc: Integer;
PLoanCifNum: St... |
unit Classes;
interface
type
//Classe TOpenWeatherCidade
TOpenWeatherCidade = class(TObject)
private
Nome: String;
public
property cidade: String read Nome;
end;
//Classe TOpenWeatherSys
TOpenWeatherSys = class(TObject)
private
Fcountry: string;
Fsunrise: Integer;
Fsunset: Intege... |
unit MFichas.Controller.Venda;
interface
uses
MFichas.Controller.Caixa.Interfaces,
MFichas.Controller.Venda.Interfaces,
MFichas.Controller.Venda.Metodos,
MFichas.Model.Venda.Interfaces,
MFichas.Model.Venda,
MFichas.Model.Caixa;
type
TControllerVenda = class(TInterfacedObject, iControllerVenda)
priva... |
unit sdlinput;
{
$Id: sdlinput.pas,v 1.9 2007/08/22 21:18:43 savage Exp $
}
{******************************************************************************}
{ }
{ JEDI-SDL : Pascal units for SDL - Simple DirectMedia Layer ... |
{$include lem_directives.inc}
unit LemMetaPiece;
interface
uses
Classes;
type
TMetaPiece = class
private
protected
fWidth : Integer;
fHeight : Integer;
procedure Error(const S: string); virtual;
public
procedure LoadFromStream(S: TStream); virtual;
published
propert... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.