Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Automation
Message
De
10/07/2002 22:53:39
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox Automation
Divers
Thread ID:
00677366
Message ID:
00677366
Vues:
65
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
Fil
Voir

Click here to load this message in the networking platform