Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two combobox questions.
Message
De
19/02/2002 09:43:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00600980
Message ID:
00621904
Vues:
11
Hello Sergey,
back to your reply again. Why wouldn't combobox readjust itself? I mean, what would be the reason that it doesn't?
What I did is put this code in the DropDown Event:

vp_cAccount_no = ALLTRIM(THIS.TEXT)
REQUERY('lv_coa_combobox')
this.DisplayCount = _tally
ThisForm.Text1.Value=STR(_tally) + "-" + STR(this.DisplayCount)
this.DisplayValue = caccount_no
DODEFAULT()ENDSCAN

It only works fine the first time(let say it returns 10 records). The second time(let say it returns 2 records) the list has 8 empty spaces. On the third time(let say view returns 8 records) there is some kind of small black arrow appears in the list and all I can see is the two records from the second attempt. It looks like there is not enough time to readjust the list.
Wrong event? I've tried DownClick, same result. It's driving me crazy!
Any advise, Sergey? Anything at all?
Regards
Igor
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform