<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-544477347468729802</id><updated>2026-07-16T12:08:04.932+07:00</updated><category term="delphi"/><category term="sintak"/><category term="program"/><category term="syntax"/><category term="perintah"/><category term="Database"/><category term="Tips Pemrograman"/><category term="dasar"/><category term="gambar"/><category term="grafik"/><category term="bahasa"/><category term="command"/><category term="tanggal"/><category term="grafis"/><category term="komputer"/><category term="canvas"/><category term="date"/><category term="source code"/><category term="vcl"/><category term="waktu"/><category term="Tutorial Pemrograman"/><category term="algoritma"/><category term="form"/><category term="fungsi"/><category term="tcanvas"/><category term="Memakai VCL"/><category term="bilangan"/><category term="bulan"/><category term="file"/><category term="matematika"/><category term="print"/><category term="TAdoQuery"/><category term="TDataSource"/><category term="access"/><category term="assignfile"/><category term="bahasa program"/><category term="console"/><category term="error"/><category term="hari"/><category term="kode program"/><category term="lingkaran"/><category term="looping"/><category term="ms access"/><category term="multimedia"/><category term="pascal"/><category term="printer"/><category term="software"/><category term="stdctrls"/><category term="string"/><category term="tahun"/><category term="tipe data"/><category term="windows"/><category term="64 bit"/><category term="Sistem operasi"/><category term="TDbGrid"/><category term="aplikasi console"/><category term="char"/><category term="chord"/><category term="contoh program"/><category term="data"/><category term="dateseparator"/><category term="download"/><category term="fpb"/><category term="garis"/><category term="getwindowlong"/><category term="graphics"/><category term="jam"/><category term="keyboard"/><category term="komponen"/><category term="math"/><category term="mp3"/><category term="perintah dasar"/><category term="perulangan"/><category term="player"/><category term="query"/><category term="rewrite"/><category term="setwindowlong"/><category term="shortdateformat"/><category term="system"/><category term="tbutton"/><category term="tdbnavigator"/><category term="tgl"/><category term="tmediaplayer"/><category term="topendialog"/><category term="virtual"/><category term="$R"/><category term="32 bit"/><category term="CopyFrom"/><category term="GetPrinter"/><category term="PixelsPerInch"/><category term="PrinterIndex"/><category term="QUERYESCSUPPORT"/><category term="TFileStream"/><category term="TImageList"/><category term="TPopupMenu"/><category term="TResourceStream"/><category term="abs"/><category term="absolute"/><category term="activecontrol"/><category term="addparameter"/><category term="addseries"/><category term="adotable"/><category term="adox"/><category term="akord"/><category term="angka"/><category term="ansistring"/><category term="aplikasi"/><category term="application.exename"/><category term="arc"/><category term="array"/><category term="array of string"/><category term="assertion"/><category term="audio"/><category term="auto create"/><category term="background"/><category term="balik"/><category term="beep"/><category term="begindoc"/><category term="besok"/><category term="bevelkind"/><category term="bilangan prima"/><category term="binding file"/><category term="bitmap"/><category term="bkflat"/><category term="bmi"/><category term="body mass index"/><category term="bordbk120N"/><category term="borland"/><category term="brcc32.exe"/><category term="bunyi"/><category term="busur"/><category term="cafree"/><category term="case of"/><category term="cdrom"/><category term="ceil"/><category term="celcius"/><category term="cetak langsung"/><category term="chipertext"/><category term="class"/><category term="clear screen"/><category term="closefile"/><category term="clrscr"/><category term="codegear"/><category term="compatible"/><category term="conditional statement"/><category term="contoh"/><category term="convert"/><category term="counter"/><category term="createmutex"/><category term="createwnd"/><category term="daftar"/><category term="dasar pemrograman"/><category term="database access"/><category term="datamodule"/><category term="dbf"/><category term="ddl"/><category term="dec"/><category term="decodedatetime"/><category term="default printer"/><category term="deklarasi"/><category term="dekripsi"/><category term="delphi 2009"/><category term="desimal"/><category term="detik"/><category term="diagram"/><category term="diagram lingkaran"/><category term="dictionary"/><category term="dispose"/><category term="dll"/><category term="dos"/><category term="drag"/><category term="drawing"/><category term="drive"/><category term="dupestring"/><category term="dvdrom"/><category term="eksepsi"/><category term="ellipse"/><category term="embarcadero"/><category term="enddoc"/><category term="enkripsi"/><category term="error_already_extsts"/><category term="escape"/><category term="extractfilepath"/><category term="fahrenheit"/><category term="failure"/><category term="faktor"/><category term="faktor persekutuan"/><category term="faktor persekutuan terbesar"/><category term="file ini"/><category term="filetext"/><category term="fingerprint interactive"/><category term="float"/><category term="floor"/><category term="for downto"/><category term="for to"/><category term="format"/><category term="formatfloat"/><category term="formclose"/><category term="frame"/><category term="function"/><category term="get"/><category term="getdate"/><category term="getdevicecaps"/><category term="getlasterror"/><category term="getsystemdefaultlangid"/><category term="hardware"/><category term="high"/><category term="himpunan"/><category term="http"/><category term="huruf"/><category term="if then else"/><category term="import libray"/><category term="import tlb"/><category term="indonesia"/><category term="inggris"/><category term="ini files"/><category term="internet"/><category term="invalidate"/><category term="kamus"/><category term="karakter"/><category term="kelipatan persekutuan terkecil"/><category term="kelvin"/><category term="kemarin"/><category term="keybd_event"/><category term="keyboard virtual"/><category term="keyword"/><category term="koneksi"/><category term="konsole"/><category term="konversi suhu"/><category term="kosakata"/><category term="kotak"/><category term="kotak edit"/><category term="kpk"/><category term="lagu"/><category term="language"/><category term="layar"/><category term="layoutkeyboard"/><category term="lineto"/><category term="login"/><category term="longmonthnames"/><category term="low"/><category term="master detil"/><category term="mdi"/><category term="membalik string"/><category term="memori"/><category term="menit"/><category term="menuitem"/><category term="mesin absensi"/><category term="milidetik"/><category term="mod"/><category term="modul. program"/><category term="moveto"/><category term="mp3 player"/><category term="new"/><category term="no titlebar"/><category term="no window caption"/><category term="now"/><category term="number"/><category term="object"/><category term="octamus"/><category term="oem2ansi"/><category term="ondrawitem"/><category term="onmeasureitem"/><category term="onpaint"/><category term="oop"/><category term="ord"/><category term="pangkat"/><category term="paramaeter"/><category term="parambyname"/><category term="parametes"/><category term="paramstr"/><category term="pecahan"/><category term="pembulatan"/><category term="pemrograman"/><category term="perintah IF"/><category term="persegi panjang"/><category term="pie"/><category term="pixels"/><category term="point"/><category term="pointer"/><category term="polygon"/><category term="polyline"/><category term="post"/><category term="power"/><category term="printers"/><category term="program komputer"/><category term="random"/><category term="randomize"/><category term="read"/><category term="readbinarystream"/><category term="readdate"/><category term="readdatetime"/><category term="readfloat"/><category term="readinteger"/><category term="readln"/><category term="readstring"/><category term="record"/><category term="rectangle"/><category term="registry"/><category term="repeat until"/><category term="request server"/><category term="resource compile"/><category term="resource file"/><category term="reverse"/><category term="round"/><category term="rxlib"/><category term="screen"/><category term="sejarah"/><category term="service"/><category term="shortmonthnames"/><category term="show"/><category term="sintaks"/><category term="sistem"/><category term="speaker"/><category term="sql server"/><category term="stretchblt"/><category term="stringofchar"/><category term="strtofloat"/><category term="strtoint"/><category term="suara"/><category term="table"/><category term="tadoconnection"/><category term="tadotable"/><category term="tbitmap"/><category term="tcombobox"/><category term="tdaset"/><category term="tdateedit"/><category term="tdatetime"/><category term="tdbchart"/><category term="tdbedit"/><category term="tdbf"/><category term="tedit"/><category term="teechart"/><category term="tembereng"/><category term="text file"/><category term="textfile"/><category term="textout"/><category term="time"/><category term="timer"/><category term="tindy"/><category term="tipe drive"/><category term="titik"/><category term="tmainmenu"/><category term="tmenuitem"/><category term="tombol"/><category term="tomorrow"/><category term="tpieseries"/><category term="tpoint"/><category term="trackbar"/><category term="try except"/><category term="try finally"/><category term="tstringgrid"/><category term="tstringlist"/><category term="ttoolbar"/><category term="ttoolbutton"/><category term="ttrackbar"/><category term="turbo pascal"/><category term="umur"/><category term="unicode"/><category term="variabel"/><category term="versi"/><category term="versi windows"/><category term="view source"/><category term="volume"/><category term="warna"/><category term="while do"/><category term="winlanguage"/><category term="write"/><category term="writebinarystream"/><category term="writedate"/><category term="writedatetime"/><category term="writefloat"/><category term="writeinteger"/><category term="writeln"/><category term="writestring"/><category term="xlabelssource"/><category term="yvalues"/><category term="zkemkeeper"/><title type='text'>Octa Cinta Delphi</title><subtitle type='html'>Tempat berbagai pengalaman programmer Delphi</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>115</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-2140556287443112992</id><published>2024-02-08T14:22:00.015+07:00</published><updated>2026-07-15T15:51:53.455+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="dictionary"/><category scheme="http://www.blogger.com/atom/ns#" term="download"/><category scheme="http://www.blogger.com/atom/ns#" term="indonesia"/><category scheme="http://www.blogger.com/atom/ns#" term="inggris"/><category scheme="http://www.blogger.com/atom/ns#" term="kamus"/><category scheme="http://www.blogger.com/atom/ns#" term="kosakata"/><category scheme="http://www.blogger.com/atom/ns#" term="language"/><category scheme="http://www.blogger.com/atom/ns#" term="octamus"/><title type='text'>Octamus Inggris-Indonesia</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;CARA MENGUNDUH OCTAMUS&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Unduh Octamus dengan memilih format sebagai berikut:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://drive.google.com/file/d/1_vDiE6xmKv0NQmF8wvpW4PUJYMpGLnQH/view?usp=drive_link&quot;&gt;Unduh Octamus Sebagai File Exe&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://drive.google.com/file/d/1_pmTsqE9HiF8BlB0yBxiZG35OZuozx01/view?usp=drive_link&quot;&gt;Unduh Octamus Sebagai File Zip&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEmSyXvlMgMPD4Dubj0SkLBSv8d-qxfrd0zyAik5m0Nnh_dQoZuT-Swl37dPiapD2ZNifF6QJTLJh7TIzYHSEyGYbueV1c-mQoh4PYc1ojTdbDhNpMMwSAeNC53Lj52FPIp9VV_RR3MRcgTbYO4XBlsTbr8mBIev_N_fpplEklqlffiUfONHPnUJIRHBA/s568/OctaMus.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;474&quot; data-original-width=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEmSyXvlMgMPD4Dubj0SkLBSv8d-qxfrd0zyAik5m0Nnh_dQoZuT-Swl37dPiapD2ZNifF6QJTLJh7TIzYHSEyGYbueV1c-mQoh4PYc1ojTdbDhNpMMwSAeNC53Lj52FPIp9VV_RR3MRcgTbYO4XBlsTbr8mBIev_N_fpplEklqlffiUfONHPnUJIRHBA/s1600/OctaMus.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;FITUR OCTAMUS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium; font-weight: 400; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Dapat mencari kata dalam Inggris-Indonesia, sebaliknya atau otomatis&lt;/li&gt;&lt;li&gt;Mengandung sinonim, idiom dan frasa&lt;/li&gt;&lt;li&gt;Terdapat ejaaan UK dan US&lt;/li&gt;&lt;li&gt;Terdapat penyuara kata, &lt;i&gt;Text-to-Speech&lt;/i&gt;, baik Indonesia dan Inggris&amp;nbsp;&lt;/li&gt;&lt;li&gt;Terdapat penyuara kata dengan lima aksen Inggris: GENERAL, AMERICAN, SCOTTISH, NORTHERN, WEST MIDLANDS&lt;/li&gt;&lt;li&gt;Meliputi istilah keilmuan&lt;/li&gt;&lt;li&gt;Memiliki pengawas papan tempel (&lt;i&gt;Clipboard monitoring&lt;/i&gt;)&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;PANDUAN PEMAKAIAN&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;1. Cara Memasang di Windows&lt;br /&gt;2. Mengubah Pilihan Bahasa&lt;div&gt;3. Mencari Kata &lt;br /&gt;4. Mengubah Aksen Inggris &lt;br /&gt;5. Pengawas Papan Tempel, CLB (Clipboard Monitoring) &lt;br /&gt;6. Tampilan Pencarian &lt;br /&gt;7. Aplikasi selalu di atas &lt;br /&gt;8. Penyuara Kata, TTS (Text-to-Speech)&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A. Cara Memasang di Windows&lt;/b&gt;&lt;/div&gt;1. Unduh aplikasi pemasang dengan memilih salah satu format:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://drive.google.com/file/d/1EmgGrt0X6TUV0ffwe2unyBl7OF67Kxe7/view?usp=sharing&quot;&gt;Unduh sebagai File EXE&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Z0ImY2PUyDPy8M9HZgYiYvrC8VhZyU8l/view?usp=sharing&quot;&gt;Unduh sebagai File Zip&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;2. Letakkan di salah satu folder komputer &lt;br /&gt;3. Klik dua kali InsOcm.exe&lt;br /&gt;4. Pemasang akan menampil kan kotak berikut:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge8wqfIwzDLY26_rINFOIF790h5qVIK553xo83RDAe9VxKLtF0SCwBXzdZJwTSRSm6njyUSGUVUFsUCEbM6LLOp0SPJJgE26l_Xk-QV8GBHaNAcTBWjI_ZQbfnPVZgpsmCfvYGdRTLLF268ymI3aCtPlj5ChDzwfaOhHZL4O5AyRwyoVYWRtEBVfCa3nY/s444/OctaInstall.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;174&quot; data-original-width=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge8wqfIwzDLY26_rINFOIF790h5qVIK553xo83RDAe9VxKLtF0SCwBXzdZJwTSRSm6njyUSGUVUFsUCEbM6LLOp0SPJJgE26l_Xk-QV8GBHaNAcTBWjI_ZQbfnPVZgpsmCfvYGdRTLLF268ymI3aCtPlj5ChDzwfaOhHZL4O5AyRwyoVYWRtEBVfCa3nY/s1600/OctaInstall.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. Tanpa pengubahan, Octamus akan dipasang di D:\Octamus, namun Anda dapat menuliskan atau mengklik tombol GANTI.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. Kotak berikut akan muncul jika pemasangan Octamus selesai.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfdrDjcx1XgXGtlee4LOLZnWBjdeywDoPhbkBw0m3vaNIq967pCcBQ_pLKbI7H4eFAsEGitWqOWu8cbWNG36jdLkhQVr6Lr-YcD8_WQCljCOMwxCke_22vo7cqzTEv0McqCo164YexPYOKVrWh3QYARQnP3rJ-N0-xykxzkLqzTNKLDnUZx3phWVDXxZM/s236/Informasi.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;125&quot; data-original-width=&quot;236&quot; height=&quot;125&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfdrDjcx1XgXGtlee4LOLZnWBjdeywDoPhbkBw0m3vaNIq967pCcBQ_pLKbI7H4eFAsEGitWqOWu8cbWNG36jdLkhQVr6Lr-YcD8_WQCljCOMwxCke_22vo7cqzTEv0McqCo164YexPYOKVrWh3QYARQnP3rJ-N0-xykxzkLqzTNKLDnUZx3phWVDXxZM/s1600/Informasi.png&quot; width=&quot;236&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;B. Mengubah Pilihan Bahasa&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Anda dapat mencari kata dengan
menganggap kata yang Anda masukkan sebagai Bahasa Indonesia atau Inggris&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-HHCHM9OLRM44vbohMskDYSIfUmVmjV24XnQobTcPpX2IC5B0k9bmcIeBHc0gNpcdx40rSbKGeBc6zXt_T-avjVX8NjH78_XO4OolOjFxMZhoAxPaLtbsPzERyY9ur5YpTyWF-5db8eNw3qM2GaJbp8OYXfrU04-45Ctd3S9p4xFDn72EztuEkjWoMWY/s213/Gambar3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;25&quot; data-original-width=&quot;213&quot; height=&quot;25&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-HHCHM9OLRM44vbohMskDYSIfUmVmjV24XnQobTcPpX2IC5B0k9bmcIeBHc0gNpcdx40rSbKGeBc6zXt_T-avjVX8NjH78_XO4OolOjFxMZhoAxPaLtbsPzERyY9ur5YpTyWF-5db8eNw3qM2GaJbp8OYXfrU04-45Ctd3S9p4xFDn72EztuEkjWoMWY/s1600/Gambar3.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Atau Anda juga dapat memilih
otomatis. Pada mode ini, aplikasi akan mencarinya terlebih dahulu sebagai
Bahasa Inggris. Jika tidak diketemukan, aplikasi akan mencarinya dalam Bahasa
Indonesia.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C. Mencari Kata&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Ketikkan kata yang Anda cari di
kotak pencarian. Dalam contoh berikut, saya mencari padanan kata KISS dalam
Bahasa Indonesia.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEx8NmqATv0JsA3m3TBWBNxr730WSqIe8_b8josoTd-LikevBJgyWSe3Q_vkpBGRQBQH95aDPB-O8J3x7rioOSql9lwgNsgt-WhAFX9yiVX90JK30O04u0j-oLOqg2P4xGK5pP9WydiBUNP7e7PqLuK7hYngiiZkGiJQXDCa974U9MF_dtXB-iKlVC5gU/s202/Gambar2.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;58&quot; data-original-width=&quot;202&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEx8NmqATv0JsA3m3TBWBNxr730WSqIe8_b8josoTd-LikevBJgyWSe3Q_vkpBGRQBQH95aDPB-O8J3x7rioOSql9lwgNsgt-WhAFX9yiVX90JK30O04u0j-oLOqg2P4xGK5pP9WydiBUNP7e7PqLuK7hYngiiZkGiJQXDCa974U9MF_dtXB-iKlVC5gU/s1600/Gambar2.jpg&quot; width=&quot;202&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Tekan Enter untuk memulai pencarian
atau klik tombol bergambar kaca pembesar.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Octamus akan menampilkan daftar
kata yang Anda masukkan dengan dua jenis tampilan, yaitu: kata yang mirip&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;(tampilan atas) dan kata dalam frasa
(tampilan bawah).&lt;/span&gt;&lt;/p&gt;

&lt;br /&gt;&lt;b&gt;D. Mengubah Aksen Inggris &lt;i&gt;Text-to-Speech &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Khusus untuk penyuara Inggris, Anda dapat memilih lima jenis aksen, yaitu:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &lt;br /&gt;1.      &lt;i&gt;General English Accent &lt;/i&gt;&lt;br /&gt;2.      &lt;i&gt;American English Accent &lt;/i&gt;&lt;br /&gt;3.      &lt;i&gt;Scottish Accent &lt;/i&gt;&lt;br /&gt;4.      &lt;i&gt;Northern English Accent &lt;/i&gt;&lt;br /&gt;5.      &lt;i&gt;West Midlands Accent &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Anda dapat memilihnya pada tampilan berikut ini:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1-CVarjqWkpmHvbaWmKcZc_EJSMNn_iVq_z5fQk_NQGkrg0648sqonvQUVmh3KDZw5HyyFidc97QBADBeSpgGUoIZ5CAozhyphenhyphennKupbeTixgx8rSi4kzpcaUyHjotCrWrAVa0Y1Kl-HKae3zXFf8h_3zfiHD4JZhj0iZUgkBOq5b0d8Ozho6rXKeIU_ObA/s277/Gambar4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;27&quot; data-original-width=&quot;277&quot; height=&quot;27&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1-CVarjqWkpmHvbaWmKcZc_EJSMNn_iVq_z5fQk_NQGkrg0648sqonvQUVmh3KDZw5HyyFidc97QBADBeSpgGUoIZ5CAozhyphenhyphennKupbeTixgx8rSi4kzpcaUyHjotCrWrAVa0Y1Kl-HKae3zXFf8h_3zfiHD4JZhj0iZUgkBOq5b0d8Ozho6rXKeIU_ObA/s1600/Gambar4.png&quot; width=&quot;277&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;b&gt;E.
Pengawas Papan Tempel (&lt;/b&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;Clipboard
Monitoring&lt;/i&gt;&lt;b&gt;)&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Pengawas Papan Tempel dapat digunakan untuk mempermudah menuliskan
kata dengan&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Copy-Paste&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;kata&lt;/span&gt;&lt;i style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;dari sumber. Aplikasi
akan langsung menuliskan pada kotak pencarian kata. Untuk tujuan tersebut, beri
centang ke kotak centang CLB:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWyrtY7UrQ6yArdKPzGsk2y33JmAcgD6Cx-izc5lpvixsewzwfL-QwE-spOJr1-oDCtGLln53x2FvM5oMG3lPIGaKPRpR7TDsFkR_BLMkEqnfgT_KTsdn-uTkP1jD_tmNclCUMrMZ4fbgtTcqdpuuO3icEszG_ulQcY64v9UzbV6xxBFXN2eqWYORz6XM/s204/Gambar5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;55&quot; data-original-width=&quot;204&quot; height=&quot;55&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWyrtY7UrQ6yArdKPzGsk2y33JmAcgD6Cx-izc5lpvixsewzwfL-QwE-spOJr1-oDCtGLln53x2FvM5oMG3lPIGaKPRpR7TDsFkR_BLMkEqnfgT_KTsdn-uTkP1jD_tmNclCUMrMZ4fbgtTcqdpuuO3icEszG_ulQcY64v9UzbV6xxBFXN2eqWYORz6XM/s1600/Gambar5.png&quot; width=&quot;204&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;F. Tampilan Arti Kata&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Terdapat dua jenis tampilan arti kata, yaitu: datar dan baris,
seperti gambar berikut:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Tampilan arti model
datar&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggXa039rur30IKvTtrMkbg6MDqfi3qMw5CbuJYoqd9gqCNks2Si_QDNUE9_zUK3foZMPDA19w3tfLQlyxHfVVGUISXtknP11dy15hlO9diFHKWZP0yajUvwpgoeQoJHV8gLfSnvOzV6nOVufmH1VBcFV9NlnGzsy4nv48jDG0jOONUO20qxGGpiLS5P4M/s202/PilihDatar.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;30&quot; data-original-width=&quot;202&quot; height=&quot;30&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggXa039rur30IKvTtrMkbg6MDqfi3qMw5CbuJYoqd9gqCNks2Si_QDNUE9_zUK3foZMPDA19w3tfLQlyxHfVVGUISXtknP11dy15hlO9diFHKWZP0yajUvwpgoeQoJHV8gLfSnvOzV6nOVufmH1VBcFV9NlnGzsy4nv48jDG0jOONUO20qxGGpiLS5P4M/s1600/PilihDatar.png&quot; width=&quot;202&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNd_1yU-q6nm1KDNiGmOkXgX7GoqZslzswO3MdSXIVnat27Yt96xfCp-4261l2z9MjGFfMzLmXeqTGFFvDSviqoQNZLxC0sOSyhqRXdJWldRHOT0aYJfNrSr3NAGPWaKGKH5t7_l9QZRqLG4xhzrcS9_Doc2_HYXxcv8fWnSZCxHJk_uIhRFucS86Tp7k/s571/Gambar6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;86&quot; data-original-width=&quot;571&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNd_1yU-q6nm1KDNiGmOkXgX7GoqZslzswO3MdSXIVnat27Yt96xfCp-4261l2z9MjGFfMzLmXeqTGFFvDSviqoQNZLxC0sOSyhqRXdJWldRHOT0aYJfNrSr3NAGPWaKGKH5t7_l9QZRqLG4xhzrcS9_Doc2_HYXxcv8fWnSZCxHJk_uIhRFucS86Tp7k/s16000/Gambar6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Tampilan arti model baris&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1BGjGztE7iE06kFL5Rgg2rxgk1TDMN4_IBFjYh18nFCO8N4eseFUHU71-oEscQDqg-Im051ELlqMGqIAqxQNzwDISaTmN_vaL_RjqrS1rBg-guZpM9GqbPROuG2IyJVcJrrbGqQmiZszTPr5aPXwFLLvCdtAtSM09Eo8N3PjSVNaGTNOJXe_NTqZdfoo/s201/CentangBaris.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;28&quot; data-original-width=&quot;201&quot; height=&quot;28&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1BGjGztE7iE06kFL5Rgg2rxgk1TDMN4_IBFjYh18nFCO8N4eseFUHU71-oEscQDqg-Im051ELlqMGqIAqxQNzwDISaTmN_vaL_RjqrS1rBg-guZpM9GqbPROuG2IyJVcJrrbGqQmiZszTPr5aPXwFLLvCdtAtSM09Eo8N3PjSVNaGTNOJXe_NTqZdfoo/s1600/CentangBaris.png&quot; width=&quot;201&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9FuCWYXcpz0rYNNEIHLXvYRrCw3sP8sjV-VbbJjiS7B8PLaRWJm_FgVOmxn3uhxLuExKqWkOMdfukYVmEShLkhTPTitYY1ICLZ-4ku_W2rcew8qLaXDlQdxhxu2zv3M4fjrgo7E9oZovCeF7l-IwPCFn_N1hQ1jntW323Ae6aYUsRY_MjJY7Xv3gQ9E/s484/Gambar7.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;105&quot; data-original-width=&quot;484&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9FuCWYXcpz0rYNNEIHLXvYRrCw3sP8sjV-VbbJjiS7B8PLaRWJm_FgVOmxn3uhxLuExKqWkOMdfukYVmEShLkhTPTitYY1ICLZ-4ku_W2rcew8qLaXDlQdxhxu2zv3M4fjrgo7E9oZovCeF7l-IwPCFn_N1hQ1jntW323Ae6aYUsRY_MjJY7Xv3gQ9E/s16000/Gambar7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;G. Aplikasi selalu di
Atas&lt;/span&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Jika dikehendaki, Anda
dapat membuat Octamus selalu di atas. Dengan demikian, apapun aplikasi komputer
yang sedang berjalan, Octamus tidak akan tertutupi. Klik centang pada bagian
berikut untuk maksud tersebut.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjumTkG31JLbmvUeCbczNFVAc8cr_LZewQz_xN5P_RD3pJQotlnW0IWKZ8-PGeQHYhwIhbc1_DHJdoQbSW5vmG3B1YAeQ69curkgbNGj-Vos51ArORCdu5VlR12SiecmzC6umwUsoPRODMkOen4RUKTb572KenjPmmYfcrtYzqXXcI6rVMChNDUGfOpCN4/s199/PilihAtas.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;31&quot; data-original-width=&quot;199&quot; height=&quot;31&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjumTkG31JLbmvUeCbczNFVAc8cr_LZewQz_xN5P_RD3pJQotlnW0IWKZ8-PGeQHYhwIhbc1_DHJdoQbSW5vmG3B1YAeQ69curkgbNGj-Vos51ArORCdu5VlR12SiecmzC6umwUsoPRODMkOen4RUKTb572KenjPmmYfcrtYzqXXcI6rVMChNDUGfOpCN4/s1600/PilihAtas.png&quot; width=&quot;199&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;H. Penyuara Kata, TTS
(Text-to-Speech)&lt;/span&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Penyuara kata akan
menyuarakan kata yang dipilih di tampilan daftar kata di sebelah kiri, baik
kata maupun frasa. Klik kata yang ingin didengar pelafalannya. Agar dapat
bertindak demikian, Anda perlu mencentang TTS&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwhcOHa0boeHNH7JdRQokcqSuEgU-9qMxkP79cvsfgIKPrL-jDdFcR_P56PVX3WnMpZ1cv3tY9pY8frPIc9hCp2ghhUj4221OYYj0sMstCP0tiTGB_hEcpzhGQgNKFeKWfeF9rqEj17SyfpAMvA-sS0n1QLasE0onlNDJQVUBxpSz8ayZu1yMGOtQJN4k/s202/CentangTTS.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;26&quot; data-original-width=&quot;202&quot; height=&quot;26&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwhcOHa0boeHNH7JdRQokcqSuEgU-9qMxkP79cvsfgIKPrL-jDdFcR_P56PVX3WnMpZ1cv3tY9pY8frPIc9hCp2ghhUj4221OYYj0sMstCP0tiTGB_hEcpzhGQgNKFeKWfeF9rqEj17SyfpAMvA-sS0n1QLasE0onlNDJQVUBxpSz8ayZu1yMGOtQJN4k/s1600/CentangTTS.png&quot; width=&quot;202&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;I. Daftar Singkatan&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Status Kata:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;ARK : kata lama yang tidak terpakai lagi&lt;/div&gt;&lt;div&gt;INF : kata Informal&lt;/div&gt;&lt;div&gt;SLG : kata Slang&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Kategori:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;ANA:&amp;nbsp; ANATOMI&lt;/div&gt;&lt;div&gt;AST:&amp;nbsp; ASTRONOMI&lt;/div&gt;&lt;div&gt;BIO:&amp;nbsp; BIOLOGI&lt;/div&gt;&lt;div&gt;BIN:&amp;nbsp; BINATANG&lt;/div&gt;&lt;div&gt;BUD:&amp;nbsp; BUDDHA&lt;/div&gt;&lt;div&gt;DOK:&amp;nbsp; DOKTER&lt;/div&gt;&lt;div&gt;ELE:&amp;nbsp; ELEKTRO&lt;/div&gt;&lt;div&gt;FAR:&amp;nbsp; FARMASI&lt;/div&gt;&lt;div&gt;FIS:&amp;nbsp; FISIKA&lt;/div&gt;&lt;div&gt;GEO: GEOLOGI&lt;/div&gt;&lt;div&gt;HUK: HUKUM&lt;/div&gt;&lt;div&gt;ISL:&amp;nbsp; &amp;nbsp;ISLAM&lt;/div&gt;&lt;div&gt;KAT:&amp;nbsp; KATOLIK&lt;/div&gt;&lt;div&gt;KIM:&amp;nbsp; KIMIA&lt;/div&gt;&lt;div&gt;KOM: KOMPUTER&lt;/div&gt;&lt;div&gt;KUL:&amp;nbsp; KULINER&lt;/div&gt;&lt;div&gt;KRI:&amp;nbsp; &amp;nbsp;KRISTEN&lt;/div&gt;&lt;div&gt;LIN:&amp;nbsp; &amp;nbsp;LINGUISTIK&lt;/div&gt;&lt;div&gt;MAT:&amp;nbsp; MATEMATIKA&lt;/div&gt;&lt;div&gt;MUS: MUSIK&lt;/div&gt;&lt;div&gt;PIK: PERIKANAN&lt;/div&gt;&lt;div&gt;PTN: PERTANIAN&lt;/div&gt;&lt;div&gt;PSI: PSIKOLOGI&lt;/div&gt;&lt;div&gt;TUM: TUMBUHAN&lt;/div&gt;&lt;div style=&quot;font-style: italic; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Asal Bahasa:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;AFR: AFRIKA&lt;/div&gt;&lt;div&gt;AME: AMERIKA&lt;/div&gt;&lt;div&gt;ARA: ARAB&lt;/div&gt;&lt;div&gt;AUS: AUSTRALIA&lt;/div&gt;&lt;div&gt;BRI: BRITISH&lt;/div&gt;&lt;div&gt;OLD: INGGRIS LAMA&lt;/div&gt;&lt;div&gt;BEL: BELANDA&lt;/div&gt;&lt;div&gt;CIN: CINA&lt;/div&gt;&lt;div&gt;IND: INDONESIA&lt;/div&gt;&lt;div&gt;IDA: INDIA&lt;/div&gt;&lt;div&gt;ITA: ITALIA&lt;/div&gt;&lt;div&gt;JER: JERMAN&lt;/div&gt;&lt;div&gt;LAT: LATIN&lt;/div&gt;&lt;div&gt;PER: PERANCIS&lt;/div&gt;&lt;div&gt;RUS: RUSIA&lt;/div&gt;&lt;div&gt;SPA: SPANYOL&lt;/div&gt;&lt;div&gt;SKO: SKOTLANDIA&lt;/div&gt;&lt;div&gt;YUN: YUNANI&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Jenis Kata:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;IDM : Idiom&lt;/div&gt;&lt;div&gt;FRA : Frasa&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Tipe Kata:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;KB&amp;nbsp; : Kata Benda&lt;/div&gt;&lt;div&gt;KS&amp;nbsp; : Kata Sifat&lt;/div&gt;&lt;div&gt;KT&amp;nbsp; : Kata Keterangan&lt;/div&gt;&lt;div&gt;KG&amp;nbsp; : Kata Ganti&lt;/div&gt;&lt;div&gt;KK&amp;nbsp; : Kata Kerja&lt;/div&gt;&lt;div&gt;KD&amp;nbsp; : Kata Depan&lt;/div&gt;&lt;div&gt;IT&amp;nbsp; : Kata Seru&lt;/div&gt;&lt;div&gt;SB&amp;nbsp; : Kata Sambung&lt;/div&gt;&lt;div&gt;SX&amp;nbsp; : Akhiran&lt;/div&gt;&lt;div&gt;PX&amp;nbsp; : Awalan&lt;/div&gt;&lt;div&gt;PR&amp;nbsp; : Frasa&lt;/div&gt;&lt;div&gt;NU&amp;nbsp; : Numerik&lt;/div&gt;&lt;div&gt;AR&amp;nbsp; : Artikel&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/2140556287443112992/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2024/02/octamus-inggris-indonesia.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2140556287443112992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2140556287443112992'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2024/02/octamus-inggris-indonesia.html' title='Octamus Inggris-Indonesia'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEmSyXvlMgMPD4Dubj0SkLBSv8d-qxfrd0zyAik5m0Nnh_dQoZuT-Swl37dPiapD2ZNifF6QJTLJh7TIzYHSEyGYbueV1c-mQoh4PYc1ojTdbDhNpMMwSAeNC53Lj52FPIp9VV_RR3MRcgTbYO4XBlsTbr8mBIev_N_fpplEklqlffiUfONHPnUJIRHBA/s72-c/OctaMus.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-9122674304115194682</id><published>2022-03-31T15:39:00.001+07:00</published><updated>2022-03-31T15:39:49.299+07:00</updated><title type='text'>Fungsi Waktu MonthOfTheYear</title><content type='html'>&lt;p&gt;Fungsi MonthOfTheYear digunakan untuk mendapatkan urutan bulan dengan hasil bilangan integer. Fungsi ini didefinisikan di unit DateUtils.&lt;/p&gt;&lt;p&gt;Contoh:&lt;/p&gt;&lt;p&gt;Uses DateUtils&lt;/p&gt;&lt;p&gt;var&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; BulanKe : integer&lt;/p&gt;&lt;p&gt;begin&lt;/p&gt;&lt;p&gt;BulanKe := MonthOfTheYear(now);&lt;/p&gt;&lt;p&gt;ShowMessage(&#39;Sekarang bulan ke: &#39; + IntToStr(BulanKe));&lt;/p&gt;&lt;p&gt;end;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/9122674304115194682/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2022/03/fungsi-waktu-monthoftheyear.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/9122674304115194682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/9122674304115194682'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2022/03/fungsi-waktu-monthoftheyear.html' title='Fungsi Waktu MonthOfTheYear'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-5531433299739878416</id><published>2020-06-30T09:14:00.000+07:00</published><updated>2020-06-30T09:14:02.743+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="getsystemdefaultlangid"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="source code"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="winlanguage"/><title type='text'>Mengetahui Bahasa Windows</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkPn6hv9uPrMXSDyJ7v7canlxgHJGv2yMyXFR1ngo0ifsQPDlj9FKXrttUfmoGfekFEn0OeriDg6E9qRHN7suuFYpPPltM9Id30V8WAbq6TLcSsIU47YexoYZBEa70ox0kDXqFqTVgXCw/s1600/SHowmessage.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;107&quot; data-original-width=&quot;354&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkPn6hv9uPrMXSDyJ7v7canlxgHJGv2yMyXFR1ngo0ifsQPDlj9FKXrttUfmoGfekFEn0OeriDg6E9qRHN7suuFYpPPltM9Id30V8WAbq6TLcSsIU47YexoYZBEa70ox0kDXqFqTVgXCw/s320/SHowmessage.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Program-program dewasa ini tidak hanya dipakai oleh bangsa berhuruf Latin, tetapi juga berhuruf &quot;Gambar&quot;. Oleh karena itu adalah perlu mengetahui bahasa yang dipakai di Windows tujuan. Sebagai misal, jika program Anda dipakai oleh orang Tiongkok atau Rusia, sementara bahasa software Anda berbahasa &quot;ANSI&quot;, maka akan timbul masalah.&lt;br /&gt;
&lt;br /&gt;
Salah satu langkah dalam membuat program kita berganti bahasa adalah mengetahui bahasa Windows saat itu. Program dibawah ini saya buat sebelum saya memutuskan mengganti layout keyboard ke chinese&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;function&lt;/b&gt; GetWindowsLanguage: string;&lt;br /&gt;
&lt;b&gt;var&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;WinLanguage: array [0..50] of char;&lt;br /&gt;
&lt;b&gt;begin&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; VerLanguageName(GetSystemDefaultLangID, WinLanguage, 50);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Result := StrPas(WinLanguage);&lt;br /&gt;
&lt;b&gt;end;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;procedure&lt;/b&gt; TForm1.Button1Click(Sender: TObject);&lt;br /&gt;
&lt;b&gt;begin&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ShowMessage(GetWindowsLanguage);&lt;br /&gt;
&lt;b&gt;end;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/5531433299739878416/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2020/06/mengetahui-bahasa-windows.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5531433299739878416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5531433299739878416'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2020/06/mengetahui-bahasa-windows.html' title='Mengetahui Bahasa Windows'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkPn6hv9uPrMXSDyJ7v7canlxgHJGv2yMyXFR1ngo0ifsQPDlj9FKXrttUfmoGfekFEn0OeriDg6E9qRHN7suuFYpPPltM9Id30V8WAbq6TLcSsIU47YexoYZBEa70ox0kDXqFqTVgXCw/s72-c/SHowmessage.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-8202878920473595414</id><published>2020-05-01T10:46:00.000+07:00</published><updated>2020-05-01T10:46:23.338+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="64 bit"/><category scheme="http://www.blogger.com/atom/ns#" term="assertion"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="failure"/><title type='text'>Menyelesaikan Masalah Assertion Failure di Delphi 64 Bit</title><content type='html'>Saya baru saja mencoba Sistem Operasi 64 Bit. Semuanya berjalan oke-oke saja, tetapi ketika memasang Delphi, permasalahan muncul seperti ini:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9ayiu75t0FCfvKG48TiKAtN046uJXANdGMKs4c7B-hUo5VEalbCC0s9Ac4EA9oCNFtY7MQtPl51mybRFcWIodMWxBP-z914DHOcXEziSuCY5WT4vzA67ry3cT9LTaOz1cv2w70Ea48I/s1600/Assertion.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;158&quot; data-original-width=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9ayiu75t0FCfvKG48TiKAtN046uJXANdGMKs4c7B-hUo5VEalbCC0s9Ac4EA9oCNFtY7MQtPl51mybRFcWIodMWxBP-z914DHOcXEziSuCY5WT4vzA67ry3cT9LTaOz1cv2w70Ea48I/s1600/Assertion.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Saya hampir kembali ke SO 32 Bit, sampai saya akhirnya menemukan solusi. Delphi saya rupanya tidak kompatibel dengan sistim 64 Bit.&lt;br /&gt;
&lt;br /&gt;
Penyelesaian masalah ini membutuhkan Hex Editor. Anda dapat memakai Hex Editor apa saja. Buka modul Delphi&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: 700;&quot;&gt;bordbk120N.dll &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;dengan Hex Editor milik Anda.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJAkMUuMw_0W4gY1ipad25KGj_wHbig3RtZblba9J0urb_m-pN35Sq7qSs4QJq3N6pW9VjSRha4Y7rhldeCxIB-qooMYBIlT97VtS4MVJVcY_6YJrrDa_BswLceBtraDUq64AT8YCXXR0/s1600/dlldelphi.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;409&quot; data-original-width=&quot;550&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJAkMUuMw_0W4gY1ipad25KGj_wHbig3RtZblba9J0urb_m-pN35Sq7qSs4QJq3N6pW9VjSRha4Y7rhldeCxIB-qooMYBIlT97VtS4MVJVcY_6YJrrDa_BswLceBtraDUq64AT8YCXXR0/s1600/dlldelphi.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
carilah Hex:&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700;&quot;&gt;01 00 48 74 47 80 3D&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEits-0Bi1YUWsFHH-9LRaX-KHPtq-lPaChwUnn0UwA0Z8Sc8xEX_QS9eN8CMBUrFhqorH5Bt-SyGnyj9cFKPa6yIwwPYoDRTxZ9m1KFcfhzIoDnsbgJmKZA5ehoC-UBJRwNOnmaIsx6aTo/s1600/HexEditor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;366&quot; data-original-width=&quot;658&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEits-0Bi1YUWsFHH-9LRaX-KHPtq-lPaChwUnn0UwA0Z8Sc8xEX_QS9eN8CMBUrFhqorH5Bt-SyGnyj9cFKPa6yIwwPYoDRTxZ9m1KFcfhzIoDnsbgJmKZA5ehoC-UBJRwNOnmaIsx6aTo/s1600/HexEditor.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;Ubah &lt;b&gt;74&lt;/b&gt; menjadi &lt;b&gt;EB&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR0S5OkJbo4Na4wvkY8w3IEYGUKixoIcBfcTjEdkHvxoxJgj2p_0zKPyER4LZSWCmrP3QaD_BR6MQctgjzfjPqAUZu8IUrv-rq1yQKAVoXz7e7C3_63us7HgnoXYVIBp-VH4tR0fh9p1Q/s1600/hex2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;85&quot; data-original-width=&quot;397&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR0S5OkJbo4Na4wvkY8w3IEYGUKixoIcBfcTjEdkHvxoxJgj2p_0zKPyER4LZSWCmrP3QaD_BR6MQctgjzfjPqAUZu8IUrv-rq1yQKAVoXz7e7C3_63us7HgnoXYVIBp-VH4tR0fh9p1Q/s1600/hex2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
sehingga menjadi:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRuZq-4goog-Uq2Evqjv21XUso41CClSMxavXqB2DVvBLtb-YKGoiucATauPUK_aaTyRXItacHydP40_Gj5g2hV4COaGOEEDERkvuYo-cI6dniU6kIfHxfemsiTOyKnNWKZGLl1V5IknY/s1600/hex3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;82&quot; data-original-width=&quot;389&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRuZq-4goog-Uq2Evqjv21XUso41CClSMxavXqB2DVvBLtb-YKGoiucATauPUK_aaTyRXItacHydP40_Gj5g2hV4COaGOEEDERkvuYo-cI6dniU6kIfHxfemsiTOyKnNWKZGLl1V5IknY/s1600/hex3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Simpan perubahan.</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/8202878920473595414/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2020/05/menyelesaikan-masalah-assertion-failure.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/8202878920473595414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/8202878920473595414'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2020/05/menyelesaikan-masalah-assertion-failure.html' title='Menyelesaikan Masalah Assertion Failure di Delphi 64 Bit'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9ayiu75t0FCfvKG48TiKAtN046uJXANdGMKs4c7B-hUo5VEalbCC0s9Ac4EA9oCNFtY7MQtPl51mybRFcWIodMWxBP-z914DHOcXEziSuCY5WT4vzA67ry3cT9LTaOz1cv2w70Ea48I/s72-c/Assertion.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-4705390761370221333</id><published>2019-05-28T13:19:00.000+07:00</published><updated>2019-05-28T13:58:10.921+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="tbitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="tcanvas"/><title type='text'>Meletakkan Gambar di Form dengan TBitmap</title><content type='html'>Setiap komponen yang mengandung TCanvas dapat kita gambari. Termasuk form. Kita dapat meletakkan gambar pada form. Yang pertama-tama harus kita ketahui adalah: warna-warna pixel disimpan dalam bentuk bit. Semakin tinggi bit, semakin baik warna yang dapat ditampilkan. Dengan demikian kita harus tahu terlebih dahulu bit yang beroperasi pada komputer itu.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Context : HDC;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; JumlahBitPerPixel : integer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; i, x : integer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Context := GetDC(Application.Handle);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; JumlahBitPerPixel := GetDeviceCaps(Context, BitsPixel);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; case JumlahBitPerPixel of&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 8 : JenisPixel := pf8Bit ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 16 : JenisPixel := pf16Bit ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 24 : JenisPixel := pf24Bit ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else&amp;nbsp; JenisPixel := pf32Bit ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; end;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Seperti kita lihat pada contoh diatas, bit-bit yang mungkin beroperasi adalah 8, 16, 24, 32. Begitu kita mendapat bit yang beroperasi, kita menyimpannya di variabel JenisPixel yang bertipe integer. Nilai ini akan dipakai pada property PixelFormat milik TBitmap.&lt;br /&gt;
&lt;br /&gt;
Jika Anda ingin tahu perbedaan PixelFormat, load gambar yang bagus (banyak warna) dan set dengan pixel rendah. Gambar Anda akan jelek karena tidak semua warna muncul.&lt;br /&gt;
&lt;br /&gt;
Kemudian kita ambil gambar dari folder dan diletakkan diobyek TBitmap. Di program contoh, saya asumsikan gambar satu folder dengan file exe saya. Apabila tidak, Anda harus memberikan letak folder secara jelas.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Bitmap : TBitmap;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Bitmap := TBitmap.create;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;try&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; with bitmap do begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LoadFromFile(&#39;minion.BMP&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Kemudian, kita setting agar panjang dan tinggi form sesuai dengan ukuran gambar:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Form1.ClientHeight := Height;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Form1.ClientWidth := Width;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
lantas kita gambar isi variabel bitmap ke form:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Form1.Canvas.Draw(0,0, bitmap);&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu_XpwRcedMcNV1PTk0d6mTGOq2QYPkndwmHDxj6CYxXTRTBnPyN2pwraIz5lN6aqV1WGQXuE15M6GpFUmkj1jt4r2rfQOF2EUqwZdi9Tk7IRZraRNtm1PjJ0ZVLiG7c24moJvdM_c1nc/s1600/MinionForm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;247&quot; data-original-width=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu_XpwRcedMcNV1PTk0d6mTGOq2QYPkndwmHDxj6CYxXTRTBnPyN2pwraIz5lN6aqV1WGQXuE15M6GpFUmkj1jt4r2rfQOF2EUqwZdi9Tk7IRZraRNtm1PjJ0ZVLiG7c24moJvdM_c1nc/s1600/MinionForm.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;/div&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit UnitGambar;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, StdCtrls, jpeg;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
    procedure FormPaint(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;
  JenisPixel : TPixelFormat;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
    invalidate;
end;

procedure TForm1.FormPaint(Sender: TObject);
var
    Bitmap : TBitMap;
    Context : HDC;
    JumlahBitPerPixel : integer;
    i, x : integer;
begin
    Context := GetDC(Application.Handle);
    JumlahBitPerPixel := GetDeviceCaps(Context, BitsPixel);
    case JumlahBitPerPixel of
      8 : JenisPixel := pf8Bit ;
      16 : JenisPixel := pf16Bit ;
      24 : JenisPixel := pf24Bit ;
      else  JenisPixel := pf32Bit ;
    end;
    releaseDC(application.Handle, context);

    Bitmap := TBitmap.create;
    try
        with bitmap do begin
           LoadFromFile(&#39;minion.BMP&#39;);
           PixelFormat := JenisPixel;
           Form1.ClientHeight := Height;
           Form1.ClientWidth := Width;
           Form1.Canvas.Draw(0,0, bitmap);
      end;
    finally
     bitmap.Free;
    end;
end;

end.

&lt;/textarea&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/4705390761370221333/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/meletakkan-gambar-di-form-dengan-tbitmap.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/4705390761370221333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/4705390761370221333'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/meletakkan-gambar-di-form-dengan-tbitmap.html' title='Meletakkan Gambar di Form dengan TBitmap'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu_XpwRcedMcNV1PTk0d6mTGOq2QYPkndwmHDxj6CYxXTRTBnPyN2pwraIz5lN6aqV1WGQXuE15M6GpFUmkj1jt4r2rfQOF2EUqwZdi9Tk7IRZraRNtm1PjJ0ZVLiG7c24moJvdM_c1nc/s72-c/MinionForm.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-3442575728551806634</id><published>2019-05-27T12:54:00.001+07:00</published><updated>2019-05-28T09:02:00.447+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="garis"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="point"/><category scheme="http://www.blogger.com/atom/ns#" term="polygon"/><category scheme="http://www.blogger.com/atom/ns#" term="polyline"/><category scheme="http://www.blogger.com/atom/ns#" term="tpoint"/><title type='text'>Membuat Segala Bentuk dengan Polyline dan Polygon</title><content type='html'>Saya menulis tentang bagaimana membuat bentuk-bentuk beraturan dengan fungsi-fungsi &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-kotak-dengan-rectangle.html&quot;&gt;Rectangle&lt;/a&gt;, &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-kota-sudut-tumpul-dengan.html&quot;&gt;RoundRect&lt;/a&gt;, atau bentuk-bentuk lingkaran dan bagiannya di &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/manggambar-busur-dengan-arc.html&quot;&gt;Arc&lt;/a&gt;, &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-tembereng-dengan-chord.html&quot;&gt;Chord&lt;/a&gt;, &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-bagian-lingkaran-dengan-pie.html&quot;&gt;Pie&lt;/a&gt;. Tetapi lebih daripada itu, kita juga dapat membuat sembarang bentuk dengan bantuan Polyline dan Polygon di Unit Graphics, class TCanvas.&lt;br /&gt;
&lt;br /&gt;
Pertama-tama tugas kita adalah membuat kumpulan titik yang akan dibuat di TPoint. Kemudian masukkan variabel bertipe TPoint ini sebagai parameter Polilyne seperti ini:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sintak:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Polyline(Titik);&lt;/span&gt;&lt;br /&gt;
Guna: membuat bentuk terbuka. Titik awal tidak terhubung secara otomatis dengan titik akhir.&lt;br /&gt;
&lt;br /&gt;
atau dengan&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Polygon(Titik);&lt;/span&gt;&lt;br /&gt;
Guna: membuat bentuk tertutup. Titik akhir akan tersambung secara otomatis ke titik awal.&lt;br /&gt;
&lt;br /&gt;
Cara mendeklarasikan Titik adalah sebagai berikut:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Titik : array[IndexAwal..IndexeAkhir] of TPoint.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
TPoint diisi dengan koordinat titik-titik yang akan dituju oleh penggambaran. Sebagai contoh:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Titik : array[0..3] of TPoint;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Titik[0] := Point(25,10);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Titik[1] := Point(300,10);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Titik[2] := Point(300,100);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;Titik[3] := Point(25,100);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Kemudian penggambaran dilakukan dengan memasukkan variabel Titik tadi ke dalam method Polyline dan Polygon sebagai berikut:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Polyline(Titik);&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
dan&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Polygone(Titik);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwMY0Ctez6ABGMcaP8ktnMcmrBY_vIYErOpo-prAT3XXJiuwuTKCCBi7gWPaVT6dPguQhhh7T3BA6I5mnBnn9Huj32KHAe9dJDq7Zctx_AunHOtOCAGTzWZwD1SSiwu2REszBiDaCMHg0/s1600/KotakMerah.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;233&quot; data-original-width=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwMY0Ctez6ABGMcaP8ktnMcmrBY_vIYErOpo-prAT3XXJiuwuTKCCBi7gWPaVT6dPguQhhh7T3BA6I5mnBnn9Huj32KHAe9dJDq7Zctx_AunHOtOCAGTzWZwD1SSiwu2REszBiDaCMHg0/s1600/KotakMerah.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Program dibawah ini akan membuat persegipanjang berwarna merah dengan tebal garis 5. Perlu dingat bahwa titik 0,0 adalah kiri atas form. Angka pertama koordinat adalah jarak dari kiri ke kanan. Angka kedua koordinat adalah jarak dari atas ke bawah.&lt;br /&gt;
&lt;br /&gt;
Sebagai contoh, koordinat 25, 10 artinya, membuat titik 25 ke kiri dan 10 kebawah.&lt;br /&gt;
&lt;br /&gt;
Program akan menggambar garis dari koordinat 25,10 ke 300,10. Kemudian berlanjut dari 300,10 ke 300,100. Dan dilanjutkan ke koordinat 300,100 ke 25, 100.&lt;br /&gt;
&lt;br /&gt;
Pada perintah Polyline, tidak ada garis dari titik 25,100 ke 25, 10, tetapi pada perintah Polygon, titik 25, 100 akan terhubung otomatis dengan 25, 10.&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
    procedure FormPaint(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
invalidate;
end;

procedure TForm1.FormPaint(Sender: TObject);
var
    Titik : array[0..3] of TPoint;
    GeserBawah : integer;
begin
    Titik[0] := Point(25,10);
    Titik[1] := Point(300,10);
    Titik[2] := Point(300,100);
    Titik[3] := Point(25,100);
    Canvas.Pen.Color := clRed;
    Canvas.Pen.Width := 5;
    Canvas.Polyline(Titik);

    GeserBawah := 100;

    Titik[0] := Point(25,10 + GeserBawah);
    Titik[1] := Point(300,10 + GeserBawah);
    Titik[2] := Point(300,100 + GeserBawah);
    Titik[3] := Point(25,100 + GeserBawah);
    Canvas.Pen.Color := clBlue;
    Canvas.Pen.Width := 5;
    Canvas.Polygon(Titik);
end;

end.

&lt;/textarea&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/3442575728551806634/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-segala-bentuk-dengan-polyline.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3442575728551806634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3442575728551806634'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-segala-bentuk-dengan-polyline.html' title='Membuat Segala Bentuk dengan Polyline dan Polygon'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwMY0Ctez6ABGMcaP8ktnMcmrBY_vIYErOpo-prAT3XXJiuwuTKCCBi7gWPaVT6dPguQhhh7T3BA6I5mnBnn9Huj32KHAe9dJDq7Zctx_AunHOtOCAGTzWZwD1SSiwu2REszBiDaCMHg0/s72-c/KotakMerah.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-6923858697664463025</id><published>2019-05-27T11:01:00.001+07:00</published><updated>2019-05-28T08:55:22.470+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="tcanvas"/><title type='text'>Menggambar Kotak Sudut Tumpul dengan RoundRect</title><content type='html'>Menggambar kotak seperti biasa dapat dilakukan dengan perintah &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-kotak-dengan-rectangle.html&quot;&gt;Rectangle&lt;/a&gt;, namun dengan Delphi, kita dapat membuat sudut-sudutnya tumpul. Secara sintak, hampir sampai dengan Rectangle, hanya saja, kita menambahkan dua parameter tambahan untuk mendefinisikan &quot;seberapa tumpul sudutnya&quot; di parameter x3, y3.&lt;br /&gt;
&lt;br /&gt;
Sintak.&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.RoundRect(x1, y1, x2, y2, x3, y3);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Seperti pada Rectangle. x1, y1 adalah koordinat kiri atas, sedangkan x2, y2 adalah koordinat kanan bawah.&lt;br /&gt;
&lt;br /&gt;
Contoh program dibawah ini akan menggambar kotak sudut tumpul bergaris merah dengan tebal 5:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Color := clRed;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Width := 5;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
yang akan diisi warna solid kuning:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Brush.Color := clyellow;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Brush.Style := bsSolid;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Jangan lupa menyertakan unit Graphics yang memuat class TCanvas.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwjRSaEsMj4e3KUW7Np9Jh_nYoLma-3VrEHV-P4tYR2SvfbhZiLKWM1NaL-MWJutqxBwDMb-ROJrnSSuNpG6xfX47ZMd4b2qY0roPzlHmR-U0LS8AllFT9ckMLzi6_UQhxFqNlPpDZn5o/s1600/RoundRect.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;226&quot; data-original-width=&quot;335&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwjRSaEsMj4e3KUW7Np9Jh_nYoLma-3VrEHV-P4tYR2SvfbhZiLKWM1NaL-MWJutqxBwDMb-ROJrnSSuNpG6xfX47ZMd4b2qY0roPzlHmR-U0LS8AllFT9ckMLzi6_UQhxFqNlPpDZn5o/s320/RoundRect.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Contoh Program:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
    procedure FormPaint(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
invalidate;
end;

procedure TForm1.FormPaint(Sender: TObject);
begin
    Canvas.Pen.Color := clRed;
    Canvas.Pen.Width := 5;
    Canvas.Brush.Color := clyellow;
    Canvas.Brush.Style := bsSolid;
    Canvas.RoundRect(25,25, 300,175, 50,50);
end;

end.

&lt;/textarea&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/6923858697664463025/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-kota-sudut-tumpul-dengan.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/6923858697664463025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/6923858697664463025'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-kota-sudut-tumpul-dengan.html' title='Menggambar Kotak Sudut Tumpul dengan RoundRect'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwjRSaEsMj4e3KUW7Np9Jh_nYoLma-3VrEHV-P4tYR2SvfbhZiLKWM1NaL-MWJutqxBwDMb-ROJrnSSuNpG6xfX47ZMd4b2qY0roPzlHmR-U0LS8AllFT9ckMLzi6_UQhxFqNlPpDZn5o/s72-c/RoundRect.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-5015916579684224535</id><published>2019-05-27T10:27:00.003+07:00</published><updated>2019-05-27T10:27:19.091+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="drawing"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="pie"/><category scheme="http://www.blogger.com/atom/ns#" term="tcanvas"/><title type='text'>Menggambar Bagian Lingkaran dengan Pie</title><content type='html'>Saya menuliskan artikel tentang menggambar dengan Chord (tembereng). Secara sintak hampir sama. Lantas apa beda antara Chord dan Pie. Bedanya ini: Titik ujung chord langsung dihubungkan dengan garis, sedangkan pada Pie, kita bisa menentukan titik di tengah-tengah garis tadi, sehingga ada dua macam garis yang menghubungkan antara kedua ujung busur.&lt;br /&gt;
&lt;br /&gt;
Sintak Pie:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pie(x1,y1,x2,y2,x3,y3,x4,y4);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
x1, y1, x2, y2 adalah kotak imajiner disekitar Pie. Gambar Pie seakan-akan digambar didalam kotak tersebut, dengan xi, y1 adalah koordinat kiri atas dan x2, y2 adalah koordinat kanan bawah.&lt;br /&gt;
&lt;br /&gt;
x3, y3, x4,y4, adalah koordinat titik awal penggambaran busur dan titik akhir busur. Busur akan digambar berlawanan dengan jarum jam.&lt;br /&gt;
&lt;br /&gt;
Class TCanvas terdapat pada unit Graphics, sehingga harus menambahkan unit Graphics di bagian deklarasi Unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2c3bJb3DoUywkkfxN26-hB-wdrLgd_c6GWDO1j6SaQTUw-ts9uFUOsBHvpVwhPHqxGRTvrystA5PmLfNPd74F4yrtyuYx6d7a8E0we1K8MYmMDBD2midBlb69vrfUeEh_7cTCZg8RQE8/s1600/Pie.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;212&quot; data-original-width=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2c3bJb3DoUywkkfxN26-hB-wdrLgd_c6GWDO1j6SaQTUw-ts9uFUOsBHvpVwhPHqxGRTvrystA5PmLfNPd74F4yrtyuYx6d7a8E0we1K8MYmMDBD2midBlb69vrfUeEh_7cTCZg8RQE8/s1600/Pie.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Program dibawah ini akan menggambar Pie dengan garis merah dengan ketebalan 5:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Color := clRed;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Width := 5;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Dan daerah Pie diwarnai dengan warna kuning solid:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Brush.Color := clyellow;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Brush.Style := bsSolid;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
    procedure FormPaint(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
invalidate;
end;

procedure TForm1.FormPaint(Sender: TObject);
begin
  Canvas.Pen.Color := clRed;
  Canvas.Pen.Width := 5;
  Canvas.Brush.Color := clyellow;
  Canvas.Brush.Style := bsSolid;
  Canvas.Pie(0,50, 400,300, 250,50, 25,100);

end;

end.

&lt;/textarea&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/5015916579684224535/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-bagian-lingkaran-dengan-pie.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5015916579684224535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5015916579684224535'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-bagian-lingkaran-dengan-pie.html' title='Menggambar Bagian Lingkaran dengan Pie'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2c3bJb3DoUywkkfxN26-hB-wdrLgd_c6GWDO1j6SaQTUw-ts9uFUOsBHvpVwhPHqxGRTvrystA5PmLfNPd74F4yrtyuYx6d7a8E0we1K8MYmMDBD2midBlb69vrfUeEh_7cTCZg8RQE8/s72-c/Pie.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-171132167967013017</id><published>2019-05-24T15:27:00.000+07:00</published><updated>2019-05-24T15:27:16.182+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chord"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="lingkaran"/><category scheme="http://www.blogger.com/atom/ns#" term="tembereng"/><title type='text'>Menggambar Tembereng dengan Chord</title><content type='html'>Dalam matematika, Tembereng adalah daerah yang dibatas oleh busur dan tali busurnya. Jadi jika Anda membaca artikel saya tentang menggambar busur, maka Anda akan lebih mudah memahami program di artikel ini. Perbedaan, di busur, kita cuma menggambar garis talinya saja, sedangkan tembereng, kita juga menggambar daerah yang dibatasinya. So...kesimpulannya, lebih menarik.&lt;br /&gt;
&lt;br /&gt;
Method-method yang dipakai disini ada di Unit Graphics, sehingga harus disertakan di bagian uses.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sintak:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Chord(x1, y1, x2, y2, x3,y3,x4,y4);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;Nah, secara sintak, hampir sama dengan sintak Arch (menggambar busur), perbedaannya cuma mengganti kata Arc dengan Chord.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;Dua parameter pertama digunakan untuk menentukan bidang berbentuk kotak (x1, y1, x2, y2). Korrdinat x1,y1 menyatakan koordinat atas gambar, sedangkan dua parameter selanjutnya adalah koordinat kanan bawah.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;Sedangkan dua parameter selanjutnya adalah koordinat permulaan (x3, y3) dan akhir (x4, y4) dari busur.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;Program dibawah ini akan menggambar dua tembereng dengan warna yang berbeda.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdw_FLMFF9XfxdCzrrU7SaahPgcCecokkzZN15RV8q3e9BXo_92rsANMkQ2ipd31sYnhdBdUkQWNfICRjIiXUQomiCe3APoL6A3UsGdz2eECd33h3HyUCFStgA2zXQH4x__wyw-6oufY/s1600/Tembereng.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;381&quot; data-original-width=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdw_FLMFF9XfxdCzrrU7SaahPgcCecokkzZN15RV8q3e9BXo_92rsANMkQ2ipd31sYnhdBdUkQWNfICRjIiXUQomiCe3APoL6A3UsGdz2eECd33h3HyUCFStgA2zXQH4x__wyw-6oufY/s1600/Tembereng.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b style=&quot;font-family: sans-serif; font-size: 15px; text-align: justify;&quot;&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormPaint(Sender: TObject);
    procedure FormResize(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
    ClientWidth := 500;
    ClientHeight := 250;

    FormPaint(Sender);
end;

procedure TForm1.FormPaint(Sender: TObject);
var
    i, GeserKanan, GeserBawah, MulaiX, MulaiY,
    AkhirX, AkhirY, AtasKiriKotakX, AtasKiriKotakY,
    BawahKananKotakX, BawahKananKotakY : integer;
begin
    //-- Tembereng Atas
    Canvas.Pen.Width := 2;
    Canvas.Pen.Color := clRed;
    Canvas.Brush.Style := bsSolid;
    Canvas.Brush.Color := clRed;
    GeserKanan := 0;
    GeserBawah := -20;
    MulaiX := 200;
    MulaiY := 200;
    AkhirX := 100;
    AkhirY :=  200;
    AtasKiriKotakX := 25;
    AtasKiriKotakY := 50;
    BawahKananKotakX := 200;
    BawahKananKotakY := 350;

    Canvas.Chord(
      AtasKiriKotakX + i * GeserKanan,
      AtasKiriKotakY + GeserBawah,
      BawahKananKotakX + i * GeserKanan, BawahKananKotakY + GeserBawah,
      MulaiX + i * GeserKanan,
      MulaiY + GeserBawah,
      AkhirX + i * GeserKanan,
      AkhirY + GeserBawah);

    //-- Tembereng Bawah
     Canvas.Pen.Width := 5;
     Canvas.Pen.Color := clWhite;
     Canvas.Brush.Style := bsSolid;
     Canvas.Brush.Color := clWhite;

     MulaiX := 100;
     MulaiY := 200;
     AkhirX := 300;
     AkhirY :=200;
     GeserBawah := -10;

     Canvas.Chord(
       AtasKiriKotakX + i * GeserKanan,
       AtasKiriKotakY + GeserBawah,
       BawahKananKotakX + i * GeserKanan, BawahKananKotakY + GeserBawah,
       MulaiX + i * GeserKanan, MulaiY + GeserBawah,
       AkhirX + i * GeserKanan, AkhirY + GeserBawah);
end;

procedure TForm1.FormResize(Sender: TObject);
begin
 invalidate;
end;

procedure TForm1.FormShow(Sender: TObject);
begin
    Invalidate;
end;

end.

&lt;/textarea&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/171132167967013017/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-tembereng-dengan-chord.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/171132167967013017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/171132167967013017'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-tembereng-dengan-chord.html' title='Menggambar Tembereng dengan Chord'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdw_FLMFF9XfxdCzrrU7SaahPgcCecokkzZN15RV8q3e9BXo_92rsANMkQ2ipd31sYnhdBdUkQWNfICRjIiXUQomiCe3APoL6A3UsGdz2eECd33h3HyUCFStgA2zXQH4x__wyw-6oufY/s72-c/Tembereng.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-251275875482154821</id><published>2019-05-24T13:45:00.000+07:00</published><updated>2019-05-24T13:45:37.295+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arc"/><category scheme="http://www.blogger.com/atom/ns#" term="busur"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="lingkaran"/><category scheme="http://www.blogger.com/atom/ns#" term="tcanvas"/><title type='text'>Manggambar Busur Dengan ARC</title><content type='html'>Delphi mempunyai fungsi untuk menggambar busur. Dengan demikian kita tidak perlu susah-susah menggambar dengan pixels. Fungsi yang dipakai adalah method dari Canvas yang terletak di unit Graphics.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sintak:&lt;/b&gt;&lt;br /&gt;
Canvas.Arc(x1, y1, x2, y2, x3,y3,x4,y4);&lt;br /&gt;
&lt;br /&gt;
Yang perlu diperhatikan adalah: &quot;Anda harus membayangkan bahwa busur itu digambar di dalam kotak persegi&quot;. Kemudian bayangkan titik mulai penggambaran dan titik akhir penggambaran.&lt;br /&gt;
&lt;br /&gt;
x1,y1 : koordinat kotak, diatas kiri.&lt;br /&gt;
x2,y2 : koordinat kotak, dibawah kanan.&lt;br /&gt;
&lt;br /&gt;
x3,y3: koordinat awal penggambaran&lt;br /&gt;
x4,y4: koordinat akhir penggambaran.&lt;br /&gt;
&lt;br /&gt;
Busur akan digambar berlawanan dengan jarum jam. Sehingga koordinat awal penggambaran terletak di sisi kanan dan akhir penggambaran di sisi kiri.&lt;br /&gt;
&lt;br /&gt;
Contoh program dibawah ini akan menggambar 30 busur dari diameter paling besar ke diameter paling kecil. Setiap kali menggambar, warna garis akan diganti secara random dan diatur di:&lt;br /&gt;
&lt;br /&gt;
R := 1+ Random(255);&lt;br /&gt;
G := 1+ Random(255);&lt;br /&gt;
B := 1+ Random(255);&lt;br /&gt;
Canvas.Pen.Color := TColor(RGB(R,G,B));&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFFJ7ZKz5ZUp_-Y3E4awVG9KAsG6DTfXVT4rwg9eqC8oThAUP7xI2TnGIFdFDls0GaGXAYzWghyGjk_ZJh6ZxKcaZ6elNYaFd3uhR3mX5y5DJWy5BxsQW3_CYLur9EdMJw1OEqQhTc5M/s1600/Arch.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;267&quot; data-original-width=&quot;439&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFFJ7ZKz5ZUp_-Y3E4awVG9KAsG6DTfXVT4rwg9eqC8oThAUP7xI2TnGIFdFDls0GaGXAYzWghyGjk_ZJh6ZxKcaZ6elNYaFd3uhR3mX5y5DJWy5BxsQW3_CYLur9EdMJw1OEqQhTc5M/s1600/Arch.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormPaint(Sender: TObject);
    procedure FormResize(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
    ClientWidth := 500;
    ClientHeight := 250;
end;

procedure TForm1.FormPaint(Sender: TObject);
var
   i, GeserKanan, GeserBawah, MulaiX, MulaiY,
   AkhirX, AkhirY, R,G,B, AtasKiriKotakX, AtasKiriKotakY, BawahKananKotakX, BawahKananKotakY : integer;
begin
   Canvas.Pen.Width := 2;
   GeserKanan := 0;
   GeserBawah := 20;
   MulaiX := 300;
   MulaiY := 200;
   AkhirX := 100;
   AkhirY :=200;
   AtasKiriKotakX := 50;
   AtasKiriKotakY := 0;
   BawahKananKotakX := 400;
   BawahKananKotakY := 400;

   for i := 1 to 30 do begin

    //-- Random warna
       R := 1+ Random(255);
       G := 1+ Random(255);
       B := 1+ Random(255);

     Canvas.Pen.Color := TColor(RGB(R,G,B));

   Canvas.Arc(
     AtasKiriKotakX + i * GeserKanan,
     AtasKiriKotakY + GeserBawah,
     BawahKananKotakX + i * GeserKanan, BawahKananKotakY + GeserBawah,

   MulaiX + i * GeserKanan, MulaiY + GeserBawah,
   AkhirX + i * GeserKanan, AkhirY + GeserBawah);

   Inc(AtasKiriKotakX, 5);
   Inc(AtasKiriKotakY,5);

   Dec(BawahKananKotakX,5);
   Dec(BawahKananKotakY,5);

   end;
end;


procedure TForm1.FormResize(Sender: TObject);
begin
 invalidate;
end;

end.

&lt;/textarea&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/251275875482154821/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/manggambar-busur-dengan-arc.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/251275875482154821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/251275875482154821'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/manggambar-busur-dengan-arc.html' title='Manggambar Busur Dengan ARC'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFFJ7ZKz5ZUp_-Y3E4awVG9KAsG6DTfXVT4rwg9eqC8oThAUP7xI2TnGIFdFDls0GaGXAYzWghyGjk_ZJh6ZxKcaZ6elNYaFd3uhR3mX5y5DJWy5BxsQW3_CYLur9EdMJw1OEqQhTc5M/s72-c/Arch.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-4239700266140435974</id><published>2019-05-24T10:16:00.000+07:00</published><updated>2019-05-24T10:16:27.613+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="akord"/><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="chord"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafis"/><category scheme="http://www.blogger.com/atom/ns#" term="graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="pixels"/><category scheme="http://www.blogger.com/atom/ns#" term="titik"/><category scheme="http://www.blogger.com/atom/ns#" term="warna"/><title type='text'>Menggambar Titik Warna Tertentu di Form dengan Pixels</title><content type='html'>Menggambar titik pada form cukup mudah. Kita gunakan Pixels milik Canvas di unit Graphics. Sintaknya adalah sebagai berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pixels(X,Y) := Warna;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
dengan X,Y adalah lokasi titik. X,Y dihitung dari kiri atas form sebagai titik permulaan 0,0. Dan warna adalah warna yang didefinisikan secara kostanta (seperti clRed, clBlue, dll) atau dengan TColor.&lt;br /&gt;
&lt;br /&gt;
Contoh pemakaian:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pixels(100,200);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Program dibawah ini akan mendemokan pembuatan titik dengan warna random yang diletakkan secara random di keseluruhan area form.&lt;br /&gt;
&lt;br /&gt;
Program pembuatan titik diletakkan di Event OnPaint milik form dan menuliskan perintah Invalidate di OnResize milik form. Alasannya: Event OnPaint akan dipanggil oleh form apabila perintah Invalidate dieksekusi. Peletakan invalidate di OnResize bermaksud: &quot;Agar setiap perubahan bentuk form akan menggambar ulang titik-titik itu lagi.&lt;br /&gt;
&lt;br /&gt;
Application.ProcessMessages ditambahkan, agar program tetap bisa disela agar Windows dapat menjalankan antrian program lainnya, sehingga Windows tidak tampak &quot;Hang&quot; atau beku, ketika belum selesai menjalankan perintah.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRXVjWjXE6j5i7SksuXfy64ih5Kt4ML3IUPjhra2hYtB59akGaYMle8GEcykTUxYS-PYPUFuL5b3TMxwzuvxxfUk2xlkgLABrmXndCM-RjvaPwq-PmzN5qfhJaAfhIb_wU4K48QniBTs8/s1600/Titik.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;234&quot; data-original-width=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRXVjWjXE6j5i7SksuXfy64ih5Kt4ML3IUPjhra2hYtB59akGaYMle8GEcykTUxYS-PYPUFuL5b3TMxwzuvxxfUk2xlkgLABrmXndCM-RjvaPwq-PmzN5qfhJaAfhIb_wU4K48QniBTs8/s1600/Titik.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormPaint(Sender: TObject);
    procedure FormResize(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
   Color := clBlack;
end;

procedure TForm1.FormPaint(Sender: TObject);

var
   i, x, y, R, G, B : integer;
begin
   Canvas.Pixels[1,2] := clRed;


    for I:= 1 to 20000 do
    begin

       //-- Random tempat
       x := 1+ Random(ClientWidth);
       y := 1+ Random(ClientHeight);


       //-- Random warna
       R := 1+ Random(255);
       G := 1+ Random(255);
       B := 1+ Random(255);

       Canvas.Pixels[x,y] := TColor(RGB(R,G,B));
       Application.ProcessMessages;
    end;
end;


procedure TForm1.FormResize(Sender: TObject);
begin
 invalidate;
end;

end.

&lt;/textarea&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/4239700266140435974/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-titik-warna-tertentu-di-form.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/4239700266140435974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/4239700266140435974'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-titik-warna-tertentu-di-form.html' title='Menggambar Titik Warna Tertentu di Form dengan Pixels'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRXVjWjXE6j5i7SksuXfy64ih5Kt4ML3IUPjhra2hYtB59akGaYMle8GEcykTUxYS-PYPUFuL5b3TMxwzuvxxfUk2xlkgLABrmXndCM-RjvaPwq-PmzN5qfhJaAfhIb_wU4K48QniBTs8/s72-c/Titik.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-79143345019597294</id><published>2019-05-23T15:22:00.000+07:00</published><updated>2019-05-23T15:22:15.605+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="garis"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="lineto"/><category scheme="http://www.blogger.com/atom/ns#" term="moveto"/><title type='text'>Membuat Garis dengan MoveTo dan LineTo</title><content type='html'>Kita tidak hanya bisa membuat &lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/menggambar-kotak-dengan-rectangle.html&quot;&gt;kotak&lt;/a&gt; dan&lt;a href=&quot;https://octacintadelphi.blogspot.com/2019/05/membuat-elips-dengan-ellipse.html&quot;&gt; elips&lt;/a&gt; saja, tetapi juga menggambar garis saja. Garis ini nantinya dapat kita kreasikan menjadi bermacam-macam gambar.&lt;br /&gt;
&lt;br /&gt;
Ada dua perintah yang selalu ada ketika membuat garis, yaitu; MoveTo dan LineTo. Keduanya sama-sama property milik Canvas di class TCanvas.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MoveTo&lt;/b&gt;&lt;br /&gt;
Sintak:&lt;br /&gt;
MoveTo(JarakDariKiri, JarakDariAtas)&lt;br /&gt;
&lt;br /&gt;
Kegunaan:&lt;br /&gt;
Memindah lokasi penggambaran.&lt;br /&gt;
&lt;br /&gt;
Contoh:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.MoveTo(10, 90);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;LineTo&lt;/b&gt;&lt;br /&gt;
Sintak&lt;br /&gt;
(JarakDariKiri, JarakDariAtas);&lt;br /&gt;
&lt;br /&gt;
Kegunaan:&lt;br /&gt;
Menggambar garis mulai saat titik yang aktif, sampai titik pada parameternya.&lt;br /&gt;
&lt;br /&gt;
Contoh:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.LineTo(100, 50);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Perlu diingat, bahwa titik 0,0 berada di kiri atas form. Sehingga perintah&amp;nbsp; Canvas.LineTo(100, 50)&amp;nbsp; bermaksud menggambar mulai titik aktif saat ini sampai ke 100 ke kiri, dan 50 dari atas.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfEOrybN-G-u_JyaaOC9jQHfcqKo4NdwKG9bNYilOcpvaMLhXuJ4INtkHUe7qmUmCh0U47IlS0xyewtmHFLcFI0AmyODVR4E4kytA_4DfMUb1i7ZMeZc9f4QgUaSDekXWp_IJrDG22ztI/s1600/Kotak.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;340&quot; data-original-width=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfEOrybN-G-u_JyaaOC9jQHfcqKo4NdwKG9bNYilOcpvaMLhXuJ4INtkHUe7qmUmCh0U47IlS0xyewtmHFLcFI0AmyODVR4E4kytA_4DfMUb1i7ZMeZc9f4QgUaSDekXWp_IJrDG22ztI/s1600/Kotak.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Contoh program dibawah ini akan menggambar 10 kotak yang berukuran beda, mulai dari yang paling besar sampai yang paling kecil. Program penggambaran diletakkan di Event OnPaint milik Form dan Tambahkan kode Invalidate di Resize milik form. Seperti kita ketahui, form akan menggambar form di property OnPaint saat perintah Invalidate dieksekusi.&lt;br /&gt;
&lt;br /&gt;
Tebal garis ditentukan di property&amp;nbsp; Canvas.Pen.Width, sedangkan warna garis diatur di&amp;nbsp;Canvas.Pen.Color. Sedangkan ClientHeight dan ClientWidth, berturut-turut digunakan untuk menentukan tinggi dan lebar form.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormResize(Sender: TObject);
    procedure FormPaint(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  //-- bentuk ukuran form
  ClientHeight := 325;
  ClientWidth := 400;
end;

procedure TForm1.FormPaint(Sender: TObject);
var
    JarakDariKiri, PanjangGaris, TinggiGaris,
    JarakGarisDariAtas, TebalGaris, SelisihAntarPersegi, i : integer;
begin
    //-- Inisial
    JarakDariKiri := 50;
    PanjangGaris := 300;
    TinggiGaris := 300;
    JarakGarisDariAtas := 10;
    TebalGaris := 5;
    Canvas.Pen.Width := TebalGaris;
    SelisihAntarPersegi := 10;

    for i := 1 to 10 do begin

    //-- Permulaan garis dari titik tertentu
    Canvas.MoveTo(JarakDariKiri, JarakGarisDariAtas);

    //-- Mulai menggambar persegi
    Canvas.Pen.Color := clRed;
    Canvas.LineTo(JarakDariKiri + PanjangGaris, JarakGarisDariAtas);

    Canvas.Pen.Color := clYellow;
    Canvas.LineTo(JarakDariKiri + PanjangGaris, TinggiGaris );

    Canvas.Pen.Color := clBlack;
    Canvas.LineTo(JarakDariKiri, TinggiGaris );

    Canvas.Pen.Color := clFuchsia;
    Canvas.LineTo(JarakDariKiri, JarakGarisDariAtas);

    //-- Persiapan gambar berikutnya
    inc(JarakDariKiri, SelisihAntarPersegi);
    dec(PanjangGaris, SelisihAntarPersegi * 2);
    inc(JarakGarisDariAtas, SelisihAntarPersegi);
    dec(TinggiGaris, SelisihAntarPersegi);
    end;
end;

procedure TForm1.FormResize(Sender: TObject);
begin
 invalidate;
end;

end.


&lt;/textarea&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/79143345019597294/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-garis-dengan-moveto-dan-lineto.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/79143345019597294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/79143345019597294'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-garis-dengan-moveto-dan-lineto.html' title='Membuat Garis dengan MoveTo dan LineTo'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfEOrybN-G-u_JyaaOC9jQHfcqKo4NdwKG9bNYilOcpvaMLhXuJ4INtkHUe7qmUmCh0U47IlS0xyewtmHFLcFI0AmyODVR4E4kytA_4DfMUb1i7ZMeZc9f4QgUaSDekXWp_IJrDG22ztI/s72-c/Kotak.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-6094923774961070266</id><published>2019-05-23T11:32:00.000+07:00</published><updated>2019-05-23T11:32:08.786+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="ellipse"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="lingkaran"/><category scheme="http://www.blogger.com/atom/ns#" term="tcanvas"/><title type='text'>Membuat Elips dengan Ellipse</title><content type='html'>Elips adalah kurva yang membatasi suatu daerah. Di Delphi, kita memanfaatkan fungsi Ellipse yang merupakan property dari Canvas untuk membuat gambar semacam ini. Ada empat parameter yang dibutuhkan. .Dua parameter pertama menyatakan koordinat diatas kiri. Lainnnya, titik koordinat di kanan bawah.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sintak&lt;/b&gt;&lt;br /&gt;
Canvas.Ellipse(TitikLebarKiri, TitikTinggiKiri, TitikLebarKananBawah, TitikTinggiKananBawah);&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ketebalan Garis&lt;/b&gt;&lt;br /&gt;
Besar garis ditentukan oleh property Canvas.Pen.Width&lt;br /&gt;
Contoh:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Width := 5;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Arsiran Area Dalam&lt;/b&gt;&lt;br /&gt;
Bagian dalam Elips dapat diarsir dengan memberikan kostanta berikut:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;bsSolid&lt;/li&gt;
&lt;li&gt;bsBDiagonal&lt;/li&gt;
&lt;li&gt;bsFDiagonal&lt;/li&gt;
&lt;li&gt;bsHorizontal&lt;/li&gt;
&lt;li&gt;bsVertical&lt;/li&gt;
&lt;li&gt;bsCross&lt;/li&gt;
&lt;li&gt;bsDiagCross&lt;/li&gt;
&lt;li&gt;bsClear&lt;/li&gt;
&lt;/ul&gt;
Arsiran dapat ditentukan dengan menuliskan Canvas.Brush.Style&lt;br /&gt;
Contoh:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Brush.Style := bsVertical;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warna Arsiran&lt;/b&gt;&lt;br /&gt;
Dapat ditentukan lewat Canvas.Brush.Color dengan menggunakan kostanta warna atau lewat definisi RGB lewat TColor&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warna Garis&lt;/b&gt;&lt;br /&gt;
Garis kurva dapat ditentukan dengan Canvas.Pen.Color&lt;br /&gt;
Contoh:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Color := clGreen.&lt;/span&gt;&lt;br /&gt;
atau&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Canvas.Pen.Color :=&amp;nbsp;TColor(RGB(00,80,00));&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Warna-warna dapat dipilih dari kostanta warna yang sudah didefinisikan oleh Delphi di unit Graphics seperti berikut:&lt;br /&gt;
&lt;br /&gt;
clBlack = TColor($000000);&lt;br /&gt;
clMaroon = TColor($000080);&lt;br /&gt;
clGreen = TColor($008000);&lt;br /&gt;
clOlive = TColor($008080);&lt;br /&gt;
clNavy = TColor($800000);&lt;br /&gt;
clPurple = TColor($800080);&lt;br /&gt;
clTeal = TColor($808000);&lt;br /&gt;
clGray = TColor($808080);&lt;br /&gt;
clSilver = TColor($C0C0C0);&lt;br /&gt;
clRed = TColor($0000FF);&lt;br /&gt;
clLime = TColor($00FF00);&lt;br /&gt;
clYellow = TColor($00FFFF);&lt;br /&gt;
clBlue = TColor($FF0000);&lt;br /&gt;
clFuchsia = TColor($FF00FF);&lt;br /&gt;
clAqua = TColor($FFFF00);&lt;br /&gt;
clLtGray = TColor($C0C0C0);&lt;br /&gt;
clDkGray = TColor($808080);&lt;br /&gt;
clWhite = TColor($FFFFFF);&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
clMoneyGreen = TColor($C0DCC0);&lt;/div&gt;
&lt;div&gt;
clSkyBlue = TColor($F0CAA6);&lt;/div&gt;
&lt;div&gt;
clCream = TColor($F0FBFF);&lt;/div&gt;
&lt;div&gt;
clMedGray = TColor($A4A0A0);&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifJVPrWr6Q_mzfaclC1BKYRAZIasNUcqjmMA195doXwseSWLvy3voagWJP2kzD64p82iBjf3fYNiGrU69RhYVKEbzO2_mt4SsiZAnA-3viRg4QFTKIdPLnF2CXCxwuW488C3vyed88chE/s1600/Elips.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;238&quot; data-original-width=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifJVPrWr6Q_mzfaclC1BKYRAZIasNUcqjmMA195doXwseSWLvy3voagWJP2kzD64p82iBjf3fYNiGrU69RhYVKEbzO2_mt4SsiZAnA-3viRg4QFTKIdPLnF2CXCxwuW488C3vyed88chE/s1600/Elips.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Program Selengkapnya:&lt;/b&gt;&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;20&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormResize(Sender: TObject);
    procedure FormPaint(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  ClientHeight := 220;
  ClientWidth := 210;

end;

procedure TForm1.FormPaint(Sender: TObject);
var
    TitikLebarKiri, TitikTinggiKiri, TitikLebarKanan, TitikTinggiKanan : integer;
begin
  TitikLebarKiri := 30;
  TitikTinggiKiri := 40;
  TItikLebarKanan := 175;
  TitikTinggiKanan := 175;

  //-- Lingkaran paling besar
  Canvas.Pen.Color := clRed;
  Canvas.Brush.Style := bsCross;
  Canvas.Brush.Color := clPurple;
  Canvas.Pen.Width := 1;
  Canvas.Pen.Style := psDot;
  Canvas.Ellipse(
    TitikLebarKiri, TitikTinggiKiri,
   TitikLebarKanan, TitikTinggiKanan
                );

  //-- Lingkaran kecil kiri atas
  Canvas.Pen.Width := 5;
  Canvas.Brush.Color := clBlack;
  Canvas.Brush.Style := bsSolid;
  Canvas.Ellipse(10, 10, 50, 50);

  //-- Lingkaran kecil kiri bawah
  Canvas.Pen.Width := 5;
  Canvas.Brush.Color := clGreen;
  Canvas.Brush.Style := bsDiagCross;
  Canvas.Ellipse(10, 10 + 150, 50, 50 + 150);

  //-- Lingkaran kecil kanan atas
  Canvas.Pen.Width := 5;
  Canvas.Brush.Color := clYellow;
  Canvas.Brush.Style := bsFDiagonal;
  Canvas.Ellipse(150, 10, 190, 50);

  //-- Lingkaran kecil kanan bawah
  Canvas.Pen.Width := 5;
  Canvas.Brush.Color := clBlue;
  Canvas.Brush.Style := bsHorizontal;
  Canvas.Ellipse(150, 10 + 150, 190, 50 + 150);
end;

procedure TForm1.FormResize(Sender: TObject);
begin
 invalidate;
end;

end.

&lt;/textarea&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/6094923774961070266/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-elips-dengan-ellipse.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/6094923774961070266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/6094923774961070266'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/membuat-elips-dengan-ellipse.html' title='Membuat Elips dengan Ellipse'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifJVPrWr6Q_mzfaclC1BKYRAZIasNUcqjmMA195doXwseSWLvy3voagWJP2kzD64p82iBjf3fYNiGrU69RhYVKEbzO2_mt4SsiZAnA-3viRg4QFTKIdPLnF2CXCxwuW488C3vyed88chE/s72-c/Elips.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-2822503099855834420</id><published>2019-05-22T14:20:00.000+07:00</published><updated>2019-05-22T14:20:38.307+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="grafik"/><category scheme="http://www.blogger.com/atom/ns#" term="invalidate"/><category scheme="http://www.blogger.com/atom/ns#" term="kotak"/><category scheme="http://www.blogger.com/atom/ns#" term="onpaint"/><category scheme="http://www.blogger.com/atom/ns#" term="persegi panjang"/><category scheme="http://www.blogger.com/atom/ns#" term="rectangle"/><title type='text'>Menggambar Kotak Dengan Rectangle</title><content type='html'>Saya sering melihat, jarang programmer-programmer saat ini yang mendalami masalah grafik. Di jaman saya mempelajari bahasa program pertama kali, tahun 1988, salah satu yang menarik saya justru grafik. Waktu itu memakai bahasa program BASIC.&amp;nbsp; Mungkin karena saat ini sistem operasi berbasis windows, sehingga grafik hal yang biasa saja. Padahal mendalami grafik juga&amp;nbsp; mendukung kita memahami komponen-komponen yang &quot;bisa digambari&quot;. Dengan demikian program kita lebih menarik.&lt;br /&gt;
&lt;br /&gt;
Delphi menggambar sesuatu pada form lewat event OnPaint. Even ini dipanggil saat ada instruksi invalidate. Sehingga kita meletakkan invalidate pada saat form &quot;diotak-atik&quot;, yaitu di Resize.&lt;br /&gt;
&lt;br /&gt;
Untuk menggambar kotak persegi (baik persegi panjang maupun kotak tergantun ukuran panjang lebar), kita membutuhkan fungsi Rectangle milik TCanvas.&lt;br /&gt;
&lt;br /&gt;
Kita membutuhkan empat parameter. 2 parameter pertama adalah koordinat kiri atas. Sedangkan dua sisanya adalah koordinat kanan bawah.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;canvas.Rectangle( 0,0, 50, 50);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Canvas.Pen.Color&lt;/b&gt;&lt;br /&gt;
Jika diingkan, Anda juga bisa menggambar dengan &quot;tinta&quot; selain hitam seperti diatas. Untuk keperluan ini, kita menggunakan kostanta warna seperti clRed, clBlue, atau clGreen. Contoh, source code diatas pada bagian FormPaint saya ubah seperti dibawah ini untuk menggunakan warna merah.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;procedure TForm1.FormPaint(Sender: TObject);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; i, x : integer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Pen.Color := clRed;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; for x := 1 to 10 do begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i := x * 10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; canvas.Rectangle( i,i, ClientWidth - i,&amp;nbsp; ClientHeight - i);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; end;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Canvas.Pen.Width&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Besar garis juga bisa diatur dengan Property Width milik Canvas.Pen.&lt;/div&gt;
&lt;div&gt;
Contoh:&lt;/div&gt;
&lt;div&gt;
Canvas.Pen.Width := 5;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Contoh&amp;nbsp; program dibawah ini akan menggambar lima kotak yang berlainan ukuran, dimulai dari yang terbesar sampai yang terkecil. Total sebanyak 10 kotak. Masing-masing kotak akan berselisih 10 dari sebelumnya, dengan besar garis 5 dan berwarna merah&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;procedure TForm1.FormPaint(Sender: TObject);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; i, x : integer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; Canvas.Pen.Color := clRed;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; Canvas.Pen.Width := 5;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; for x := 1 to 10 do begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i := x * 10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; canvas.Rectangle( i,i, ClientWidth - i,&amp;nbsp; ClientHeight - i);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; end;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;procedure TForm1.FormResize(Sender: TObject);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; invalidate;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6l0rvptRpYYpK-xODEUVbZtM4RdQJchU4FLBQgKkjoa3RaCwMSuUcl5TUQGH2J7RJoA2Ht4mmfCyzjUS_YsedzaVMIV9lwpRzhqgrBrHiWrFEH_D5NnNyn9wR9ilf0sCQo8qJGSE3OTM/s1600/Kotak.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;329&quot; data-original-width=&quot;455&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6l0rvptRpYYpK-xODEUVbZtM4RdQJchU4FLBQgKkjoa3RaCwMSuUcl5TUQGH2J7RJoA2Ht4mmfCyzjUS_YsedzaVMIV9lwpRzhqgrBrHiWrFEH_D5NnNyn9wR9ilf0sCQo8qJGSE3OTM/s400/Kotak.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Canvas.Pen.Style&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Secara default, bentuk garis adalah psSolid. Anda bisa mengganti garis solid menjadi bermacam-macam dengan berbagai bentuk, semisal: psDash, psDashDot, psDashDotDot, psDot, psClear, psInsideFrame. Namun perlu diingat, Style hanya bisa terlihat jika Width := 1. Lebih dari ini, tak akan terlihat.&lt;/div&gt;
&lt;div&gt;
Contoh:&lt;/div&gt;
&lt;div&gt;
Canvas.Pen.Style := psDash;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Canvas.Brush.Style&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Kita dapat mengarsir daerah kotak dengan memanfaatkan fungsi Brush. Ada berbagai bentuk arsiran, yaitu: bsSolid, bsDiagonal, bsFDiagonal, bsHorizontal, bsVertical, bsCross, bsDiagCross, dan bsClear.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Canvas.Brush.Color&lt;/b&gt;&lt;br /&gt;
Warna arsiran (Brush) dapat juga didefinisikan dengan property color milik Canvas.Brush.&lt;br /&gt;
Contoh:&lt;br /&gt;
Canvas.Brush.Color := clRed;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Pada program dibawah ini, saya akan menggambar satu kotak dengan arsiran bsBDiagonal, dan bentuk garis psDot.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9n3qTN64MC60reS3enY_48gKxOpgYGmyKoiL6x810VEOjl9I5gqGVYb7lPmJnUBv0xCFQGzQms610aiR1eCz_kG4mFCP6Odyk230Uz1vuwWeHOyiM8SP3f1YFWJw2ydS70DoThM_skeU/s1600/Kotak.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;229&quot; data-original-width=&quot;455&quot; height=&quot;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9n3qTN64MC60reS3enY_48gKxOpgYGmyKoiL6x810VEOjl9I5gqGVYb7lPmJnUBv0xCFQGzQms610aiR1eCz_kG4mFCP6Odyk230Uz1vuwWeHOyiM8SP3f1YFWJw2ydS70DoThM_skeU/s400/Kotak.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;procedure TForm1.FormPaint(Sender: TObject);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; i, x : integer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Pen.Color := clRed;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Pen.Width := 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Pen.Style := psDot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Brush.Style := bsBDiagonal;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; Canvas.Brush.Color := clBlue;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; canvas.Rectangle( 10,10, ClientWidth - 10,&amp;nbsp; ClientHeight - 10);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/2822503099855834420/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-kotak-dengan-rectangle.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2822503099855834420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2822503099855834420'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/05/menggambar-kotak-dengan-rectangle.html' title='Menggambar Kotak Dengan Rectangle'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6l0rvptRpYYpK-xODEUVbZtM4RdQJchU4FLBQgKkjoa3RaCwMSuUcl5TUQGH2J7RJoA2Ht4mmfCyzjUS_YsedzaVMIV9lwpRzhqgrBrHiWrFEH_D5NnNyn9wR9ilf0sCQo8qJGSE3OTM/s72-c/Kotak.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-111530553730691597</id><published>2019-04-26T09:49:00.001+07:00</published><updated>2019-04-26T10:02:13.547+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="addparameter"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="paramaeter"/><category scheme="http://www.blogger.com/atom/ns#" term="query"/><category scheme="http://www.blogger.com/atom/ns#" term="TAdoQuery"/><title type='text'>Membuat Parameter di Query</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlx2z8uCNnJ7APvxcdNzu_KQBrGwuKE3sDuWN9tgp2e5fOOwemscIUht1mKjRy7uT5uFP6rMWcVRelEmkajv9Wmx0R9O8yFsuu35rEUpBtPIAUu3H-bARDDga1JjGlxr0vqC0nw4YAvhI/s1600/Programming.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1440&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlx2z8uCNnJ7APvxcdNzu_KQBrGwuKE3sDuWN9tgp2e5fOOwemscIUht1mKjRy7uT5uFP6rMWcVRelEmkajv9Wmx0R9O8yFsuu35rEUpBtPIAUu3H-bARDDga1JjGlxr0vqC0nw4YAvhI/s320/Programming.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Pada dasarnya, parameter pada query akan dibuat secara otomatis oleh Delphi. Tapi entah karena apa, terkadang tidak, sehingga kita harus membuat parameter list secara manual.&lt;br /&gt;
&lt;br /&gt;
Parameter membutuhkan dua property, yaitu, nama dan tipe data. Tipe data harus sesuai seperti yang didefinisikan di Unit DB sebagai TFieldType sebagai berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;TFieldType = &lt;br /&gt;(ftUnknown, ftString, ftSmallint, ftInteger, ftWord, &lt;br /&gt;ftBoolean, ftFloat, ftCurrency, ftBCD, ftDate, ftTime, ftDateTime, &lt;br /&gt;ftBytes, ftVarBytes, ftAutoInc, ftBlob, ftMemo, ftGraphic, ftFmtMemo, &lt;br /&gt;ftParadoxOle, ftDBaseOle, ftTypedBinary, ftCursor, ftFixedChar, ftWideString, &lt;br /&gt;ftLargeint, ftADT, ftArray, ftReference, ftDataSet, ftOraBlob, ftOraClob, &lt;br /&gt;ftVariant, ftInterface, ftIDispatch, ftGuid, ftTimeStamp, ftFMTBcd, &lt;br /&gt;ftFixedWideChar, ftWideMemo, ftOraTimeStamp, ftOraInterval, &lt;br /&gt;ftLongWord, ftShortint, ftByte, ftExtended, ftConnection, ftParams, ftStream);&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Kedua property tadi harus diatur sebelum melakukan perintah query.&lt;/div&gt;
&lt;br /&gt;
contoh berikut ini qry adalah TAdoQuery yang mendapatkan masukan isi parameter KODE dari user.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;with qry do&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; Close;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; SQL.Clear;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; parameters.clear;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; parameters.AddParameter.Name := &#39;KODE&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; parameters.AddParameter.DataType := ftString;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; SQL.Add(&#39;select KodeGroup, NamaGroup&amp;nbsp; &#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; SQL.Add(&#39;from KodeGroup &#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; SQL.Add(&#39;where KodeGolongan = :KODE &#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; SQL.Add(&#39;Order by KodeGroup &#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; Open;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;end;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/111530553730691597/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/04/membuat-parameter-di-query.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/111530553730691597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/111530553730691597'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/04/membuat-parameter-di-query.html' title='Membuat Parameter di Query'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlx2z8uCNnJ7APvxcdNzu_KQBrGwuKE3sDuWN9tgp2e5fOOwemscIUht1mKjRy7uT5uFP6rMWcVRelEmkajv9Wmx0R9O8yFsuu35rEUpBtPIAUu3H-bARDDga1JjGlxr0vqC0nw4YAvhI/s72-c/Programming.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-2477617885732327209</id><published>2019-03-13T13:10:00.002+07:00</published><updated>2019-03-13T15:31:30.597+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="adotable"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="koneksi"/><category scheme="http://www.blogger.com/atom/ns#" term="ms access"/><category scheme="http://www.blogger.com/atom/ns#" term="query"/><category scheme="http://www.blogger.com/atom/ns#" term="table"/><category scheme="http://www.blogger.com/atom/ns#" term="tdaset"/><category scheme="http://www.blogger.com/atom/ns#" term="TDataSource"/><category scheme="http://www.blogger.com/atom/ns#" term="TDbGrid"/><category scheme="http://www.blogger.com/atom/ns#" term="vcl"/><title type='text'>Memakai TDBGrid untuk Menampilkan Data MS Access</title><content type='html'>TDBGrid digunakan untuk menampilkan isi atau mengubah&amp;nbsp; tabel atau query. Komponen ini tidak dapat berdiri sendiri. Secara minimal, Anda memakai TDBGrid dengan bantuan TDataSet (table/query) dan TDataSouce.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cara Pemakaian:&lt;/b&gt;&lt;br /&gt;
Letakkan TDataSource dan TADOTable di form&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJSoz5lEBlWgk62A-QRAwRPIrYof-jnv38aBOKLkovJ_2klnZ3ARUChk3vH1dWwOXXu-1-W09XFbVUVZR66Lid0LLrwsLvCZT3Mc_StCAR8YxYhlSwVkAJGr6397ncOT9L0vBli_ZKMP8/s1600/gambar1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;106&quot; data-original-width=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJSoz5lEBlWgk62A-QRAwRPIrYof-jnv38aBOKLkovJ_2klnZ3ARUChk3vH1dWwOXXu-1-W09XFbVUVZR66Lid0LLrwsLvCZT3Mc_StCAR8YxYhlSwVkAJGr6397ncOT9L0vBli_ZKMP8/s1600/gambar1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span id=&quot;goog_9067772&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_9067773&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Hubungkan TDBGrid dengan TDataSource di property DataSource&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWZJ0j8iMlAB6B4XqpzgUqYx3V3o9djSn3sj-LMhjHgR_R7g8jRBWnuvTpWecBb7riu9Wo2QmKg6PUsR1_ecWcIbJfd8KDa7cqwJGDuN9iFGZSvHMLJCTMNZlFxTpd8FYgHTDXxOG64OE/s1600/gambar2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;142&quot; data-original-width=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWZJ0j8iMlAB6B4XqpzgUqYx3V3o9djSn3sj-LMhjHgR_R7g8jRBWnuvTpWecBb7riu9Wo2QmKg6PUsR1_ecWcIbJfd8KDa7cqwJGDuN9iFGZSvHMLJCTMNZlFxTpd8FYgHTDXxOG64OE/s1600/gambar2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hubungkan TDataSource dengan TDataSet (dalam hal ini TADOTable)&amp;nbsp; dengan mengubah property DataSet:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5HZQ7vcoZFdVsPSCuYvb8K6YNyHvde1j3MiliNLAm3LyGZ6gMXNncOVUgDPksZiMNWDOFnelHTXl7_s2fe7tAcwNkgrs-JSlX-XslybYL3XspsRc2xK8Z8SbHP0oqtuUptp54Jp13v0/s1600/gambar3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;95&quot; data-original-width=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5HZQ7vcoZFdVsPSCuYvb8K6YNyHvde1j3MiliNLAm3LyGZ6gMXNncOVUgDPksZiMNWDOFnelHTXl7_s2fe7tAcwNkgrs-JSlX-XslybYL3XspsRc2xK8Z8SbHP0oqtuUptp54Jp13v0/s1600/gambar3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Isi ConnectionPilih di TADOTable&lt;br /&gt;
&lt;br /&gt;
a. Klik tombol bergambar 3 titik sehingga muncul kotak &quot;Source of Connection&quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-CMLCkHwb3V9wkH-toapFHdtQ3gOz4c9X-1GH7xUDTYEfHXvkcb11-9R0Eb2skIHIAQQ4mhX6jY_5PyJ-rdTE3U9hIruh9TuSg1iWS4didhOmn3G_XV3eu7fYEPV4cXLAPmCC9dKmTM8/s1600/gambar4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;202&quot; data-original-width=&quot;471&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-CMLCkHwb3V9wkH-toapFHdtQ3gOz4c9X-1GH7xUDTYEfHXvkcb11-9R0Eb2skIHIAQQ4mhX6jY_5PyJ-rdTE3U9hIruh9TuSg1iWS4didhOmn3G_XV3eu7fYEPV4cXLAPmCC9dKmTM8/s400/gambar4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&amp;nbsp; &lt;br /&gt;
b. Tekan tombol Build. sehingga muncul kotak dibawah ini. Pilih Microsoft Jet 4.0 OLE DB Provider. Kemudian klik tombol Next.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm44Vxo5SroL17VIsF-lgPUvgYhwzn6PLWIPSPoSoEgACNkqX1m0ewbiqiYqyCm0mjttlrY8S0TLBYseX-Oz3yT6mcLmbX_ADf73TvxfTgEbWemSVZt7y6PnlYBEv-62wNU26hNSWbhyphenhyphen4/s1600/gambar5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;451&quot; data-original-width=&quot;359&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm44Vxo5SroL17VIsF-lgPUvgYhwzn6PLWIPSPoSoEgACNkqX1m0ewbiqiYqyCm0mjttlrY8S0TLBYseX-Oz3yT6mcLmbX_ADf73TvxfTgEbWemSVZt7y6PnlYBEv-62wNU26hNSWbhyphenhyphen4/s320/gambar5.png&quot; width=&quot;254&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
c. Pada kotak dibawah &quot;Select or enter&amp;nbsp; a database name&quot;. Cari database yang diinginkan.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfijF8KduBTZcRapfp1E_orcuyoWCGxAHK7zS3ejlQyMsSmUvW00I5ruRTNDJzlyP8UIQWP6pmoTXuuMOLNYtuRSHLywjgjyr1jEkVzu6FBk591Gw166YS9696Lb-u60Q1YnrdRQiQnQ/s1600/gambar6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;453&quot; data-original-width=&quot;359&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfijF8KduBTZcRapfp1E_orcuyoWCGxAHK7zS3ejlQyMsSmUvW00I5ruRTNDJzlyP8UIQWP6pmoTXuuMOLNYtuRSHLywjgjyr1jEkVzu6FBk591Gw166YS9696Lb-u60Q1YnrdRQiQnQ/s320/gambar6.png&quot; width=&quot;253&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Jika database Anda ber-password, pilih Tab ALL dan pilih &quot;Jet OleDB Database Password&quot; seperti dibawah ini,&amp;nbsp; tetapi jika tidak, maka klik tombol OK.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQx2s54kFSP5X_0WzTKJD0CGIzXGDO9DIis6jm6udfG1VY8dsYKQItdFqQ6yPfaas2IphjxOw5egB6myx1mHkANmCCCFrmcTdcC6R0Nk_laQZSN90clqBgnCEGHR2FK34Kjx_QadkS9go/s1600/gambar7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;432&quot; data-original-width=&quot;360&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQx2s54kFSP5X_0WzTKJD0CGIzXGDO9DIis6jm6udfG1VY8dsYKQItdFqQ6yPfaas2IphjxOw5egB6myx1mHkANmCCCFrmcTdcC6R0Nk_laQZSN90clqBgnCEGHR2FK34Kjx_QadkS9go/s400/gambar7.png&quot; width=&quot;332&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Pilih table yang akan ditunjukkan isinya&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBZ29JlTEd93JEADbUYIYj2oNHi6WQqN60oyl-bYZOmJwLxmZsdENJHg9WISYKkXwjOg5LR5zFGuffSyii-Tu8M-1e5AiE-X-HfQl5Hx-bru9HV17xYd18FGVBStv0jRtfVrEC9F_HZb8/s1600/gambar9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;84&quot; data-original-width=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBZ29JlTEd93JEADbUYIYj2oNHi6WQqN60oyl-bYZOmJwLxmZsdENJHg9WISYKkXwjOg5LR5zFGuffSyii-Tu8M-1e5AiE-X-HfQl5Hx-bru9HV17xYd18FGVBStv0jRtfVrEC9F_HZb8/s1600/gambar9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Ganti property Active milik TADOTable&amp;nbsp; ke True&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqz6I30YNOflnYSnbaa0Az5_1auOWpu4hjIedKqEHCfzVzNffnjORjO0hRtcYDOylDfq4GzYIh2MElk0Y-eKtXQqCfgZzIU5MJizXOKC76I70TGbE2ynLwRfGmG7CweUoPndwDKE0Aip0/s1600/gambar8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;105&quot; data-original-width=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqz6I30YNOflnYSnbaa0Az5_1auOWpu4hjIedKqEHCfzVzNffnjORjO0hRtcYDOylDfq4GzYIh2MElk0Y-eKtXQqCfgZzIU5MJizXOKC76I70TGbE2ynLwRfGmG7CweUoPndwDKE0Aip0/s1600/gambar8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Sekarang jalankan program, isi tabel akan segera terlihat.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiQtAOk_NRKb06PLYVb3is8pkFcdqrvrKD9h0VLiki3FiSkb4hwtCV6qtgvOnGkiBBwnclZlpYq41D5DOO0Vp43y-RTqOW03mx26nweNcudRl4iS4qURrB6mXRteUlOHfPyJRtR9RNaY4/s1600/gambar10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;170&quot; data-original-width=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiQtAOk_NRKb06PLYVb3is8pkFcdqrvrKD9h0VLiki3FiSkb4hwtCV6qtgvOnGkiBBwnclZlpYq41D5DOO0Vp43y-RTqOW03mx26nweNcudRl4iS4qURrB6mXRteUlOHfPyJRtR9RNaY4/s1600/gambar10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/2477617885732327209/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/memakai-tdbgrid-untuk-menampilkan-data.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2477617885732327209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/2477617885732327209'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/memakai-tdbgrid-untuk-menampilkan-data.html' title='Memakai TDBGrid untuk Menampilkan Data MS Access'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJSoz5lEBlWgk62A-QRAwRPIrYof-jnv38aBOKLkovJ_2klnZ3ARUChk3vH1dWwOXXu-1-W09XFbVUVZR66Lid0LLrwsLvCZT3Mc_StCAR8YxYhlSwVkAJGr6397ncOT9L0vBli_ZKMP8/s72-c/gambar1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-5742689456809215731</id><published>2019-03-12T11:10:00.000+07:00</published><updated>2019-03-12T11:10:06.793+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="beep"/><category scheme="http://www.blogger.com/atom/ns#" term="bunyi"/><category scheme="http://www.blogger.com/atom/ns#" term="contoh program"/><category scheme="http://www.blogger.com/atom/ns#" term="kode program"/><category scheme="http://www.blogger.com/atom/ns#" term="source code"/><category scheme="http://www.blogger.com/atom/ns#" term="speaker"/><category scheme="http://www.blogger.com/atom/ns#" term="suara"/><title type='text'>Membunyikan Speaker dengan Frekuensi dan Lama Tertentu</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6VUgFCIZ76YoXguRJyji8Iz2l4iuP5QUNgscwf8VE7cesmWEoVr_X_vr6-WGCPoOo8L49HVL6OObjbSh3E2U_Ojo90ytLTx66mNdEWijoAx9gya-oGXWmTK-OEB432KHXKzxejQWhQe4/s1600/Clipart.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;200&quot; data-original-width=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6VUgFCIZ76YoXguRJyji8Iz2l4iuP5QUNgscwf8VE7cesmWEoVr_X_vr6-WGCPoOo8L49HVL6OObjbSh3E2U_Ojo90ytLTx66mNdEWijoAx9gya-oGXWmTK-OEB432KHXKzxejQWhQe4/s1600/Clipart.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Yah, saya tahu, ini program lama. Membunyikan speaker memang sudah tidak jamannya lagi. Sekarang sudah ada sound system. Tetapi ada kalanya kita membuat program di minimum system. Saya pribadi masih memakainya untuk menandakan user salah memasukkan user dan/atau password.&lt;br /&gt;
&lt;br /&gt;
Membunyikan speaker dapat memakai salah satu fungsi bawaan Delphi, fungsi itu adalah Beep. Ada di unit Windows dengan sintak:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Beep(&amp;nbsp; frekuensi, lama_bunyi&amp;nbsp; )&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Frekuensi dapat berkisar antara 37 s.d. 32.767 hertz sedangkan lama_bunyi dalam hitungan milidetik. &lt;br /&gt;
&lt;br /&gt;
Perlu diingat, bahwa fungsi beep tidak hanya ada di Windows, tetapi juga di SysUtils. Agar Delphi tidak salah terka, kita sertakan unit-nya sekalian.&lt;br /&gt;
&lt;br /&gt;
Dibawah ini, saya akan membunyikan frekuensi random antara&amp;nbsp; 100 sampai 5000 dengan panjang bunyi selama 50 milidetik&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Contoh Program:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; frek, i : integer; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; i := 1&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while i&amp;nbsp; &amp;lt; 5 do begin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; frek := 100 + random(5000);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows.Beep(frek, 50);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;end; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Jangan terlalu lama membunyikan memakai Windows.Beep, karena fungsi ini tidak dapat dikontrol. Ia akan menjalankan suara sampai selesai.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;sumber gambar: http://www.clipartpanda.com &lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/5742689456809215731/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/membunyikan-speaker-dengan-frekuensi.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5742689456809215731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/5742689456809215731'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/membunyikan-speaker-dengan-frekuensi.html' title='Membunyikan Speaker dengan Frekuensi dan Lama Tertentu'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6VUgFCIZ76YoXguRJyji8Iz2l4iuP5QUNgscwf8VE7cesmWEoVr_X_vr6-WGCPoOo8L49HVL6OObjbSh3E2U_Ojo90ytLTx66mNdEWijoAx9gya-oGXWmTK-OEB432KHXKzxejQWhQe4/s72-c/Clipart.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-7022990609421641487</id><published>2019-03-12T10:34:00.000+07:00</published><updated>2019-03-12T10:34:44.179+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="looping"/><category scheme="http://www.blogger.com/atom/ns#" term="perulangan"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="while do"/><title type='text'>Perulangan dengan While DO</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnPIRHt6vDsVqVfUUhVfRig6hkgx9Y279QTROw8ZqsKwWdzf_bp6Cs0TrQK7sdkVqUVlb-g-J9JlVQ3wo_dE89pB1fs5JKJsBRpMlbYf90T16r0z8Lob3UvqWC4WnXRZpD3Wby2eqLf5Y/s1600/RepeatUntil.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;219&quot; data-original-width=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnPIRHt6vDsVqVfUUhVfRig6hkgx9Y279QTROw8ZqsKwWdzf_bp6Cs0TrQK7sdkVqUVlb-g-J9JlVQ3wo_dE89pB1fs5JKJsBRpMlbYf90T16r0z8Lob3UvqWC4WnXRZpD3Wby2eqLf5Y/s1600/RepeatUntil.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Fungsi While Do mirip dengan fungsi &lt;a href=&quot;http://octacintadelphi.blogspot.com/2015/06/perulangan-dengan-repeat-until.html&quot;&gt;Repeat Until&lt;/a&gt;. Perbedaannya, Repeat Until memeriksa kode keluar looping di akhir baris, sedangkan While Do di awal baris. Jika syarat berhenti suatu looping sudah pasti, maka While-Do terasa lebih singkat dalam hal source code. Selebihnya, kedua fungsi ini sama saja.&lt;br /&gt;
&lt;br /&gt;
sintak while do.&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;while do syarat begin&lt;br /&gt;&lt;br /&gt; kode_program&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Contoh berikut akan membandingkan kedua fungsi tersebut, while-do dan repeat until, untuk menyelesaikan masalah yang sama, yaitu mencetak bilangan dari 1 sampai dengan 10.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Penyelesaian cara Repeat Until: &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i         : integer;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keluar : boolean;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i := 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keluar := false; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;    repeat&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        writeln(i);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; inc(i);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        if&amp;nbsp; i&amp;nbsp; &amp;gt; 10 then keluar  := not keluar; &lt;br /&gt;&amp;nbsp; until keluar = true;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Penyelesaian cara While-Do:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    i         : integer;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;     i :=&amp;nbsp; 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keluar := false; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    While i &amp;lt; 11 do begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        writeln(i);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inc(i);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    end;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/7022990609421641487/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/perulangan-dengan-while-do.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7022990609421641487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7022990609421641487'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2019/03/perulangan-dengan-while-do.html' title='Perulangan dengan While DO'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnPIRHt6vDsVqVfUUhVfRig6hkgx9Y279QTROw8ZqsKwWdzf_bp6Cs0TrQK7sdkVqUVlb-g-J9JlVQ3wo_dE89pB1fs5JKJsBRpMlbYf90T16r0z8Lob3UvqWC4WnXRZpD3Wby2eqLf5Y/s72-c/RepeatUntil.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-3353313621672558196</id><published>2018-12-07T14:44:00.002+07:00</published><updated>2018-12-07T14:44:54.752+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="class"/><category scheme="http://www.blogger.com/atom/ns#" term="deklarasi"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="object"/><category scheme="http://www.blogger.com/atom/ns#" term="oop"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><title type='text'>Membuat Class Sederhana</title><content type='html'>secara sederhana, class di Delphi didefinisikan sebagai berikut di dalam sebuah unit:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;type&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; namaclass&amp;nbsp; =&amp;nbsp; class(namaclassasal)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
setiap class dapat diturunkan dari class yang lain. Secara sederhana, class paling minim diturunkan dari class TObject. namaclass adalah identifikasi class yang Anda buat. Nama ini bisa apa saja. sehingga deklarasi diatas dapat dibuat menjadi:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;type&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TUtama&amp;nbsp; =&amp;nbsp; class(TObject)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
biasanya, karena class minimal adalah TObject, maka jika tidak disebutkan, secara otomatis class asalnya adalah TObject, seperti contoh berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;type&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TUtama&amp;nbsp; =&amp;nbsp; class&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Jika deklarasi diatas dimasukkan ke dalam sebuah unit, maka penampakannya menjadi seperti ini:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
    SysUtils;
type
    TUtama = class
end;

begin
    try

    except
    on E:Exception do
        Writeln(E.Classname, &#39;: &#39;, E.Message);
    end;
end.

&lt;/textarea&gt;

&lt;br /&gt;
&lt;br /&gt;
Program diatas dapat Anda compile tanpa kesalahan.Tetapi tentu saja jika dijalankan, tidak menghasilkan apa-apa karena sekedar deklarasi class. Sekarang kita akan membuat perkalian dua bilangan dengan sistem class seperti ini.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Field&lt;/b&gt;&lt;br /&gt;
Kita akan membuat apa yang disebut Field. Ini adalah semacam variabel internal di dalam class, sehingga pihak diluar class tidak dapat mengaksesnya.Jika ingin mengisinya dari luar class, maka kita harus membuat procedure tersendiri.&lt;br /&gt;
&lt;br /&gt;
Field-field untuk contoh program disini adalah:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;perkalian, angka1, angka2 : integer;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Property&lt;/b&gt;&lt;br /&gt;
Field&amp;nbsp; perkalian, angka1, angka2&amp;nbsp; tidak bisa diakses langsung oleh program diluar class, sehingga harus dibuatkan property. Tugasnya, adalah memberitahu class agar menganggap perkalian sebagai isi dari variabel internal bernama hasil, sehingga user dapat mengaksesnya melalui field hasil.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;property hasil: integer read perkalian;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method&lt;/b&gt;&lt;br /&gt;
Dapat dikatakan method mirip fungsi dalam sistem pemrograman yang lama. Segala operasi dilakukan oleh method. Dalam contoh ini, method adalah mengalikan bilangan dari pemanggil dan meletakkan hasilnya dalam field perkalian. Selanjutnya isi dari perkalian dapat diakses oleh pemanggil di field hasil akibat property. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Private, Protected, Public, Published&lt;/b&gt;&lt;br /&gt;
Hak akses atas pernak-pernik di class dapat diatur oleh pembuat class.&lt;br /&gt;
Jika diinginkan bahwa anggota class itu hanya dapat diakses oleh class itu sendiri, maka harus dibuat private. Dalam program ini, saya membuat perkalian, angka1, dan angka2 sebagai &lt;b&gt;private&lt;/b&gt;, karena field-field ini hanya diperuntukkan untuk operasi di class ini sendiri. sedangkan property hasil saya buat menjadi public (bisa juga published). Dengan demikian property saya dapat diakses di luar class saya sendiri. Perbedaan public dan published adalah, anggota yang published akan muncul di object inspector di IDE Delphi.&lt;br /&gt;
&lt;br /&gt;
Jika Anda menginginkan beberapa anggota class dapat diakses baik di class itu dan subclass-nya, maka Anda dapat membuatnya menjadi &lt;b&gt;protected&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Oke, deklarasi class selesai, berikutnya, agar class dapat dipakai, maka harus diinstankan terlebih dahulu. Pertama-tama deklarasikan variabel dengan tipe class itu:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; buat : TUtama;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Kemudian instankan class.&lt;br /&gt;
&lt;br /&gt;
buat := TUtama.Create;&lt;br /&gt;
&lt;br /&gt;
Saya mengisi angka-angka perkalian, sekaligus memrosesnya di class&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;buat.setHasil(5,2);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Hasil dari operasi method dapat diakses di field hasil.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;writeln(&#39;Hasil perkalian: &#39; +&amp;nbsp; IntToStr(buat.hasil)); &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
    SysUtils;
type
    TUtama = class(TObject)
    private 
        perkalian, angka1, angka2 : integer;
    public
        property hasil: integer read perkalian;
        procedure setHasil(angka1, angka2: integer);
end;

procedure TUtama.setHasil(angka1, angka2: integer);
begin
    perkalian := angka1 * angka2;
end;

var
    buat : TUtama;
begin
    try
        buat := TUtama.Create;
        buat.setHasil(5,2);
        writeln(&#39;Hasil perkalian: &#39; +  IntToStr(buat.hasil));
        readln;
    except
    on E:Exception do
        Writeln(E.Classname, &#39;: &#39;, E.Message);
    end;
end.

&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBBBm3RRAXb2u_aPG_yB1wut4LaAqP0Lr1PTpNXaCF7-AmggijeU1hG9LIW-ZaOngnknVcu7vIY_EL1Tn0-X_u1tGex7PE5T2YAISPFlXS5pPQ3E334C_zPfmZZbQbZ3wXswQ2sTWRTA/s1600/Hasil.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;45&quot; data-original-width=&quot;192&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBBBm3RRAXb2u_aPG_yB1wut4LaAqP0Lr1PTpNXaCF7-AmggijeU1hG9LIW-ZaOngnknVcu7vIY_EL1Tn0-X_u1tGex7PE5T2YAISPFlXS5pPQ3E334C_zPfmZZbQbZ3wXswQ2sTWRTA/s320/Hasil.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/3353313621672558196/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membuat-class-sederhana.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3353313621672558196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3353313621672558196'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membuat-class-sederhana.html' title='Membuat Class Sederhana'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBBBm3RRAXb2u_aPG_yB1wut4LaAqP0Lr1PTpNXaCF7-AmggijeU1hG9LIW-ZaOngnknVcu7vIY_EL1Tn0-X_u1tGex7PE5T2YAISPFlXS5pPQ3E334C_zPfmZZbQbZ3wXswQ2sTWRTA/s72-c/Hasil.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-7680664851033316613</id><published>2018-12-06T15:02:00.003+07:00</published><updated>2018-12-06T15:02:38.791+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="for downto"/><category scheme="http://www.blogger.com/atom/ns#" term="for to"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="looping"/><category scheme="http://www.blogger.com/atom/ns#" term="perulangan"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><title type='text'>Perulangan Batas Tertentu dengan FOR</title><content type='html'>Fungsi perulangan sering digunakan untuk menggandakan eksekusi baris program&amp;nbsp; dalam batas tertentu. Sintaknya adalah sebagai berikut:&lt;br /&gt;
&lt;br /&gt;
for variabel := angka1 to Batas do begin&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {isi program}&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
variabel harus bertipe integer atau word dan diisi dari nilai angka1 sampai Batas. Jika program hanya berisi satu baris perintah saja, Anda tidak harus menggunakan begin end.&lt;br /&gt;
&lt;br /&gt;
for i:= 1 to 3 do writeln(&#39;Saya ganteng&#39;);&lt;br /&gt;
&lt;br /&gt;
Namun jika lebih dari satu baris perintah,&amp;nbsp; blok kode program harus diapit oleh begin end. Contoh program dibawah ini akan mencetak kode ASCII dari 1 s.d. 6:&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;
var
   i : word;
begin
  try
     Writeln(&#39;Mencetak Kode ASCII 1 s.d. 6&#39;);
      for i := 1 to 6 do begin
        if i &lt;&gt; 6 then
            write(Char(i) + &#39;, &#39; )
        else
            write(Char(i))
      end;
      readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.

&lt;/textarea&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4F5P2rt_CRtm7RqG2G61Pww2BYGUurd-01yU_p5_ti4IMbgHykExMlyNi4Rhl_qdF3UdkN6BrJh0cLhA5b3CllG9UMj6kXdPdPRnU311E7DQL-7PALALKwzXEe4MPKxCj-MVm_AWhuLE/s1600/ASCII.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;62&quot; data-original-width=&quot;285&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4F5P2rt_CRtm7RqG2G61Pww2BYGUurd-01yU_p5_ti4IMbgHykExMlyNi4Rhl_qdF3UdkN6BrJh0cLhA5b3CllG9UMj6kXdPdPRnU311E7DQL-7PALALKwzXEe4MPKxCj-MVm_AWhuLE/s400/ASCII.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;Perulangan For tidak hanya maju. Kita juga dapat menggunakannya untuk hitungan mundur. Pada program dibawah ini, saya akan membalik string dengan bantuan hitungan mundur dengan mengganti kata to menjadi downto.&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;5&quot;&gt;     

     Nama := &#39;Yohanes Octa&#39;;
     balik := EmptyStr;
     for i := length(nama) downto 1  do begin
        balik := balik + copy(nama,i,1);
     end;

     writeln(balik);

&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
Fungsi perulangan tidak hanya FOR di Delphi. Kekurangan dari FOR, batas keluar dari perulangan selalu angka dan harus integer. Sementara, terkadang kita bisa memakai boolean atau lainnya. Batas FOR juga harus diberitahukan secara tertentu, sedangkan kita terkadang membutuhkan batas yang ditentukan kemudian.</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/7680664851033316613/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/perulangan-batas-tertentu-dengan-for.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7680664851033316613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7680664851033316613'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/perulangan-batas-tertentu-dengan-for.html' title='Perulangan Batas Tertentu dengan FOR'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4F5P2rt_CRtm7RqG2G61Pww2BYGUurd-01yU_p5_ti4IMbgHykExMlyNi4Rhl_qdF3UdkN6BrJh0cLhA5b3CllG9UMj6kXdPdPRnU311E7DQL-7PALALKwzXEe4MPKxCj-MVm_AWhuLE/s72-c/ASCII.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-1926686822024034997</id><published>2018-12-06T14:14:00.000+07:00</published><updated>2018-12-06T14:14:22.464+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="bulan"/><category scheme="http://www.blogger.com/atom/ns#" term="date"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="hari"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="sintak"/><category scheme="http://www.blogger.com/atom/ns#" term="syntax"/><category scheme="http://www.blogger.com/atom/ns#" term="tahun"/><category scheme="http://www.blogger.com/atom/ns#" term="tanggal"/><title type='text'>Membentuk Tanggal dari String Menggunakan EncodeDate</title><content type='html'>EncodeDate digunakan untuk membentuk data bertipe TDateTime dari string. Dengan format:&lt;br /&gt;
&lt;br /&gt;
EncodeDate(tahun, bulan, hari);&lt;br /&gt;
&lt;br /&gt;
dengan tahun, bulan dan hari dalam tipe word.&lt;br /&gt;
&lt;br /&gt;
Kenapa why? Kenapa membutuhkan fungsi ini? Saya biasanya menggunakan fungsi ini untuk membatasi data. Program transaksi yang dipakai dalam beberapa waktu, tentunya bisa mempunyai ribuan data. Jika user menginginkan menampilkan data, maka programmer harus membatasinya. Misal, di program bawah ini, saya menggunakan fungsi EncodeDate untuk menampilkan data tanggal pada tanggal satu di bulan pilihan sampai hari ini.&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Classes, Controls, Forms,
  ComCtrls;

type
  TForm1 = class(TForm)
    DateTimePicker1: TDateTimePicker;
    DateTimePicker2: TDateTimePicker;
    procedure FormCreate(Sender: TObject);
  private
  public
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
var
   Tahun, Bulan, Hari : Word;
   TanggalPertama : TDateTime;
begin
   DecodeDate(Now, Tahun, Bulan, Hari);
   TanggalPertama := EncodeDate(Tahun, Bulan, 1);
   DateTimePicker1.Date := TanggalPertama;
   DateTimePicker2.Date := Now;
end;

end.

&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihUYQdmosIaVD5Xd4jhiFMygNN9xOKVLox_PBqpsjlSeyAVsyt2-h7Ampm2YuXwohZ9hWKLAkeP7l61Bm4quAeJUfMIVLnm6a_0GQYgVZnyK-e4BxFM9b5XhwuUAUM7hFhiIZ00c2TYA4/s1600/Tanggal.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;262&quot; data-original-width=&quot;276&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihUYQdmosIaVD5Xd4jhiFMygNN9xOKVLox_PBqpsjlSeyAVsyt2-h7Ampm2YuXwohZ9hWKLAkeP7l61Bm4quAeJUfMIVLnm6a_0GQYgVZnyK-e4BxFM9b5XhwuUAUM7hFhiIZ00c2TYA4/s1600/Tanggal.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/1926686822024034997/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membentuk-tanggal-dari-string.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/1926686822024034997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/1926686822024034997'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membentuk-tanggal-dari-string.html' title='Membentuk Tanggal dari String Menggunakan EncodeDate'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihUYQdmosIaVD5Xd4jhiFMygNN9xOKVLox_PBqpsjlSeyAVsyt2-h7Ampm2YuXwohZ9hWKLAkeP7l61Bm4quAeJUfMIVLnm6a_0GQYgVZnyK-e4BxFM9b5XhwuUAUM7hFhiIZ00c2TYA4/s72-c/Tanggal.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-7550145612575830280</id><published>2018-12-06T11:10:00.000+07:00</published><updated>2018-12-06T11:10:21.860+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="balik"/><category scheme="http://www.blogger.com/atom/ns#" term="dasar"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="membalik string"/><category scheme="http://www.blogger.com/atom/ns#" term="perintah"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="reverse"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><title type='text'>Membalik String dengan AnsiReverseString</title><content type='html'>Sejak awal mempelajari pemrograman, saya merasa bahwa banyak perintah Delphi yang terlihat remeh, namun di kemudian hari, justru perintah-perintah remeh ini yang sering membantu saya menyelesaikan pemrograman.&lt;br /&gt;
&lt;br /&gt;
Salah satu perintahnya adalah AnsiReverseString. Fungsinya adalah membalik urutan string, sehingga terbaca dari belakang. Perintah ini saya katakan remeh karena dapat dibuat dengan mudah. Seperti berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;
var
  Nama, balik : String;
  i : integer;
begin
  try
     Nama := &#39;Yohanes Octa&#39;;
     balik := EmptyStr;
     for i := length(nama) downto 1  do begin
        balik := balik + copy(nama,i,1);
     end;

     writeln(balik);

     readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.

&lt;/textarea&gt;
&lt;br /&gt;
&lt;br /&gt;
Namun kenapa harus ada AnsiReverseString? Ya, nggak pa pa, kebetulan, kita bisa berhemat kode program. &lt;br /&gt;
&lt;br /&gt;
AnsiReverseString ada di unit StrUtils, sehingga jangan lupa menuliskannya pada bagian unit. Sekarag saya akan membuat kode program diatas lebih singkat dengan perintah AnsiReverseString;&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils, strUtils;
var
  Nama, balik : String;
  i : integer;
begin
  try
     Nama := &#39;Yohanes Octa&#39;;
     balik := EmptyStr;
     for i := length(nama) downto 1  do begin
        balik := balik + copy(nama,i,1);
     end;

     writeln(&#39;Membalik string manual&#39;);
     writeln(&#39;&#39;);
     writeln(balik);
     writeln(&#39;&#39;);
     writeln(&#39;Dibawah ini membalik string dengan AnsiReverseString&#39;);
     writeln(&#39;&#39;);
     writeln(AnsiReverseString(Nama));

     readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.

&lt;/textarea&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnFCatxQytbk-l6UWxV5vAyETNtTqIckgDZiUdeMGeBxAbMaq8DtravKZqkiWzLix6h7HV6Iumzbz2RRJeOPMztM2TI8M_QViA27K7gVCpy0S2zVUjqLSVO4pV0C1GowMgGAQQJyIf8j8/s1600/Hasil.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;145&quot; data-original-width=&quot;437&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnFCatxQytbk-l6UWxV5vAyETNtTqIckgDZiUdeMGeBxAbMaq8DtravKZqkiWzLix6h7HV6Iumzbz2RRJeOPMztM2TI8M_QViA27K7gVCpy0S2zVUjqLSVO4pV0C1GowMgGAQQJyIf8j8/s400/Hasil.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/7550145612575830280/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membalik-string-dengan-ansireversestring.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7550145612575830280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/7550145612575830280'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membalik-string-dengan-ansireversestring.html' title='Membalik String dengan AnsiReverseString'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnFCatxQytbk-l6UWxV5vAyETNtTqIckgDZiUdeMGeBxAbMaq8DtravKZqkiWzLix6h7HV6Iumzbz2RRJeOPMztM2TI8M_QViA27K7gVCpy0S2zVUjqLSVO4pV0C1GowMgGAQQJyIf8j8/s72-c/Hasil.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-3196762003105782674</id><published>2018-12-06T10:40:00.001+07:00</published><updated>2018-12-06T10:40:23.763+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="console"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="fungsi"/><category scheme="http://www.blogger.com/atom/ns#" term="komputer"/><category scheme="http://www.blogger.com/atom/ns#" term="modul. program"/><category scheme="http://www.blogger.com/atom/ns#" term="perintah"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="sintak"/><category scheme="http://www.blogger.com/atom/ns#" term="syntax"/><title type='text'>Membuat Fungsi</title><content type='html'>Fungsi adalah bagian program yang dipanggil oleh bagian program yang lain. Tidak sekedar dipanggil, fungsi juga mengembalikan nilai ke program pemanggilnya.&lt;br /&gt;
&lt;br /&gt;
Sebenarnya fungsi bisa digantikan oleh method di sistem OOP, tetapi penggunaan fungsi memang lebih simpel, lagipula Delphi memang bersifat hibrid, bisa OOP bisa juga struktural seperti bahasa lama.&lt;br /&gt;
&lt;br /&gt;
fungsi didefinisikan sebagai berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;fungsi namaFungsi(parameter): nilaifungsi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; result : nilaikembali; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
result adalah nilai yang dikembalikan oleh sebuah fungsi. Semua tipe data dapat dikembalikan melalui result.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;

function EntryData: integer;
var
   Bil1 : integer;
begin
      Write(&#39;Masukkan Bilangan : &#39;);
      Readln(Bil1);
      result :=Bil1;
end;

var
  Hasil : integer;
begin
  try
      Hasil := EntryData;
      write(&#39;Bilangan yang Anda masukkan adalah: &#39;);
      Write(IntToStr(Hasil));
      Readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.

&lt;/textarea&gt;

&lt;br /&gt;
&lt;br /&gt;
Kita dapat memberikan parameter pada fungsi. Gunanya, parameter-parameter tadi dapat diolah sehingga sesuai keinginan program pemanggil. Ada dua jenis parameter yang dipakai fungsi. Pertama, passing by value. 
Parameter jenis ini hanya diisi oleh pemanggil untuk diberikan kepada 
fungsi. Apapun yang terjadi pada parameter itu tidak mempengaruhi nilai 
yang ada di pemanggil.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;

function Kalikan(A1, A2: integer): integer;
begin
    result := A1 * A2 ;
end;

var
  Hasil, Bil1, Bil2 : integer;
begin
  try
      write(&#39;Masukkan Bilangan 1: &#39;);
      Readln(Bil1);
      write(&#39;Masukkan Bilangan 2: &#39;);
      Readln(Bil2);
      Hasil := Kalikan(Bil1, Bil2);
      Write(&#39;Hasil perkalian: &#39;);
      Write(IntToStr(Hasil));
      Readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.

&lt;/textarea&gt;
&lt;br /&gt;
&lt;br /&gt;
Program diatas akan saya ubah, dengan mendapatkan nilai Bil1 dan Bil2 dari user, kemudian memanggil fungsi perkalian untuk mengalikan Bil1 dan Bil2. Namun Bil1 dan Bil2 diterima A1 dan A2. Hasil dari perkalian dikembalikan ke pemanggil dengan: &lt;br /&gt;
&lt;br /&gt;
result := A1 * A2;&lt;br /&gt;
&lt;br /&gt;
Yang kedua, dinamakan passing by reference. Nilai parameter ini mempengaruhi pada program pemanggi. Variabel yang di-passing reference harus diberi kata &lt;b&gt;var&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Contoh berikut ini adalah modifikasi dari program diatas. Pada program diatas, hasil perkalian didapatkan dari result, sedangkan program berikut ini, nilai hasil didapatkan dari variabel var.&lt;br /&gt;
&lt;br /&gt;
&lt;textarea cols=&quot;60&quot; rows=&quot;10&quot;&gt;program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;

function Kalikan(A1, A2: integer; var hasil: integer): integer;
begin
    hasil := A1 * A2 ;
end;

var
  Hasil, Bil1, Bil2 : integer;
begin
  try
      write(&#39;Masukkan Bilangan 1: &#39;);
      Readln(Bil1);
      write(&#39;Masukkan Bilangan 2: &#39;);
      Readln(Bil2);
      Kalikan(Bil1, Bil2, hasil);
      Write(&#39;Hasil perkalian: &#39;);
      Write(IntToStr(Hasil));
      Readln;
  except
    on E:Exception do
      Writeln(E.Classname, &#39;: &#39;, E.Message);
  end;
end.
&lt;/textarea&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl5QjHbDvstzgtrkOnZHJUHlfPNkWuz0oBxyOMNGnM6uiEkhCw8xjPpjj_Wc_o2rM02gqige1WvwM2XFp20rEo63AS1tvZUV3ADU5bLo9qypmSw9F1zRrrBJdX02bjJz1aZuDbobuK3qY/s1600/Hasil.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;68&quot; data-original-width=&quot;218&quot; height=&quot;99&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl5QjHbDvstzgtrkOnZHJUHlfPNkWuz0oBxyOMNGnM6uiEkhCw8xjPpjj_Wc_o2rM02gqige1WvwM2XFp20rEo63AS1tvZUV3ADU5bLo9qypmSw9F1zRrrBJdX02bjJz1aZuDbobuK3qY/s320/Hasil.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/3196762003105782674/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membuat-fungsi.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3196762003105782674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/3196762003105782674'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/12/membuat-fungsi.html' title='Membuat Fungsi'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl5QjHbDvstzgtrkOnZHJUHlfPNkWuz0oBxyOMNGnM6uiEkhCw8xjPpjj_Wc_o2rM02gqige1WvwM2XFp20rEo63AS1tvZUV3ADU5bLo9qypmSw9F1zRrrBJdX02bjJz1aZuDbobuK3qY/s72-c/Hasil.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-1605719711308414049</id><published>2018-11-23T13:33:00.001+07:00</published><updated>2018-11-23T13:33:15.923+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="borland"/><category scheme="http://www.blogger.com/atom/ns#" term="codegear"/><category scheme="http://www.blogger.com/atom/ns#" term="daftar"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="embarcadero"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="sejarah"/><category scheme="http://www.blogger.com/atom/ns#" term="turbo pascal"/><category scheme="http://www.blogger.com/atom/ns#" term="versi"/><title type='text'>Daftar Versi Delphi</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1x1yNNxD60HgEYEEKb0G5lAYCd-qHtAiLfb-MDgPR9ATscebCW6aNCfpei9wFKsES6btB0drlCaBdzo1Klg70fLrdQcQp4absVYZkuGlDKOJYpyDYXI4KewqRmJwYR_IWJNru4ITKUHs/s1600/Delphi.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;170&quot; data-original-width=&quot;200&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1x1yNNxD60HgEYEEKb0G5lAYCd-qHtAiLfb-MDgPR9ATscebCW6aNCfpei9wFKsES6btB0drlCaBdzo1Klg70fLrdQcQp4absVYZkuGlDKOJYpyDYXI4KewqRmJwYR_IWJNru4ITKUHs/s320/Delphi.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Turbo Pascal 1: 1983&lt;br /&gt;
Turbo Pascal 2: 1984&lt;br /&gt;
Turbo Pascal 3: 1986&lt;br /&gt;
Turbo Pascal 4: 1987&lt;br /&gt;
Turbo Pascal 5: 1988&lt;br /&gt;
Turbo Pascal 5.5: 1989&lt;br /&gt;
Turbo Pascal 6: 1990&lt;br /&gt;
Turbo Pascal for Windows 1.0&lt;br /&gt;
Turbo Pascal for Windows 1.5&lt;br /&gt;
Borland Pascal 7 &lt;br /&gt;
Borland DELPHI 1: 1995&lt;br /&gt;
Borland DELPHI 2: 1996&lt;br /&gt;
Borland DELPHI 3: 1997&lt;br /&gt;
Borland DELPHI 4: 1998&lt;br /&gt;
Borland DELPHI 5: 1999&lt;br /&gt;
Borland DELPHI 6: 2001&lt;br /&gt;
Borland DELPHI 7: 2002&lt;br /&gt;
Borland DELPHI 8 for NET: 2003&lt;br /&gt;
Borland DELPHI 2005: 2004&lt;br /&gt;
Borland DELPHI 2006: 2005&lt;br /&gt;
CodeGear DELPHI 2007: 2006&lt;br /&gt;
CodeGear DELPHI 2009: 2008&lt;br /&gt;
CodeGear DELPHI 2010: 2009&lt;br /&gt;
Embarcadero DELPHI XE: 2010&lt;br /&gt;
Embarcadero DELPHI XE2: 2011&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI XE3: 2012&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI XE4:&amp;nbsp; April 2013&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI XE5: September 2013&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI XE8:&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI 10 SEATTLE: 2015&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI 10.1 BERLIN: 2016&lt;br /&gt;
Embarcadero&amp;nbsp; DELPHI 10.2 TOKYO: 2017</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/1605719711308414049/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/11/daftar-versi-delphi.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/1605719711308414049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/1605719711308414049'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/11/daftar-versi-delphi.html' title='Daftar Versi Delphi'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1x1yNNxD60HgEYEEKb0G5lAYCd-qHtAiLfb-MDgPR9ATscebCW6aNCfpei9wFKsES6btB0drlCaBdzo1Klg70fLrdQcQp4absVYZkuGlDKOJYpyDYXI4KewqRmJwYR_IWJNru4ITKUHs/s72-c/Delphi.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-544477347468729802.post-111132692333563329</id><published>2018-11-05T15:07:00.001+07:00</published><updated>2018-11-05T15:07:30.779+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bilangan"/><category scheme="http://www.blogger.com/atom/ns#" term="delphi"/><category scheme="http://www.blogger.com/atom/ns#" term="fungsi"/><category scheme="http://www.blogger.com/atom/ns#" term="matematika"/><category scheme="http://www.blogger.com/atom/ns#" term="number"/><category scheme="http://www.blogger.com/atom/ns#" term="pangkat"/><category scheme="http://www.blogger.com/atom/ns#" term="power"/><category scheme="http://www.blogger.com/atom/ns#" term="sintak"/><category scheme="http://www.blogger.com/atom/ns#" term="syntax"/><title type='text'>Fungsi Matematika Power</title><content type='html'>Power dalam dalam artikel ini adalah pangkat dalam matematika seperti 2 &lt;sup&gt;3&lt;/sup&gt; . Dalam Delphi, kita tinggal memakai fungsi ini dengan input-an bilangan. Power adalah fungsi yang terdaftar pada unit Math, sehingga harus ditulis di bagian Unit.&lt;br /&gt;
&lt;br /&gt;
Sintak:&lt;br /&gt;
&lt;br /&gt;
Power(x,y);&lt;br /&gt;
&lt;br /&gt;
dengan&lt;br /&gt;
x = bilangan yang dipangkatkan.&lt;br /&gt;
y = pangkat bilangan&lt;br /&gt;
&lt;br /&gt;
sehingga  2 &lt;sup&gt;3&lt;/sup&gt; ditulis Power(2,3);&lt;br /&gt;
&lt;br /&gt;
Contoh program:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;uses&lt;br /&gt;&amp;nbsp; SysUtils, Math;&lt;br /&gt;var&lt;br /&gt;&amp;nbsp; p : single;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p := Power(2,3);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; writeln(&#39;2 pangkat 3 = &#39;, FloatToStr(p));&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; writeln;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p := Power(2,0.5);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; writeln(&#39;2 pangkat 0.5 = &#39;, FloatToStr(p));&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; readln;&lt;br /&gt;&amp;nbsp; except&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; on E:Exception do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Writeln(E.Classname, &#39;: &#39;, E.Message);&lt;br /&gt;&amp;nbsp; end;&lt;br /&gt;end.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGwYd1O21uiWnVfjq05gopt-54dgtsCCNPTi9tnTrU8t86w9Jy0aPMw9UhuJunmAWvS889t_m-6F122_3Xp4cAP5F8iaiIlcL7P1hYOH3DBwCpfCrn-vPMrGdujOsSRzQNC7_R94XjOs/s1600/Pangkat.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;85&quot; data-original-width=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGwYd1O21uiWnVfjq05gopt-54dgtsCCNPTi9tnTrU8t86w9Jy0aPMw9UhuJunmAWvS889t_m-6F122_3Xp4cAP5F8iaiIlcL7P1hYOH3DBwCpfCrn-vPMrGdujOsSRzQNC7_R94XjOs/s1600/Pangkat.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://octacintadelphi.blogspot.com/feeds/111132692333563329/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://octacintadelphi.blogspot.com/2018/11/fungsi-matematika-power.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/111132692333563329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/544477347468729802/posts/default/111132692333563329'/><link rel='alternate' type='text/html' href='http://octacintadelphi.blogspot.com/2018/11/fungsi-matematika-power.html' title='Fungsi Matematika Power'/><author><name>Good Dreamer</name><uri>http://www.blogger.com/profile/14072127958451071364</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGwYd1O21uiWnVfjq05gopt-54dgtsCCNPTi9tnTrU8t86w9Jy0aPMw9UhuJunmAWvS889t_m-6F122_3Xp4cAP5F8iaiIlcL7P1hYOH3DBwCpfCrn-vPMrGdujOsSRzQNC7_R94XjOs/s72-c/Pangkat.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>