General information
Category:
Coding, syntax & commands
Hi all, I have these 2 problems with my combobox and i just hope some of you can shed some light as to why they are happening...
define class myform as form
:
add object mycombobox as combobox with;
rowsourcetype = 6, rowsource = 'part.partname', style = 2
procedure mycombobox.init
set order to tag partname in part
endproc
:
enddefine
1) When the combobox gets the focus, i can press the Spacebar and the combobox's list will be dropped-down. I can then use my arrow keys to move up or down and make my selection of the part names that appear in the list by pressing Enter. But if i try to select a part name from the list using the mouse, i can but then i cannot use the keyboard the way i describe earlier anymore. The drop-down list from the combobox closes back if i try to press any arrow key. Anybody have any idea what is going on?
2) The second problem is, if i run the same program in another computer, i cant use the arrow keys to move up and down, instead, if i press the down arrow key, the list of part names in my combobox jumps straight to the last part name and then my program hangs. but i dont encounter the problem on other computers. Does this problem have anything to do with the hardware? The PC with the problem does have a lower RAM.
Thanks a lot
Susan
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only