Pages

Subscribe:

About

Blog Ini membahas Tentang Delphi dari Tutorial, Source code, hingga Programming *Exe. Bersumber dari http://olvandra.blogspot.com

Labels

Tampilkan postingan dengan label Borland Delphi. Tampilkan semua postingan
Tampilkan postingan dengan label Borland Delphi. Tampilkan semua postingan

Selasa, 28 Oktober 2014

Animasi Slide Sederhana [Delphi7]

Animasi Ini Menggunakan TPanel, dimana slide nya kiri, kanan dan bawah, dengan menggunakan TTimer untuk menggerakkan Panel tersebut, langsung saja  :

ScreenShoot:




Senin, 03 Maret 2014

Tray Icon dengan Tombol Minimize [ Delphi 7 ]

 


Sesuai Permintaan saya post tutorial Tray Icon dengan Tombol Minimize [ Delphi 7 ], kronologinya pada saat tombol minimize windows di klik pada program biasanya hanya minimize pada taskbar saja, sekarang kita ubah dimana pada saat tombol minimize di klik akan masuk ke system trayiscon. langsung ke tutorial :



 dibawah ini source code beserta tampilan script lengkapnya

Sabtu, 28 Desember 2013

FORM TRANSPARAN dengan ALPHASKIN [Alphacontrol]

 

Pokok bahasan masalah kali ini. Mebuat Form Transparan saat Form Didrag atau di move, kronologinya Pada saat mouse di drag pada titlebar dan digeser maka FORM tersebut akan Transparan (berbayang) pada Alphacontrol. Begini tutorialnya sangat simple

Open Delphi

pilih tab AlphaTool >> Pilih sSkinmanager




Rabu, 04 Juli 2012

Program Berjalan dari atas ke bawah

Satu lagi nih Tutorial yg mo buat animasi tulisan berjalan dari Berjalan dari atas ke bawah (Delphi 7) dengan pengaturan timer kecepatan gerak dari program tersebut...
semakin banyak angka yg di isi di TEdit, maka semakin lambat kecepatan jalan Laber tersebut... Mudah tapi Sederhana...  System INTERVAL pada TTimer yang di set dalam Program...setting warna dengan Settingan Dropdown.. silahkan di coba... Free Download Program Berjalan dari atas ke bawah Borland Delphi 7.



Program Bejalan dari atas ke bawah dan balik lagi keatas (Delphi 7)

Tutorial Sebelumnya Program Bejalan dari atas ke bawah(Delphi7), kali ini saya posting Tutorial Program Bejalan dari atas ke bawah dan balik lagi keatas (Delphi7), Logikanya sangat mudah dan bisa dimengerti untuk para newbie,, ok yg mo coba silahkan di download source code Program Bejalan dari atas ke bawah dan balik lagi keatas (Delphi 7) gan...
 

Program Input Sederhana dengan Delphi

Pernah gx sih bingung soal Nyimpen Data, Delete, input,Ambil Gambar, Simpan Gambar, dan Ouput data dalam Delphi.... Bingung Kah,,,,/>>>>!@#$%^& ??? Gax usa Bingung... ni saya kasih solusi sederhananya Melalui Tutorial Delphi yg sangat sederhana, Silahkan Yang ingin mencoba Free Download Source Code Program Input Sederhana Fakultas Dengan Delphi 7

Procedure dalam Program :



  • Penyimpanan Data dalam Database (Ms. Access)
  • Load Data
  • Delete Data
  • Input Data
  • Output Data (laporan Rekapitulasi)
  • Penyimpanan Gambar
  • Load Gambar
  • Pencarian
  • Handle Dengan Message
  • Onkey Press dengan Tombol  ENTER
  • Penghitungan Uang
  • Format Uang Currency (dengan Tanda Titik) Contoh 10.000.000
  • Setting Biaya
  • Pergantian Warna Form
  • View Data
  • Animasi Tulisan
  • Font
  • dll
ScreenShot :



Rabu, 15 Februari 2012

Embarcadero Delphi

Embarcadero Delphi

Delphi adalah sebuah IDE Compiler untuk bahasa pemrograman Pascal dan lingkungan pengembangan perangkat lunak. Produk ini dikembangkan oleh CodeGear sebagai divisi pengembangan perangkat lunak milik Embarcadero, divisi tersebut sebelumnya adalah milik Borland. Bahasa Delphi, atau dikenal pula sebagai object pascal (pascal dengan ekstensi pemrograman berorientasi objek (PBO/OOP)) pada mulanya ditujukan hanya untuk Microsoft Windows, namun saat ini telah mampu digunakan untuk mengembangkan aplikasi untuk Linux dan Microsoft .NET framework (lihat di bawah). Dengan menggunakan Free Pascal yang merupakan proyek opensource, bahasa ini dapat pula digunakan untuk membuat program yang berjalan di sistem operasi Mac OS X dan Windows CE

Pada tanggal 8 Februari 2006, Borland mengumumkan akan melepas seluruh jajaran produk pengembangan aplikasi komputernya termasuk di antaranya Delphi, untuk itulah Borland membentuk perusahaan baru dengan nama CodeGear sehingga terpisah dari Borland . Saat ini Delphi menjadi bagian dari jajaran IDE milik Embarcadero Technologies setelah Embarcadero Technologies mengakuisisi CodeGear. Hal ini disebabkan karena kerugian yang terus menerus selama 2006 rugi bersih sebesar $53.1 juta, 2007 rugi bersih $61 juta. Sehingga pada tahun 2008 saat CodeGear menderita rugi bersih $22.3 maka CodeGear dijual ke Embarcadero seharga $23 juta untuk menutupi rugi bersih ini

Delphi Compiler Version Directives



Preparing to code with no barriers. See how to overcome the compiler version problem: compiling Delphi code for various Delphi versions.
If you plan on writing Delphi code that should work with several version of the Delphi compiler you need to know under which versions your code gets compiled.
Suppose you are writing your own (commercial) custom component. Users of your component might have different Delphi versions than you have. If they try to recompile the component's code (your code) - they might be in trouble! What if you were using default parameters in your functions and the user has Delphi 3?

Compiler directive: $IfDef

Compiler directives are special-syntax comments we can use to control the features of the Delphi compiler. The Delphi compiler has three types of directives: switch directives, parameter directives and conditional directives. Conditional compilation lets us selectively compile parts of a source code depending on which conditions are set.
The $IfDef compiler directive starts a conditional compilation section.
The syntax looks like:
 {$IfDef DefName}
 ...
 {$Else}
 ...
 {$EndIf}
 
The DefName presents the so-called conditional symbol. Delphi defines several standard conditional symbols. In the "code" above, if the DefName is defined the code above $Else gets compiled.

Delphi Version Symbols

A common use for the $IfDef directive is to test the version of the Delphi compiler. The following list indicates the symbols to check when compiling conditionally for a particular version of the Delphi compiler:
  • SYMBOL - COMPILER VERSION
  • VER80 - Delphi 1
  • VER90 - Delphi 2
  • VER100 - Delphi 3
  • VER120 - Delphi 4
  • VER130 - Delphi 5
  • VER140 - Delphi 6
  • VER150 - Delphi 7
  • VER160 - Delphi 8
  • VER170 - Delphi 2005
  • VER180 - Delphi 2006
  • VER180 - Delphi 2007
  • VER185 - Delphi 2007
  • VER200 - Delphi 2009
  • VER210 - Delphi 2010
  • WIN32 - Indicates that the operating environment is the Win32 API.
  • LINUX - Indicates that the operating environment is Linux
  • MSWINDOWS - Indicates that the operating environment is the MS Windows/li]
  • CONSOLE - Indicates that an application is being compiled as a console application
By knowing the above symbols it is possible to write code which works with several versions of Delphi by using compiler directives to compile appropriate source code for each version.
Note: symbol VER185, for example, is used to indicate Delphi 2007 compiler or an earlier version.

Using "VER" symbols

It's quite usual (and desirable) for each new Delphi version to add several new RTL routines to the language.
For example, the IncludeTrailingBackslash function, introduced in Delphi 5, adds '\' to the end of a string if it is not already there. In the Delphi MP3 project, I have used this function and several readers have compained that they can't compile the project - they have some Delphi version prior to Delphi 5.
One way to solve this problem is to create your own version of this routine - the AddLastBackSlash function. If the project should be compiled on Delphi 5, the IncludeTrailingBackslash is called. If some of the previous Delphi versions are used than we simulate the IncludeTrailingBackslash function.
It could look something like:
 function AddLastBackSlash(str: string) : string;
 begin
 {$IFDEF VER130}
  Result:=IncludeTrailingBackslash(str) ;
 {$ELSE}
  if Copy(str, Length(str), 1) = '\' then
    Result := str
  else
    Result := str + '\';
 {$ENDIF}
 end;
 
When you call the AddLastBackSlash function Delphi figures out which portion of the function should be used and the other part is simply skipped.

Delphi 2008?

Delphi 2007 uses VER180 in order to maintain non-breaking compatability with Delphi 2006 and then ads VER185 in order for development that specifically needs to target Delphi 2007 for whatever reason. Note: any time the interface of a unit changes the code that uses that unit has to be re-compiled.
Delphi 2007 is non-breaking release meaning that DCU files from Delphi 2006 will work as-is.

Sumber : Link

Visitor