Donanım Merkezi
 

Geri git   Donanım Merkezi > Yazılım > Programlama

Cevapla
 
LinkBack Seçenekler Stil
Alt 11-24-2006, 02:47 PM   #1 (permalink)
Yeni Üye
 
Üyelik tarihi: Aug 2005
Nerden: Kahramanmaraş
Mesajlar: 24
İtibar Gücü: 0 sariye is an unknown quantity at this point
Listboxt'ın içindekini edita taşıma

Listbox'in içindekileri edit'a sürükleyerek bırakma.Listbox'ın items özelliğinden birkaç tane sayı girin ve aşağıdaki kodları yazınız.

procedure TForm1.Edit1DragDrop(Sender, Source: TObject; X, Y: Integer);
begin
if (Source is TListBox) and (Sender is TEdit) then
with TListBox(Source) do
if ItemIndex>=0 then TEdit(Sender).Text:=Items[ItemIndex];

end;

procedure TForm1.Edit1DragOver(Sender, Source: TObject; X, Y: Integer;
State: TDragState; var Accept: Boolean);
begin
if source=Edit1 then
Accept :=true;
end;

procedure TForm1.ListBox1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if button=mbLeft then
ListBox1.BeginDrag(true);
sariye Çevrimdışı  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık


Bütün Zaman Ayarları WEZ +4 olarak düzenlenmiştir. Şu Anki Saat: 05:55 AM .


Donanım forumu - oyun - gtaoyun hilelerioyun - voip  - eğlence
 
 

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0