Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two combobox questions.
Message
From
19/02/2002 09:44:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00600980
Message ID:
00621905
Views:
13
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()

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
Previous
Reply
Map
View

Click here to load this message in the networking platform