Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Dear all,
In my design, I utilize listboxs to preform item choosing:
In my database the data are grouped as, say A, B, C
and then subgrouped as A1, A2, B1, B2, B3, C1, C2, C3, C4
In the listbox1 A,B,C is listed for choosen to listbox2 by Click Event
for i=1 to this.listcount
if this.selected(i)=.t.
thisform.listbox2.additem(this.value)
this.removeitem(i)
endif
endfor
In my design, I want to do like that:
Another listbox3 automatically add items as listbox2's listitem is changed, say:
If listitem of listbox2 is A,B;
the listitem of listbox3 will be refreshed to A1, A2, B1, B2, B3
and if listitem of listbox2 is C
the listitem of listbox3 will be refreshed to C1, C2, C3, C4, and etc.
and if listitem of listbox2 is blank, listbox3 will be blank.
How can I do that and is there any alternative?
Regards,
Ransome
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement