Cara menambahkan Picture di Combobox

Eee,berikut contohnya

Untitled

berikut scriptnya saya taruh di form.init atau terserah aja lah asal jangan di load aja bukan untuk object itu


This.combo1.BoundTo = .T.
This.combo1.ColumnLines = .F.
This.combo1.PictureSelectionDisplay = 1
this.combo1.AddListItem("D:\Belajar\foxpro\tes\image\bar.png",1,1)
this.combo1.AddListItem("D:\Belajar\foxpro\tes\image\pie.png",2,1)
this.combo1.Picture(1)="D:\Belajar\foxpro\tes\image\bar.png"
this.combo1.Picture(2)="D:\Belajar\foxpro\tes\image\pie.png"

pahamkan gampang lah🙂 semoga bermanfaat yaa moga semakin sukses aja deh

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: