Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with a list object.
Message
De
22/07/2002 17:05:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Problems with a list object.
Divers
Thread ID:
00681364
Message ID:
00681364
Vues:
49
Hello i have a list which i feed with the RowSOurceType:SQL and the RowSource: Select......
The code runs good but when you try to scroll it up, it unselect options in the list and others keep intact.

this is my code:
LPARAMETERS nColIndex

 WITH THISFORM
 .grid2.visible=.f.
 .txtequipo.visible=.t.
 .txtequipo.value=t

 .grid3.visible=.f.
 .list1.visible=.t.

 SELECT LICEQUIPOS.SOFTWARE FROM LICEQUIPOS WHERE;
 LICEQUIPOS.CEQUIPO=.TXTEQUIPO.VALUE INTO CURSOR;
 LICENCIASEQ ORDER BY LICEQUIPOS.SOFTWARE

   select licenciaseq
   for i=1 to .list1.listcount
     if licenciaseq.software=.list1.list(i)
       .list1.selected(i)=.t.
       skip+1
       i=1
     endif
   endfor
   .refresh
  ENDWITH
How can i solve this, what is wrong?
Thanks for your help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform