General information
Category:
Forms & Form designer
>>>>Good day to all!!!!
>>>>
>>>>I'm hoping someone can help me with this, I'm stuck!!!
>>>>
>>>>I've got a form with a combo (drop down) box that uses a field in a table as it's source.
>>>>
>>>>I would like to have the option of typing in a value, instead of only selecting from the list. When I type a string value into the combo box and then try to use it via the controls Value property, It's blank.
>>>>
>>>>HELP!!!
>>>>TIA
>>>
>>>When Combo.Style=0, the typing string (if you type something which is not in list portion) goes to Combo.DisplayValue property, and Value is really blank.
>>
>>Thanks Edward !
>>
>>So where do the characters I enter into the edit area go when that control losses focus?
>>
>>TIA
>
>They go to combo.displayvalue property, e.g.
>** Combo.Lostfocus event
>IF Not (This.DisplayValue==This.Value)
> =messagebox("you really typed something new here")
>ENDIF
I'm using VFP 3.0 . . . . I'll try it with VFP 6 . . . Thanks again
Previous
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