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

Size: px
Start display at page:

Download "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"

Transcription

1 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 formu da oboji na formi slučajno izabranih piksela slučajno izabrane boje.

2 unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(tform) Button1: TButton; Button2: TButton; Button3: TButton; Timer1: TTimer; Button4: TButton; Button5: TButton; Button6: TButton; GroupBox1: TGroupBox; CheckBox1: TCheckBox; CheckBox2: TCheckBox; CheckBox3: TCheckBox; Image1: TImage; RadioGroup1: TRadioGroup; RadioButton1: TRadioButton; RadioButton2: TRadioButton; RadioButton3: TRadioButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject);

3 procedure Timer1Timer(Sender: TObject); procedure Button3Click(Sender: TObject); procedure Button4Click(Sender: TObject); procedure Button5Click(Sender: TObject); procedure Button6Click(Sender: TObject); procedure CheckBox1Click(Sender: TObject); procedure CheckBox2Click(Sender: TObject); procedure CheckBox3Click(Sender: TObject); procedure RadioGroup1Click(Sender: TObject); procedure RadioButton1Click(Sender: TObject); procedure RadioButton2Click(Sender: TObject); procedure RadioButton3Click(Sender: TObject); private { Private declarations } public procedure Luk(xc,yc,r:integer;a,b:real); var Form1: TForm1; implementation procedure TForm1.Luk(xc,yc,r:integer;a,b:real); var x,y:integer; repeat x:=round(xc+r*cos(a));//pozicija tacke y:=round(yc-r*sin(a)); Canvas.Pixels[x,y]:=clYellow; //bojenje tacke u crno a:=a+1/r; //Ugaoni prirastaj until a>b; {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); var xc,yc,r,x,y,i,n:integer; xc:=clientwidth div 2; //pozicija centra x i y koordinata yc:=clientheight div 2; r:=yc div 2; //poluprecnik kruga je 1/4 visine forme Randomize; n:=random(30); for i:=0 to n-1 do x:=round(xc+r*cos(2*pi*i/n)); //koordinate centra i-tog kruga y:=round(yc+r*sin(2*pi*i/n)); Luk(x,y,r,0,2*Pi); //poziv metode za crtanje luka

4 procedure TForm1.Button2Click(Sender: TObject); var i:longint; Color:LongInt; Randomize; for i:=1 to do//probati sa , i Color:=RGB(Random(255),Random(255),Random(255)); Canvas.Pixels[Random(ClientWidth-1 ),Random(ClientHeight -1)]:=Color; //Probati vise puta dugme CRTAJ pritisnuti - crta jedno preko drugog dugme prekriva povrsinu procedure TForm1.Timer1Timer(Sender: TObject); var i:integer; Randomize; for i:=1 to do//probati sa , i Color:=RGB(Random(255),Random(255),Random(255)); Canvas.Pixels[Random(ClientWidth-1),Random(ClientHeight-1)]:=Color; procedure TForm1.Button3Click(Sender: TObject); Timer1.Enabled:=True; procedure TForm1.Button4Click(Sender: TObject); Timer1.Enabled:=False; //KOORDINATE OD GORNJEG LEVOG UGLA NA DOLE (Y) I NA DESNO (X) procedure TForm1.Button5Click(Sender: TObject); Canvas.MoveTo(100,100); Canvas.LineTo(400,100); Canvas.LineTo(400,400); Canvas.LineTo(100,400); Canvas.LineTo(100,100);

5 procedure TForm1.Button6Click(Sender: TObject); Canvas.MoveTo(0,ClientHeight-1); Canvas.LineTo(ClientWidth-1,ClientHeight-1); Canvas.LineTo(ClientHeight-1,0); Canvas.LineTo(0,ClientHeight-1); procedure TForm1.CheckBox1Click(Sender: TObject); if CheckBox1.Checked then Canvas.MoveTo(100,100); Canvas.LineTo(400,100); Canvas.LineTo(400,400); Canvas.LineTo(100,400); Canvas.LineTo(100,100); procedure TForm1.CheckBox2Click(Sender: TObject); if CheckBox2.Checked then Canvas.MoveTo(0,ClientHeight-1); Canvas.LineTo(ClientWidth-1,ClientHeight-1); Canvas.LineTo(ClientHeight-1,0); Canvas.LineTo(0,ClientHeight-1); procedure TForm1.CheckBox3Click(Sender: TObject); var xc,yc,r:integer; xc:=clientwidth div 2; //pozicija centra x i y koordinata yc:=clientheight div 2; r:=yc; //poluprecnik kruga je 1/4 visine forme Luk(xc,yc,r,0,2*Pi); //poziv metode za crtanje luka procedure TForm1.RadioGroup1Click(Sender: TObject); Case RadioGroup1.ItemIndex of 0: Image1.Picture.LoadFromFile('D:\OOO\organi\mozak.bmp'); 1: Image1.Picture.LoadFromFile('D:\OOO\organi\mozak.bmp');

6 procedure TForm1.RadioButton1Click(Sender: TObject); if RadioButton1.Checked then Image1.Picture.LoadFromFile('D:\Krugovi.bmp'); procedure TForm1.RadioButton2Click(Sender: TObject); if RadioButton2.Checked then Image1.Picture.LoadFromFile('D:\Cvece.bmp'); procedure TForm1.RadioButton3Click(Sender: TObject); if RadioButton3.Checked then end.

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer;

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; type TForm1 = class(tform) Cenario: TImage;

More information

Introduction to the DLL for the USB Interface Board K8061

Introduction 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 information

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi.

var 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

LAMPIRAN A. Foto Alat

LAMPIRAN 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 information

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE/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 information

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM

GRADE 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 information

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows Государственное образовательное учреждение высшего профессионального образования «Петербургский государственный университет путей сообщения» Кафедра «Информационные и вычислительные системы» Лабораторная

More information

LAMPIRAN A: LIST PROGRAM

LAMPIRAN 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 information

UNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library).

UNIT 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 information

Delphi Generics.Collections

Delphi 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 information

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE 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 information

Image. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ;

Image. 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 information

Source code for simulations: 1 of 11

Source 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 information

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6

LAMPIRAN 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 information

unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

unit 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

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL 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 information

namespace spojneice { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

namespace spojneice { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Spojnice using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO;

More information

APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol

APPLICATION 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 information

LAMPIRAN Listing Program

LAMPIRAN 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 information

Windows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3

Windows. 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 information

2. Design and Development

2. 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 information

Part 1 The first steps

Part 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 information

LAMPIRAN A: DDL DATABASE

LAMPIRAN 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 information

LAMPIRAN A RANGKAIAN SKEMATIK PERANGKAT KERAS

LAMPIRAN 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 information

VB komande. Programiranje 1

VB komande. Programiranje 1 VB komande Programiranje 1 Zadatak 1: Sastaviti program koji se sastoji iz jedne ListBox kontrole, jedne Textbox kontrole i dva komandna dugmeta. Klikom na prvo komandno dugme umeće se u ListBox sadržaj

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL 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 information

Računarska grafika-vežbe. 3 JavaFX animacija i interakcija

Računarska grafika-vežbe. 3 JavaFX animacija i interakcija Računarska grafika-vežbe 3 JavaFX animacija i interakcija Zadatak1: Spirala+ Kolokvijum K1 09/10, zadatak prerađen za JavaFX Napisati klasu koja sastavlja graf scene za crtanje centralno simetrične figure

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL 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 information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL 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 information

ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ

ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ ӨЗБЕКСТАН РЕСПУБЛИКАСЫ ҲАЛЫҚ БИЛИМЛЕНДИРИӮ МИНИСТРЛИГИ ӘЖИНИЯЗ АТЫНДАҒЫ НӨКИС МӘМЛЕКЕТЛИК ПЕДАГОГИКА ИНСТИТУТЫ ФИЗИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ ИНФОРМАТИКАНЫ ОҚЫТЫӮ МЕТОДИКАСЫ ТӘЛИМ БАҒДАРЫ КУРС ЖУМЫСЫ ТЕМАСЫ:

More information

Cross-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 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 information

Događaj Paint. 1. Po pokretanju aplikacije iscrtati figuru zmaja

Događaj Paint. 1. Po pokretanju aplikacije iscrtati figuru zmaja Događaj Paint Odmah po učitavanju kontrole, automatski se pokreće događaj Paint kojim definišemo izgled kontrole. Ovaj događaj se takođe pokreće i kada deo kontrole, koji je prethodno bio preklopljen,

More information

Interdisciplinary relations in teaching of programming

Interdisciplinary 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 information

We are all familiar with the concept of a queue:

We 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 information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL 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 information

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA

UJIAN 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 information

Zadatci Small Basic za 7. Razred ( programa)

Zadatci Small Basic za 7. Razred (  programa) Zadatci Small Basic za 7. Razred (www.smallbasic.com-preuzimanje programa) 1. Nacrtaj slijedeći crtež pomoću naredbi u small basic-u. Boje odaberite po svojim željama. GraphicsWindow.Width = 600 Visina

More information

NEAR 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 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 information

Nhập môn. Friday, January 23, 2004 Quyển 1 HƯỚNG DẪN LẬP TRÌNH DELPHI. Phụ lục

Nhậ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 information

THREE. Multiple windows

THREE. 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 information

Adventures in Messaging

Adventures 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 information

Object Pascal Language Guide

Object 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 information

DMX-Dongle II Win16, Win32 & Dos Developer s Guide

DMX-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

(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0.

(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 information

«» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё Delphi. 4.. :,,,.,,

«» 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 information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL 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 information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL 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 information

Mathematical Modeling in Delphi

Mathematical 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 information

LAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg;

LAMPIRAN. 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 information

12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs

12.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

pojedinačnom elementu niza se pristupa imeniza[indeks] indeks od 0 do n-1

pojedinačnom elementu niza se pristupa imeniza[indeks] indeks od 0 do n-1 NIZOVI Niz deklarišemo navođenjemtipa elemenata za kojim sledi par srednjih zagrada[] i naziv niza. Ako je niz višedimenzionalni između zagrada[] se navode zarezi, čiji je broj za jedan manji od dimenzija

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL 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 information

Graphics Programming with GDI and Fonts

Graphics 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 information

LAMPIRAN A /*******************************************************

LAMPIRAN A /******************************************************* 42 Program pada mikrokontroler LAMPIRAN A /******************************************************* This program was created by the CodeWizardAVR V3.12 Advanced Project : gelombang Version : Revisi 4 Date

More information

x y = z Zadaci - procedure

x y = z Zadaci - procedure Zadaci - procedure Zad1. Data je kvadratna meta u koordinatnom sistemu sa koordinatama A(0,0), B(1,0), C(1,1), D(0,1). Sastaviti proceduru Gadjanje koja će odrediti broj poena na sledeći način: ako je

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL 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 information

b) program deljiv3; uses wincrt; var i:integer; begin i:=3; while i<100 do begin write(i:5); i:=i+3; end; end.

b) program deljiv3; uses wincrt; var i:integer; begin i:=3; while i<100 do begin write(i:5); i:=i+3; end; end. NAREDBA CIKLUSA SA PREDUSLOVOM WHILE 1.Odrediti vrednosti s i p nakon izvrsenja sledecih naredbi za dato a=43, a=34, a=105 program p1; var a,s,p:integer; write('unesite a:');readln(a); p:=a; s:=0; while

More information

DELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE

DELPHI 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 information

&'()*+,-./0&(1& $ :;

&'()*+,-./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 information

Delphi by Design. One-Step ActiveX - Part 2

Delphi 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 information

Creating a Webserver in 5 minutes using kbmmw!

Creating 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 information

Delphi Language Guide

Delphi 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 information

LAMPIRAN A LISTING PROGRAM

LAMPIRAN 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 information

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 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 information

PROGRAMIRANJE. Amir Hajdar

PROGRAMIRANJE. Amir Hajdar PROGRAMIRANJE Amir Hajdar Teme 2 Klase i objekti u Javi Primjer kroz klasu Krug Atributi i metode Inicijalizacija objekata (konstruktori) Polymorphism Statičke varijable i metode This Klase i objekti u

More information

I PISMENI ZADATAK III6 I GRUPA IME I PREZIME

I PISMENI ZADATAK III6 I GRUPA IME I PREZIME I PISMENI ZADATAK III6 I GRUPA IME I PREZIME 1.1.Pronaci najveći i najmanji element unete matrice dimenzija n x m i mesto na kome se nalaze. Korististi 2.1. Na osnovu unete matrice A (nxn) celih brojeva

More information

Osnove programskog jezika C# Čas 5. Delegati, događaji i interfejsi

Osnove programskog jezika C# Čas 5. Delegati, događaji i interfejsi Osnove programskog jezika C# Čas 5. Delegati, događaji i interfejsi DELEGATI Bezbedni pokazivači na funkcije Jer garantuju vrednost deklarisanog tipa. Prevodilac prijavljuje grešku ako pokušate da povežete

More information

MesuInstru.dproj 07/05/ :53:24

MesuInstru.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 information

DELPHI FOR ELECTRONIC ENGINEERS. Part 5: measuring with the sound card COURSE

DELPHI 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 information

SENIOR CERTIFICATE EXAMINATION

SENIOR 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 information

The Mechanics of Charged Particles

The Mechanics of Charged Particles The Mechanics of Charged Particles Original 15/07/2005 Updated 19/05/2008 Posted on ViXra 21/04/2013 The following notes are an attempt to simply and understand how charged particles work in terms of waves

More information

CJENOVNIK OGLAŠAVANJA ZA ROTIRAJUĆE BANNERE NA NASLOVNICI

CJENOVNIK OGLAŠAVANJA ZA ROTIRAJUĆE BANNERE NA NASLOVNICI ZA ROTIRAJUĆE E NA NASLOVNICI ROTIRAJUĆI I / BILLBOARD (90x90px) 2/ BILLBOARD (90x0px) BILLBOARD (90x20px) 0 2 EXPANDING VIDEO (00x600) (00x20px) HALF PAGE (00x600px) 2 PEAL (00x00px) 0 FLOATER (00x00px)

More information

12.2 Mixing HLA and MASM/Gas Code in the Same Program In-Line (MASM/Gas) Assembly Code in Your HLA Programs

12.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 information

... ; ako je a n parno. ; ako je a n neparno

... ; ako je a n parno. ; ako je a n neparno Zadaci vezani za ciklus sa preduslovom (WHILE) Zad. Napisati program za izračunavanje n_tog stepena broja a. Zad2. Napisati program za izračunavanje sume S kvadrata parnih i kubova neparnih prirodnih brojeva

More information

judul : dump mysql with delphi - opensource

judul : 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 information

Getting started with Lazarus

Getting 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 information

/*#include <iostream> // Prvi zadatak sa integralnomg ispita

/*#include <iostream> // Prvi zadatak sa integralnomg ispita /*#include // Prvi zadatak sa integralnomg ispita 27.01.2015 #include using std::setw; using std::cout; const int red(5), kolona(4); void unos(int[]); void ispis(int[][kolona]); float

More information

Combining kbmmw and kbmwabd for kbmwabd v and kbmmw v

Combining 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 information

Učitati cio broj n i štampati njegovu recipročnu vrijednost. Ako je učitan broj 0, štampati 1/0.

Učitati cio broj n i štampati njegovu recipročnu vrijednost. Ako je učitan broj 0, štampati 1/0. Kontrolne naredbe Primjeri: Opšti oblik razgranate strukture (if sa ) if (uslov) Naredba 1 ili blok naredbi1 Naredba 2 ili blok naredbi2 Učitati broj x i štampati vrijednost double x, z; Scanner in=new

More information

Mašinska vizija. Dr Nenad Jovičić tnt.etf.rs/~mv

Mašinska vizija. Dr Nenad Jovičić tnt.etf.rs/~mv Mašinska vizija Dr Nenad Jovičić 2017. tnt.etf.rs/~mv Linearne 2D geometrijske transformacije 2D geometrijske transformacije Pretpostavka: Objekti u 2D prostoru se sastoje iz tačaka i linija. Svaka tačka

More information

www.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 information

Agenda. Encuentro de Usuarios Delphi 12/03/2012

Agenda. Encuentro de Usuarios Delphi 12/03/2012 Encuentro de Usuarios Delphi Jorge L. Cangas info@danysoft.com Agenda 09:50 Bienvenida 10:00 FireMonkey 11:15 LiveBindings 12:00 Café 12:30 VCL Styles 13:15 DataSnap y Web 14:25 Preguntas 1 FireMonkey

More information

Coding Standards Document

Coding 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 information

NIZOVI.

NIZOVI. NIZOVI LINKOVI ZA KONZOLNI C# OSNOVNO http://www.mycity.rs/net/programiranje-u-c-za-osnovce-i-srednjoskolce.html http://milan.milanovic.org/skola/csharp-00.htm Niz deklarišemo navođenjem tipa elemenata

More information

Uputa: Zabranjeno je koristiti bilo kakva pomagala. Rje²enja pi²ete desno od zadatka. Predajete samo ovaj list.

Uputa: Zabranjeno je koristiti bilo kakva pomagala. Rje²enja pi²ete desno od zadatka. Predajete samo ovaj list. Ime i prezime: Asistent: Predava : Programiranje (C) 1. kolokvij 14. 4. 2003. 1. 2. 3. 4. 5. 6. 7. Uputa: Zabranjeno je koristiti bilo kakva pomagala. Rje²enja pi²ete desno od zadatka. Predajete samo ovaj

More information

Uputstva za instaliranje čitača Datalogic Skorpio u operativnom sistemu Windows 7 i višim POM-NA-XX-46, V3.0

Uputstva za instaliranje čitača Datalogic Skorpio u operativnom sistemu Windows 7 i višim POM-NA-XX-46, V3.0 POM - Pomoć korisnicima Uputstva za instaliranje čitača Datalogic Skorpio u operativnom sistemu Windows 7 i višim POM-NA-XX-46, V3.0 IZUM, 2016 COBISS, COMARC, COBIB, COLIB, IZUM su zaštićeni znaci u posedu

More information

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document.

For 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 information

Sorting TEN. Alphabetical sort

Sorting 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 information

for i:=2 to n do if glasovi[i]>max then begin max:=glasovi[i]; k:=i {*promenljiva k ce cuvati indeks takmicara sa najvise glasova *} end;

for i:=2 to n do if glasovi[i]>max then begin max:=glasovi[i]; k:=i {*promenljiva k ce cuvati indeks takmicara sa najvise glasova *} end; {*Na Evroviziji je ucestvovalo n izvodjaca. Koji od njih je osvojio najvise glasova publike?*} program Evrovizija; glasovi:array[1..50] of integer; max,k:integer; writeln('unosi se broj izvodjaca:'); writeln('unose

More information

IP Office 4.0 DevLink Programmer s Guide

IP 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 information

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425 Printing in Delphi 5 CHAPTER 10 IN THIS CHAPTER The TPrinter Object 420 TPrinter.Canvas 421 Simple Printing 422 Printing a Form 425 Advanced Printing 425 Miscellaneous Printing Tasks 450 Obtaining Printer

More information

KONTROLE IZBORA_- Kontrola ListBox

KONTROLE IZBORA_- Kontrola ListBox KONTROLE IZBORA_- Kontrola ListBox ili okvir sa listom prikazuje listu elemenat od kojih može da bude izabran jedan ili više elemenata. Elementi liste mogu se dodavati korišćenjem svojstva Items (Properties)

More information

Uvod u relacione baze podataka

Uvod u relacione baze podataka Uvod u relacione baze podataka Ana Spasić 5. čas 1 Podupiti, operatori exists i in 1. Izdvojiti imena i prezimena studenata koji su položili predmet čiji je identifikator 2001. Rešenje korišćenjem spajanja

More information

PDFtext.dll 64 bit-version

PDFtext.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 information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL 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 information

Izrada VI laboratorijske vježbe

Izrada VI laboratorijske vježbe Izrada VI laboratorijske vježbe 1. Programirati proceduru koja se aktivira sa Standard palete alatki klikom na button Fajlovi. Prilikom startovanja procedure prikazuje se forma koja sadrži jedan list box

More information

3 Combining Widgets to create Graphical User Interfaces

3 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 information

For. 1) program ispis; {ispisuje brojeve od 1 do 5 jedan ispod drugog} uses wincrt; var s,i:integer; begin for i:=1 to 5do writeln(i); end.

For. 1) program ispis; {ispisuje brojeve od 1 do 5 jedan ispod drugog} uses wincrt; var s,i:integer; begin for i:=1 to 5do writeln(i); end. For 1) program ispis; {ispisuje brojeve od 1 do 5 jedan ispod drugog} for i:=1 to 5do writeln(i); 2) program ispis; {ispisuje brojeve od 5 do 1 jedan ispod drugog} for i:=5 downto 1 do writeln(i); 3) program

More information

Delphi 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 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 information

SENIOR CERTIFICATE EXAMINATION GRADE 12

SENIOR 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 information