Information générale
Catégorie:
Codage, syntaxe et commandes
Hi all,
I have this combobox in my form that has been giving me big headaches. I hope somebody out there knows can help me.The code goes like this:
define class myform as form
add object txtpartname as combobox with;
rowsourcetype = 6, rowsource = 'part.partname', style = 2
procedure txtpartname.init
set order to tag partname in part
enddefine
1) The combobox is working fine if i'm only using the keyboard. For example, if I press the Spacebar, the list in the combobox will drop down and I can then choose the partname from my 'Part' file using the arrow keys and by pressing 'Enter'. However, if I click on any one of the part name in the list using the mouse, i cannot use the keyboard to select part names properly anymore. The drop down list will pop back whenever i try to move up or down using the arrow keys. Is there something I missed out?
2) I run the same program on another computer with 16Mb RAM (my was 32Mb RAM) and I find that whenever I reaches the combobox and i press the spacebar so that the combobox list is dropped-down, the highlight bar jumps straight to the end of the list when I press the down arrow instead of moving down from part to part. Then the program hangs. There is nothing else i can do so i have to end task. But on my own computer, it works just fine.
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