uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer;
|
|
- Prosper Thornton
- 5 years ago
- Views:
Transcription
1 unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; type TForm1 = class(tform) Cenario: TImage; ImageList1: TImageList; Button1: TButton; Image1: TImage; EditTeta: TEdit; Label1: TLabel; Button2: TButton; ImageList2: TImageList; Image2: TImage; Timer1: TTimer; EditVo: TEdit; Label2: TLabel; Label3: TLabel; Lhmax: TLabel; LAlcance: TLabel; CombA: TComboBox; Label4: TLabel; LTvoo: TLabel; BitBtn1: TBitBtn; BitBDisparo: TBitBtn; MediaPlayer1: TMediaPlayer; BitBparar: TBitBtn; MediaPlayer2: TMediaPlayer; procedure Button1Click(Sender: TObject); procedure FormCreate(Sender: TObject); procedure Putbala(xc,yc:real;v:boolean); procedure posiciona_canhao(teta:real); procedure Inicializa_Canhao_Bala; procedure Button2Click(Sender: TObject); procedure FormActivate(Sender: TObject); procedure EditTetaChange(Sender: TObject); procedure EditVoChange(Sender: TObject); procedure BitBDisparoClick(Sender: TObject); procedure Timer1Timer(Sender: TObject); procedure BitBtn1Click(Sender: TObject); procedure BitBpararClick(Sender: TObject); private { Private declarations } public { Public declarations } var
2 Form1: TForm1; x,y,xc,yc,xbc,ybc,xt,yt,xl,yl,xd,t:real; c,tc,lc:integer; image:tbitmap; teta:real; Ts,Ttotal,Hmax,D,Vo,Vox,Voy,tp,g:real; xmmax,ymmax,xwmax,ywmax:real; a:real; n1,n2,trj:boolean; implementation {$R *.dfm} function deltam(deltaw:real):real; deltam:= ymmax*deltaw/ywmax; function Mx(xW : real):real; Mx:= xw*xmmax/xwmax; function My(yW : real):real; My:= (ywmax-yw)*ymmax/ywmax; function Nx(xM : real):real; Nx:= xm/xmmax; function Ny(yM : real):real; Ny:= ym/ymmax; function Wx(xN : real):real; Wx:= XWmax*xN; function Wy(yN : real):real; Wy:= ywmax*(1-yn); procedure Tform1.Putbala(xc,yc:real;v:boolean); var xleft,ytop:real; xleft:= xc - deltam(image2.width)/2; ytop := yc - deltam(image2.height)/2;
3 image2.left:= Round(Wx(Nx(xleft))); image2.top:= Round(Wy(Ny(ytop))); image2.visible:= v; procedure Tform1.Inicializa_Canhao_Bala; xwmax:=form1.width; ywmax:=form1.height; xmmax:=160; ymmax:=160*9/16; Tc := round(wy(ny(ymmax/2))); Lc := round(wx(nx(xmmax/32))); Image1.Top := Tc; Image1.Left:= Lc; xc := Mx(image1.Left + (image1.width*1/2)); yc := My(image1.top + (image1.height*1/2)); xbc := xc + deltam(image1.width/8); ybc := yc + deltam(image1.height/8); xt := xbc - xc; yt := ybc - yc; procedure Tform1.posiciona_canhao(teta:real); a := teta*pi/180; xl := xc + round(xt*cos(a) - yt*sin(a)); yl := yc + round(yt*cos(a) + xt*sin(a)); c:= round(teta); if (teta > 60) then Image1.Left:=round(Lc - 0.7*(teta-60)); if (teta > 65) then Image1.Left:=round(Lc - (teta-65)); if (teta > 67) then Image1.Left:=round(Lc - 5*(teta-65)); if (teta >= 68) then Image1.Left:=round(Lc - 17); Image1.Picture.Assign(nil); Imagelist1.Draw(Image1.Canvas,0,0,c); Putbala(xl,yl,false); procedure TForm1.Button1Click(Sender: TObject); if (trim(editteta.text) <> '') then teta := strtofloat(trim(editteta.text)); teta := teta + 1; if (teta > 90) then teta := 90; editteta.text:=floattostr(teta); procedure TForm1.FormCreate(Sender: TObject);
4 var N:string; c:=0; tp:=0.001; timer1.enabled:= false; timer1.interval:= round(1000*tp); trj:= true; n1 := false; n2 := false; N:= Application.GetNamePath + 'canhao.mp3'; if (fileexists(n)) then n1:= true; MediaPlayer1.FileName:= N; MediaPlayer1.Open; MediaPlayer1.AutoOpen:=true; N:= Application.GetNamePath + 'explosao.mp3'; if (fileexists(n)) then n2:= true; MediaPlayer2.FileName:= N ; MediaPlayer2.Open; MediaPlayer2.AutoOpen:=true; procedure TForm1.Button2Click(Sender: TObject); if (trim(editteta.text) <> '') then teta := strtofloat(trim(editteta.text)); teta := teta - 1; if (teta < 0) then teta := 0; editteta.text:=floattostr(teta); procedure TForm1.FormActivate(Sender: TObject); Image1.Top:=Tc; Image1.Left:=Lc; Image2.Picture.Assign(nil); Imagelist2.Draw(Image2.Canvas,0,0,0); Vo := 42; Teta:= 65; EditTeta.text := '65'; EditVo.Text:='42';
5 g:=9.8; procedure TForm1.EditTetaChange(Sender: TObject); BitBdisparo.Enabled:= true; editteta.text:=trim(editteta.text); if (editteta.text <> '') then teta := strtofloat(editteta.text); if ((teta < 0 )or (teta > 90)) then showmessage('angulo Inválido!!!'); if(teta<0)then editteta.text:='0' else if(teta > 90)then editteta.text:='90'; end else Inicializa_Canhao_Bala; posiciona_canhao(teta); procedure TForm1.EditVoChange(Sender: TObject); BitBdisparo.Enabled:= true; if (Trim(EditVo.Text) <> '') then Vo := strtofloat(editvo.text); procedure TForm1.BitBDisparoClick(Sender: TObject); if( (trim(editvo.text) <> '') and (trim(editteta.text)<>'') ) then if n1 then mediaplayer1.play; sleep(100); if ((teta>0) and (teta<90)) then Vox := Vo*Cos(a);
6 Voy := Vo*Sin(a); Hmax := Voy*Voy/(2*g); Ts := Voy/g; Ttotal := 2*Ts; D:= Vox*Ttotal; xd:=0; if (teta=0) then Vox := Vo; Hmax := 1.5; Ttotal:= sqrt(2*hmax/g); D:= Vox*Ttotal; xd:=0; if (teta=90) then posiciona_canhao(90); Voy := Vo; Ts := Voy/g; Hmax := Voy*Voy/(2*g); Ttotal:= 2*Ts; t:=0; timer1.enabled:=true; EditVo.enabled:=false; EditTeta.Enabled:=false; BitBDisparo.enabled:=false; if timer1.enabled then BitBparar.Caption := 'Parar ' else BitBparar.Caption := 'Continuar'; procedure TForm1.Timer1Timer(Sender: TObject); if ((teta>0) and (teta<90)) then t:= strtoint(comba.text); if (t > 1) then t:=(t-1)*2; x:= xl + xd; y:= yl + (-4*Hmax/(D*D))*xd*(xd-D); PutBala(x,y,true); xd:=xd+vox*tp*15*t; if (xd >= D) then Lhmax.Visible:=true; Lalcance.Visible:=true; LTvoo.Visible:=true; Timer1.Enabled:=false; EditVo.Enabled:=true; EditTeta.Enabled:=true; BitBDisparo.enabled:=true;
7 Lhmax.Caption:='Altura Máxima = ' + FormatFloat('#0.00', Hmax)+' m'; Lalcance.Caption:='Alcance = '+ FormatFloat('#0.00', D)+' m'; LTvoo.Caption:='Tempo de Vôo = '+ FormatFloat('#0.00', Ttotal)+' seg'; if (teta = 0) then t:= strtoint(comba.text); if (t > 1) then t:=(t-1)*10; x:= xl + xd; y:= yl - Hmax + (-1*Hmax/(D*D))*(xd+D)*(xd-D); PutBala(x,y,true); xd:=xd+vox*tp*15*t; if (xd >= D) then Lhmax.Visible:=true; Lalcance.Visible:=true; LTvoo.Visible:=true; Timer1.Enabled:=false; EditVo.Enabled:=true; EditTeta.Enabled:=true; BitBDisparo.enabled:=true; Lhmax.Caption:='Lançamento Horizontal!'; Lalcance.Caption:='Alcance = '+ FormatFloat('#0.00', D)+' m'; LTvoo.Caption:='Tempo de Vôo = '+ FormatFloat('#0.00', Ttotal)+' seg'; if (teta = 90) then x:= xl; y:= yl + voy*t - g*t*t/2; PutBala(x,y,true); if (t < 0) then sleep(300); posiciona_canhao(92); Timer1.Enabled:=false; t := t + tp*20; if (t >= Ttotal) then Lhmax.Visible:=true; Lalcance.Visible:=true; LTvoo.Visible:=true; EditVo.Enabled:=true; EditTeta.Enabled:=true; BitBDisparo.enabled:=true;
8 PutBala(x,y,false); if n2 then mediaplayer2.play; posiciona_canhao(91); Lhmax.Caption:='Lançamento Vertical!'; Lalcance.Caption:='Altura Máxima = '+ FormatFloat('#0.00', Hmax)+' m'; LTvoo.Caption:='Tempo de Vôo = '+ FormatFloat('#0.00', Ttotal)+' seg'; t:= -1*t; procedure TForm1.BitBtn1Click(Sender: TObject); Form1.Close; procedure TForm1.BitBpararClick(Sender: TObject); EditVo.enabled:= timer1.enabled; EditTeta.Enabled:=timer1.Enabled; timer1.enabled:= not timer1.enabled; if timer1.enabled then BitBparar.Caption := 'Parar' else BitBparar.Caption := 'Continuar'; BitBdisparo.Enabled:= not timer1.enabled; end.
Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su
Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su centri na neiscrtanom krugu poluprečnika r. Dugme Boji
More informationGRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM
Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM MARKS: 120 This memorandum consists of 11 pages. 2 INFORMATION TECHNOLOGY
More informationLAMPIRAN A. Foto Alat
LAMPIRAN A Foto Alat A-1 A-2 Rangkaian Skematik PCB Sistem Monitoring Infus A-3 LAMPIRAN B Program pada Mikrokontroller AVR Atmega16...B-1 Program pada Borlan Delhpi 7.0...B-9 PROGRAM UTAMA /*****************************************************
More informationLAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6
A Listing Program Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 LISTING PROGRAM BORLAND DELPHI 7.0 Inisialisasi ==========================================================
More informationGRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM
Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 120 This memorandum consists of 10 pages.
More informationGRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM
NATIONAL SENIOR CERTIFICATE NASIONALE SENIOR SERTIFIKAAT GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 150 This memorandum consists of 6 pages.
More informationDelphi Generics.Collections
Delphi Generics.Collections Copyright(C) 2008 Embarcadero Technologies, Inc. All Rights Reserved. Delphi Generics.Collections Table of Contents Generics.Collections.TCollectionNotification 1 Generics.Collections.TCollectionNotifyEvent
More informationAPPLICATION NOTE: KONSTANTER LSP32K Interface Protocol
APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol 1 Interface Type At the DB9 connector the LSP32K Power Supply device offers a serial data interface with TTL logic level for remote control and readout
More informationLAMPIRAN A: LIST PROGRAM
LAMPIRAN A: LIST PROGRAM Form Login unit ULogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, IBQuery, IBDatabase, IBCustomDataSet, IBTable,
More informationLAMPIRAN Listing Program
LAMPIRAN Listing Program unit umain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls, ExtDlgs, DCPcrypt2, DCPrc4, DCPsha1,
More informationLAMPIRAN A: DDL DATABASE
LAMPIRAN A: DDL DATABASE MySQL-Front 5.1 (Build 2.7) Host: localhost Database: mobil ------------------------------------------------------ Server version 5.0.41-community-nt USE `mobil`; Source for table
More informationNATIONAL SENIOR CERTIFICATE GRADE12
NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2018 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 21 pages. Information Technology/P1 2 DBE/Feb. Mar. 2018
More informationNATIONAL SENIOR CERTIFICATE GRADE12
NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2017 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 26 pages. Information Technology/P1 2 DBE/November 2017 GENERAL
More informationIntroduction to the DLL for the USB Interface Board K8061
K8061.DLL 1 Introduction to the DLL for the USB Interface Board K8061 The K8061 interface board has 8 digital input channels and 8 digital output channels. In addition, there are 8 analogue inputs, 8 analogue
More informationvar Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi.
1 PANEL komponenta kontejnerska, slična GropBox. Roditeljska komponenta za komp. postavljene na nju. Zajedno se pomeraju. Caption svojstvo za naziv; Alighment pomera svojstvo Caption levo i desno; Align
More informationИспользование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows
Государственное образовательное учреждение высшего профессионального образования «Петербургский государственный университет путей сообщения» Кафедра «Информационные и вычислительные системы» Лабораторная
More informationNATIONAL SENIOR CERTIFICATE GRADE12
NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2017 MEMORANDUM MARKS: 150 This memorandum consists of 29 pages. Information Technology/P1 2 DBE/Feb. Mar. 2017 GENERAL INFORMATION:
More informationUJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA
UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA Dosen Pembimbing : Dedi W ST,. MM Nama : Elly Sunandy NIM : 13158279 Pemrograman Terstruktur Membuat program dengan Delphi 7
More informationNEAR EAST UNIVERSI FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEMS
NEAR EAST UNIVERSI FACULTY OF ECONOMICS AND ADMINISTRATIVE SCIENCES DEPARTMENT OF COMPUTER INFORMATION SYSTEMS 2007/2008 FALL TERM CIS 200 (Graduation Project) Film&Music Center Automation System Submitted
More information2. Design and Development
Postage Calculator 1. The task Design and implement a program for employees of a travel agency who send out documents to the UK and EU only; the program will calculate the cost of postage. Each envelope
More informationunit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CPort, LPComponent, SLCommonGen, SLSignalGen, Menus, SLComponentCollection, LPDrawLayers,
More information«» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё Delphi. 4.. :,,,.,,
,.. 2018. 44.03.01,..,...., 2018 «» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё. 2.. 3. Delphi. 4.. :,,,.,, .,. А... 4 1... 6 1.1... 6 1.2... 15 2... 22 2.1... 22 2.2... 50... 58... 59 -. 130 80% - Internet.,,,,..
More informationNhập môn. Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI. Phụ lục
Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI Nhập môn Phụ lục TỰA ĐỀ Trang Giới thiệu thông tin 2 Tóm lượt môi trường lập trình Delphi 3 Bài 1 Chương trình Delphi đơn giản nhất 4 Bài 2 Sử
More informationInterdisciplinary relations in teaching of programming
Interdisciplinary relations in teaching of programming VLADIMÍR JEHLIČKA Department of Informatics Faculty of Education University of Hradec Králové Rokitanského 62, 500 03 Hradec Králové 3 CZECH REPUBLIC
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MEMORANDUM MARKS: 150 This memorandum consists of 28 pages. Information Technology/P1 2 DBE/November 2014 GENERAL INFORMATION:
More informationDMX-Dongle II Win16, Win32 & Dos Developer s Guide
DMX-Dongle II Win16, Win32 & Dos Developer s Guide Artistic Licence (UK) Ltd. Manual Revision V1.8 Firmware Revision 17, 20 2 C O N T E N T S Introduction...5 DongleSetErrorFlag... 12 Quick Start...5 DongleGetErrorFlag...
More information&'()*+,-./0&(1& $ :;
&'()*+,-./0&(1& $234567859:; raek@etteam.com %!"# $%# &#$ ' (!) * %#+,-./0$1"# 22(3 45416 (! 57 5 71 " *7 *7 ( 89:9-,- 8;:< 16 *! =)5> 7# &$%# 45?"16 * @! (! 5 *) 8,:A;B9- C;D.E
More informationNATIONAL SENIOR CERTIFICATE GRADE12
NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2016 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2016 GENERAL INFORMATION:
More informationLAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA
LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan
More informationLAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg;
LAMPIRAN Lampiran A. Listing Program 1. Unit Utama unit UnUtama; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg; type Tfrmutama
More informationSource code for simulations: 1 of 11
The following is the source code for the simulations reported in Clinchy, Haydon and Smith (Pattern process: what does patch occupancy really tell us about metapopulation dynamics). unit Main; interface
More informationImage. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ;
B 71 11 Image Image Image Image 11.1 11.1.1 Amida AmidaU.pas AmidaP.dpr 11.1.2 Form Name FormAmida Caption Position poscreencenter HorzScrollBar.Visible False VertScrollBar.Visible False 11.1.3 11.2 Image
More informationNATIONAL SENIOR CERTIFICATE GRADE12
NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2015 GENERAL INFORMATION:
More informationObject Pascal Language Guide
Object Pascal Language Guide Borland Object Pascal Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Borland Software Corporation may have patents and/or pending
More informationDELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE
COURSE DELPHI FOR ELECTRONIC ENGINEERS Part 2 Programming a calculator Herman Bulle with thanks to Anton Vogelaar In the first instalment of this series, we introduced the Delphi programming environment
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MARKS: 150 TIME: 3 hours This question paper consists of 22 pages. Information Technology/P1 2 DBE/November 2014 NSC INSTRUCTIONS
More informationPart 1 The first steps
course DELPHI FOR ELECTRONIC ENGINEERS Part 1 The first steps Detlef Overbeek & Anton Vogelaar This article is the first part in a series about programming in Delphi, which concentrates on the practical
More informationWe are all familiar with the concept of a queue:
SEVENTEEN Queues We are all familiar with the concept of a queue: back of the queue next person joins front of the queue next person leaves Queues play an important role in computer systems, for example:
More informationUNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library).
Basics of Language UNIT Files Basics of Language UNIT Files UNIT Files Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library). You can reduce
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/Feb. Mar. 2015 GENERAL INFORMATION:
More information12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs
12.1 Chapter Overview Most assembly language code doesn t appear in a stand-alone assembly language program. Instead, most assembly code is actually part of a library package that programs written in a
More information(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0.
B 114 18 (1) 18.1 52 54 Trump http://www.ss.u-tokai.ac.jp/~ooya/jugyou/joronb/trumpbmp.exe (1) (2) Trump 18.2 (1) Trump ExampleU ExampleP (2) Name Caption FormMain 18.3 (1) TrumpU (2) Name Caption FormTrump
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2009 MEMORANDUM MARKS: 120 The memorandum consists of 32 pages. Please turn over Information Technology/P1 2 DoE/November 2009 GENERAL
More informationTHREE. Multiple windows
THREE Multiple windows Often in a Windows application it is convenient to have more than one window in use. This provides a natural way of breaking down a large and complex project into a number of simpler
More informationMathematical Modeling in Delphi
Mathematical Modeling in Delphi Andreï V. Serghienko Yaroslavl P.G. Demidov State University Yaroslavl, Russia The literature on Delphi [1] numbers many manuals. However among them there are few books,
More informationSENIOR CERTIFICATE EXAMINATION GRADE 12
SENIOR CERTIFICATE EXAMINATION GRADE 12 INFORMATION TECHNOLOGY 1 FEBRUARY/MARCH 2009 MEMORANDUM MARKS: 120 The memorandum consists of 37 pages. Information Technology/1 2 DoE/Feb. March 2009 General information:
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2016 MARKS: 150 TIME: 3 hours This question paper consists of 21 pages. Information Technology/P1 2 DBE/Feb. Mar. 2016 NSC
More informationListing Program Tugas Akhir (TugasAkhir.dpr)
L1 Listing Program Tugas Akhir (TugasAkhir.dpr) program TugasAkhir; uses Forms, udb in 'udb.pas' {dmta: TDataModule}, ufungsi in 'ufungsi.pas', uutama in 'uutama.pas' {futama}, ulogin in 'ulogin.pas' {flogin},
More informationCreating a Webserver in 5 minutes using kbmmw!
Creating a Webserver in 5 minutes using kbmmw! kbmmw is a complete framework for building middleware/n-tier systems typically consisting of application servers and clients. One of the many advantages of
More informationSENIOR CERTIFICATE EXAMINATION
SENIOR CERTIFICATE EXAMINATION INFORMATION TECHNOLOGY P1 2015 MARKS: 150 TIME: 3 hours This question paper consists of 23 pages. Information Technology/P1 2 DBE/2015 SCE INSTRUCTIONS AND INFORMATION 1.
More informationCross-Platform Development with Delphi 10.2 & FireMonkey. for Windows, Mac OS X (macos) & Linux. Harry Stahl
Cross-Platform Development with Delphi 10.2 & FireMonkey for Windows, Mac OS X (macos) & Linux Harry Stahl Author: Harry Stahl Publisher: Harry Stahl City: Bonn, Germany Copyright (2017), All rights reserved
More informationDelphi Language Guide
Delphi Language Guide Borland Delphi Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 http://www.borland.com Refer to the DEPLOY document located in the root directory of your
More informationLAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS
LAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS Instrumentation Amplifier, G=749 +9V 3 5 8 6 1 AD620AN 30K 22K HPF, G=31 HPF, G=2.05-23 5 +9V +9V 1K 8 1K 8 2 2 6 6 3 3 8.2 nf 1 8.2nF 1 5 OP07 5 OP07 220K
More informationLAMPIRAN A /*******************************************************
42 Program pada mikrokontroler LAMPIRAN A /******************************************************* This program was created by the CodeWizardAVR V3.12 Advanced Project : gelombang Version : Revisi 4 Date
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2008 MEMORANDUM The memorandum consists of 35 pages. Information Technology/P1 2 DoE/November 2008 General information: Pages 2 12
More informationThe Multiple Document Interface
Tips and techniques for Delphi April 1997 Vol. 3 No. 4 US $7.50 Simulate MDI without Multiple Document Interface overhead 1.0 2.0 by Brendan Delumpa Because of space considerations, the full source listings
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2010 MEMORANDUM MARKS: 120 The memorandum consists of 25 pages and 7 annexures. Information Technology P1 2 DoE/Feb. March
More information12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs
Mixed Language Programming Mixed Language Programming Chapter Twelve 12.1 Chapter Overview Most assembly language code doesn t appear in a stand-alone assembly language program. Instead, most assembly
More informationCoding Standards Document
CHAPTER IN THIS CHAPTER Introduction 218 General Source Code Formatting Rules 218 Object Pascal 219 Files 228 Forms and Data Modules 231 Packages 233 Components 234 Coding Standards Document Updates 235
More informationjudul : dump mysql with delphi - opensource
judul : dump mysql with delphi - opensource header : hmm...ini sebenernya dah pernah tak tanyain dalam thread tapi lom ada jawaban yang memuaskan, aq coba ekplor terus dan akhirnya 3 bulan yang lalu bisa
More informationNEAR EAST UNIVERSITY. Faculty of Engineering. Department of Computer Engineering TIME TABLE DESIGN: DELPHI APPLICATION. Graduation Project COM-400
) NEAR EAST UNIVERSITY,' Faculty of Engineering Department of Computer Engineering TIME TABLE DESIGN: DELPHI APPLICATION Graduation Project COM-400 Student: Mamun Ali Khamis (20010702) Supervisor: Ass.Prof.Dr.
More informationCiDess.dproj 07/05/ :36:24
CiDess.dproj 07/05/2011 19:36:24 Page 1 sur 4 1: library CiDess; 2: 3: uses 4: Windows, 5: Messages, 6: Classes, 7: Dialogs, 8: Forms, 9: SysUtils, 10: Inifiles, 11: UParamCiDess1 in 'UParamCiDess1.pas'
More informationCombining kbmmw and kbmwabd for kbmwabd v and kbmmw v
Combining kbmmw and kbmwabd for kbmwabd v. 2.44+ and kbmmw v. 1.00+ The combination of kbmwabd and kbmmw gives a very powerful web application setup with advanced database handling and separation of business
More informationWindows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3
B 103 16 Windows mine sweeper 16.1 n 16.2 Jirai JiraiU.pas JiraiP.dpr Form Name FormJirai Caption Position podesktopcenter 16.3 3 B 104 16.3.1 RadioGroup Algn altop Name RadioGroupSize Caption Columns
More informationGRAAD 11 NOVEMBER 2014 INLIGTINGSTEGNOLOGIE V1
NASIONALE SENIOR SERTIFIKAAT GRAAD 11 NOVEMBER 2014 INLIGTINGSTEGNOLOGIE V1 PUNTE: 150 TYD: 3 uur *IINFTDM1* Hierdie vraestel bestaan uit 11 bladsye. 2 INLIGTINGSTEGNOLOGIE V1 (NOVEMBER 2014) INSTRUKSIES
More informationFaculty of Engineering
NEAR EAST UNIVERSITY Faculty of Engineering Department of Computer Engineering PHARMACY AUTOMATION PROGRAM Graduation Project COM-400.. Pelin Ozdemir Prof.Dr. Rahib Abiyev Nicosia-2008 ACKNOWLEDGEMENTS
More informationMesuTher.dproj 07/05/ :56:44
MesuTher.dproj 07/05/2011 19:56:44 Page 1 sur 1 1: library MesuTher; 2: 3: uses 4: Windows, 5: Messages, 6: Classes, 7: Dialogs, 8: Forms, 9: SysUtils, 10: UTherElec in 'UTherElec.pas'; 11: 12: {$R MesuTher.res}
More information3 Combining Widgets to create Graphical User Interfaces
(Graphical User Interfaces - 41) 3 Combining Widgets to create Graphical User Interfaces 3.1 The Ressource Concept Goal: How to compose widgets to create complete user interfaces Problem: Composition has
More informationDELPHI FOR ELECTRONIC ENGINEERS. Part 5: measuring with the sound card COURSE
COURSE DELPHI FOR ELECTRONIC ENGINEERS Part 5: measuring with the sound card Detlef Overbeek, Anton Vogelaar and Siegfried Zuhr In Part 4 of this course, we used the PC sound card to generate a variety
More informationFor more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document.
Writing Scripts Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Related pages Script Editor Tools Scripting System Panels Parent page: Scripting Writing Scripts There a number of
More informationLAMPIRAN A LISTING PROGRAM
LAMPIRAN LAMPIRAN A LISTING PROGRAM //Program Utama unit umain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Menus, ExtCtrls, StdCtrls, Lucifer,VisSem,
More informationGetting started with Lazarus
Getting started with Lazarus Michaël Van Canneyt March 4, 2006 Abstract Lazarus is a cross-platform 2-way RAD tool which can be used to develop almost any kind of program for Windows, Linux, Solaris or
More informationComputer Programming II -10-
Computer Programming II -10- Dr. Engin YILDIZTEPE Dr.Alper VAHAPLAR Random number routines Randomize procedure Random function Random (n) function RandomRange function RandomFrom function RandG function
More informationToday we spend some time in OO Programming (Object Oriented). Hope you did already work with the first Starter and the box at:
maxbox Starter 2 Start with OO Programming 1.1 First Step Today we spend some time in OO Programming (Object Oriented). Hope you did already work with the first Starter and the box at: http://www.softwareschule.ch/download/maxbox_starter.pdf
More informationMesuInstru.dproj 07/05/ :53:24
MesuInstru.dproj 07/05/2011 19:53:24 Page 1 sur 3 1: library MesuInstru; 2: 3: uses 4: Windows, 5: Messages, 6: Classes, 7: Dialogs, 8: Forms, 9: SysUtils, 10: UInstrument in 'UInstrument.pas'; 11: 12:
More informationThe scripting system handles two types of components: Visual and Non-visual components.
Forms and Components Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Parent page: DelphiScript Overview of Graphical Components The scripting system handles two types of components:
More informationIP Office 4.0 DevLink Programmer s Guide
IP Office 4.0 DevLink Programmer s Guide 15-601036 Issue 12 (6 December 2006) 2006 Avaya Inc. All Rights Reserved. Notice While reasonable efforts were made to ensure that the information in this document
More informationwww.openwire.org www.mitov.com Copyright Boian Mitov 2004-2014 Index Installation... 3 Where is InstrumentLab?... 3 Creating classifier application... 3 Using the TSLCRealBuffer in C++ Builder and Visual
More informationPDFtext.dll 64 bit-version
PDFtext.dll 64 bit-version 4.0.0.0 You can use it with all well known ides (.NET-IDEs, too!) Try it with Visual Basic, VBA, C#, VB20xx, VB20xx Express, Delphi, C, C++, PowerBuilder and many more This is
More informationSorting TEN. Alphabetical sort
TEN Sorting In this chapter we will look at various ways in which sorting might be used in programs. To with, let's see how a series of words could be arranged into alphabetical order by the computer...
More informationModbus Server. ARSoft International
Modbus Server ARSoft International Description The ModBus server allows: The cyclic or acyclique interrogation of equipments connected to the serial comport COM1 to COM10. Up to 115200 Bauds. The communication
More informationAnnales UMCS Informatica AI 1 (2003) UMCS. Concurrent programming and futures. Andrzej Daniluk
Annales Informatica AI 1 (2003) 303-308 Concurrent programming and futures Andrzej Daniluk Institute of Physics, Maria Curie-Skłodowska University, Pl. M.Curie-Skłodowskiej 1, 20-031 Lublin, Poland Annales
More informationWriting Delphi Custom Components
Writing Delphi Custom Components CHAPTER 21 IN THIS CHAPTER Component Building Basics 930 Sample Components 958 TddgButtonEdit Container Components 976 Component Packages 987 Add-In Packages 998 Summary
More informationDocument ID: Contents. Introduction. Prerequisites. Requirements. Components Used. Conventions. Product Numbers. Product Number.
Products & Services Understanding Direct Inward Dial (DID) Voice Interface Cards Document ID: 15268 Contents Introduction Prerequisites Requirements Components Used Conventions Product Numbers Features
More informationAdventures in Messaging
Adventures in Messaging CHAPTER 3 IN THIS CHAPTER What Is a Message? 130 Types of Messages 131 How the Windows Message System Works 132 Delphi s Message System 133 Handling Messages 134 Sending Your Own
More informationStep 1: Start a GUI Project. Start->New Project->Visual C# ->Windows Forms Application. Name: Wack-A-Gopher. Step 2: Add Content
Step 1: Start a GUI Project Start->New Project->Visual C# ->Windows Forms Application Name: Wack-A-Gopher Step 2: Add Content Download the Content folder (content.zip) from Canvas and unzip in a location
More informationGraphics Programming with GDI and Fonts
Graphics Programming with GDI and Fonts CHAPTER 8 IN THIS CHAPTER Delphi s Representation of Pictures: TImage 276 Saving Images 278 Using the TCanvas Properties 280 Using the TCanvas Methods 301 Coordinate
More informationNASIONALE SENIOR SERTIFIKAAT GRAAD 12
NASIONALE SENIOR SERTIFIKAAT GRAAD 12 INLIGTINGSTEGNOLOGIE V1 FEBRUARIE/MAART 2016 MEMORANDUM PUNTE: 150 Hierdie memorandum bestaan uit 31 bladsye. Inligtingstegnologie/V1 2 DBE/Feb. Mrt. 2016 ALGEMENE
More informationThe Visitor Pattern and Compiler Phases
The Visitor Pattern and Compiler Phases CS 4447 / CS 9545 Stephen M. Watt The University of Western Ontario Non-OO Compiler Implementations Each phase is structured,e.g., as: void tibottomup(stab stab,
More informationVisual Basic 6 Lecture 7. The List Box:
The List Box: The function of the List Box is to present a list of items where the user can click and select the items from the list or we can use the List Box control as a simple memory to save data.
More informationImproving End-User Productivity in Measurement Systems with a Domain-Specific (Modeling) Language Sequencer
Improving End-User Productivity in Measurement Systems with a Domain-Specific (Modeling) Language Sequencer Tomaž Kos 1, Tomaž Kosar 2, Jure Knez 1, and Marjan Mernik 2 1 DEWESoft d.o.o., Gabrsko 11a,
More informationRewrite each expression below as a single base raised to a single exponent. 5- x-r. \( f) -.. -';)_. ).."t'?>x-!'\ [!l_. X-t8 ] x -x
Properties of Exponents and Solving Exponential Equations Analytical, Numerical, and Graphical Connections Property of Exponents fr\1 r'\. 1. a m. a n = 2. a m a 11 ft\(\ Rewrite each expression below
More informationProgram pro výpočet zkratových poměrů v elektrizační soustavě
Program pro výpočet zkratových poměrů v elektrizační soustavě Příloha A zdrojový kód Oto Bucholcer unit Unit1;...4 procedure UpdateVypis_Vysledky;...11 procedure TThreadCalculate.syncShowMessage;...11
More informationӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ
ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ ИНФОРМАТИКАНЫ ОҚЫТЫӮ МЕТОДИКАСЫ ТӘЛИМ БАҒДАРЫ КУРС ЖУМЫСЫ ТЕМАСЫ:
More informationDelphi by Design. One-Step ActiveX - Part 2
Delphi by Design Introduction Past Articles Source Code One-Step ActiveX - Part 2 by Ray Konopka April/May 1998, Vol. 9, No. 1 -- Download Source Code: Click Here It takes only one step to make a working
More informationThis chapter contains information about the products and components supported in Cisco Prime DCNM Release 10.2(1).
This chapter contains information about the products and components supported in Cisco Prime DCNM Release 10.2(1)., page 1 The following tables list the products and components supported in Cisco DCNM,
More information11-1 11-1.1 11-1.2 11-2 11-2.1 11-2.2 108 II 11-1 Timer 11-1.1 Windows 11-1 11-1 Visual Basic Animation Animation 11 109 Animation Animation RLE AVI AVI 11-2 Visual Basic Animation / Microsoft Windows
More informationConflict Serializability, Locking, Lock Modes. CS157B Chris Pollett Apr.27, 2005.
Conflict Serializability, Locking, Lock Modes CS157B Chris Pollett Apr.27, 2005. Outline Testing for Conflict Serializability Locking and Two Phase Locking Different Types of Lock Modes Testing for Conflict
More informationDelphi XE2. evelopment. Delphi XE2 ios Development 2 nd edition, 1 st May 2012
Delphi XE2 evelopment Delphi XE2 ios Development 2 nd edition, 1 st May 2012 Author: Bob Swart (aka Dr.Bob) Bob Swart Training & Consultancy (ebob42) Table of Contents 1. Configuring Delphi XE2 for ios
More informationLesson 10. Homework Problem Set Sample Solutions. then Print True else Print False End if. False False True False False False
Homework Problem Set Sample Solutions 1. Perform the instructions in the following programming code as if you were a computer and your paper were the computer screen. Declare xx integer For all xx from
More information