Thursday, November 4, 2010

Mengganti BackColor ComboBox dengan Acuan ComboBox sendiri

Tips ini bertujuan untuk mengganti warna belakang dari ComboBox melalui ComboBox itu sendiri.Seperti apabila user memilih "Biru" pada ComboBox maka BackColor secara Otomatis berganti menjadi biru.berikut Tutornya:

1.Sediakan 1 buah ComboBox dan 1 buah TextBox dalam Form anda
lalu atur BackColor dari ComboBox untuk terlebih dahulu mengetahui code dari warna tersebut.misal warna biru

Jalankan Program maka akan terlihat tampilan sebagai berikut

2.Masukkan Coding sebagai berikut untuk mengetahui apa code warna dari biru

Berarti setiap Form Di Load maka code BackColor dari ComboBox akan tercatat pada TextBox
Jalankan Program maka akan terlihat tampilan sebagai berikut

Terlihat Bahwa code dari warna biru adalah -2147483646
3.Kembalikan BackColor dari ComboBox seperti semula

4.Kemudian isi properties "List" pada ComboBox dengan warna "Biru"(Karena yang telah kita ketahui adalah code warna biru)

5.Lalu Masukkan Lagi Coding yang bertujuan mengganti warna ComboBox

Pada private sub ketika Combo di Click diberi perintah "Apabila isi tulisan dari ComboBox adalah "Biru" maka Back Color dari ComboBox diganti menjadi -2147483646
6.Jalankan Program anda,dan pilih "Biru" pada ComboBox anda

Hasilnya:


Note:
1.Sistem ini dapat digunakan untuk mengetahui semua code warna
2.TextBox hanya bertujuan mengetahui code,apabila anda sudah mendapatkan codenya hapus TextBox beserta coding "Text1.text=Combo1.Backcolor" pada Form_Load agar tidak terjadi Debug pada Program

Thursday, October 14, 2010

Introduction of AutoCAD

AutoCAD is a product of Autodesk company which is very useful in the world of design and architecture, in this current era of sophisticated technology necessary ease and accuracy in all respects, with the support of computers that can all happen.

In the field of architecture and design, autocad is one Answer. AutoCAD can be used to draw in 2D and 3D.
2D means the picture is more simple and flat. just as we draw on a piece of paper, or the images. This facility is widely used for drawing machines, home design, equipment, or other 2D objects with detailed and accurate.
3D means creating an object that can be seen from all side. With 3D facility then the result will be more real picture plus the coloring and lighting is good, it can be used to draw objects that are similar to the original.