VFP9: Customizing the location and size of autocomplete dropdown?

Is it possible to customize the autocomplete dropdown feature introduced in VFP 9 so that the dropdown is left aligned with and sized to the width of its parent's control

Perhaps there's a way to bindevent() to a Windows message associated with the dropdown's creation so that our applicaiton can PostMessage() a request for the dropdown to size and align itself based on our specifications

VFP9 ROCKS!

Malcolm



Answer this question

VFP9: Customizing the location and size of autocomplete dropdown?

  • RonSQL

    Hi Calvin,

    Thanks for taking the time to reply to my question. The new autocomplete functionality works great so I don't mean to sound ungrateful with my question. My reason for asking about adjusting the location and size (width) of the autocomplete dropdown is so this functionality can be esthetically integrated into my forms.

    I was hoping you might have a trick or two up your sleeve that might allow me to configure the autocomplete dropdown by either posting Windows messsages to the autocomplete control's window handle or via a Fox Construction Kit type of interface where I could customize the dropdown's appearance via an FLL

    Any further suggestions

    Thanks,
    Malcolm

  • Brock

    The autocomplete dropdown position is fixed except for RightToLeft (for Hebrew/Arabic)

    The width is autosized from the contents. It's The same menu object as the Intellisense dropdowns.

  • VFP9: Customizing the location and size of autocomplete dropdown?