General information
Category:
Coding, syntax & commands
Title:
Comboboxes- I love em (RIGHT)!
Is it just me, or are there some really wierd things going on with comboboxes in VFP5? I tried to make a simple combobox, with a rowsourcetype of 0, that adds items from a cursor by scanning each record and adding the item. I set the style to combobox, because the user needs to add a value if not in the list, or if the list is empty. I found that the typed in value didn't work, it disappeared when things were refreshed. The list values showed fine when chosen from the list. So I tried adding the item to the list, but i was checking displayvalue against the list to ensure that i didn't add an item that was already in the list. It turns out that displayvalue has some gibberish characters in it. I have run into so many problems with comboboxes in the past, that I am just about ready to give up on the idea of using a combobox all together. Has anyone got an idea of how I can let my users select an item from a list OR add their own value?
TIA!!!
Next
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