Check file #
1044 and file #
9548 in Download section.
>We are trying to make the VFP 6.0 ComoBox control behave similar to the VB equivalent with minimal method code.
>
>Setup as follows:
>RowSOurce - TableAlias.FieldName
>RowSourceType - 6-Fields
>Layout - DropDown Combo
>IncrementalSearch - TRUE
>InterActiveChange Event - we've played with different types of procedures.
>KeyPress - played with this, played with others.
>
>Have Set _DBLCLICK to .5, 1.0, others
>
>In the GotFocus Method we have:
>keyboard "{ALT+DNARROW}"
> this.keypress()
>
>This allows the dorp down to open the field list on placing the cursor in the textbox.
>
>Problems:
>
>1. As you type characters in the texbox area, the listbox scrolls/finds the matching records. But, if you type the SPACE bar the listbox closes, you then have to click the down arrow to open it again, then start data entry again.
>
>2. When you type a character, the textbox fills with the matching record/field column and the entire fields contents. We want only the characters typed to be present in the textbox area of the combo box.
>
>I think we can right gobs of code to handle this but, does anyone have any suggestions?
>
>Thanks,
>
>ALfred Menendez
--sb--