filter في listbox
#2
كود :
procedure TForm1.ListBox1Click(Sender: TObject); begin     ListBox2.Clear;     if ListBox1.Items[ListBox1.ItemIndex ]='A' then  begin     ListBox2.Items.Add(' ahmed ');     ListBox2.Items.Add(' kamel ') ;     ListBox2.Items.Add(' anis ')   ;     end;     if  ListBox1.Items[ListBox1.ItemIndex ]='B' then  begin       ListBox2.Items.Add(' fatah ');       ListBox2.Items.Add(' said ') ;       ListBox2.Items.Add(' sami ') ;     end;     if ListBox1.Items[ListBox1.ItemIndex ]='C' then  begin       ListBox2.Items.Add(' aymen ');       ListBox2.Items.Add(' mohamed ') ;       ListBox2.Items.Add(' khaled ') ;     end; end;
‏اللّهمّ فرّج أُموراً ضَاقت بها صُدورنا وعجزت بها حيلتنا وقلّ بها صَبرنا الّلهمّ أَسعِد قلوبنا بما أنتَ أعْلَمُ بِهِ مِنّا
[-] كل من 1 user says قال شكرا ل larbiparadox على المشاركة المفيدة
  • Team dz
الرد


الردود في هذا الموضوع
filter في listbox - بواسطة Team dz - 01-01-2023, 12:01 PM
RE: filter في listbox - بواسطة larbiparadox - 01-01-2023, 06:19 PM
RE: filter في listbox - بواسطة Team dz - 01-01-2023, 09:10 PM
RE: filter في listbox - بواسطة Agmcz - 02-01-2023, 12:09 AM
RE: filter في listbox - بواسطة Team dz - 02-01-2023, 10:07 AM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم