>>Hi All
>>
>>I have been working on a combo class that I want to do some processing based on what the user is typing. I put some code in the InteractiveChange method and was having problems with the first character typed. So I decided to go to the least common denominator and tested the base class.
>>
>>I added a textbox and a combo to a form. In the combo I added this code:
>>
>>thisform.text1.value = this.displayvalue
>>
>>When I run the form I get this:
>>
>>combo.display textbox.value
>>a
>>ab ab
>>abc abc
>>
>>It seems that the first character is not in displayvalue until the second character is typed. This only happens the first time the combo is used. Any ideas?
>>
>>I am using vfp7 sp1
>>
>>Thanks.
>
>I've duplicated your test above & see the same effect in V6 SP5.
>
>No idea on why the first char is skipped - but if the BoundTo property is set to .T., then it works as expected.
Len
I see the same. Something about the boundto that fixes the problem. I din't even have a controlsource set in my test.
Thanks for the help.
Précédent
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