Results 1 to 5 of 5

Thread: Data Combo API

  1. #1

    Thread Starter
    Fanatic Member vb_dba's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere aloft between the real world and insanity
    Posts
    1,016

    Data Combo API

    Is there an API call that will widen the dropdown list of a datacombo? I've seen examples of the SendMessage API widening the list of a combobox, but this doesn't work for a datacombo.

    Thanks,

    Chris
    Chris

    Master Of My Domain
    Got A Question? Look Here First

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Not that I know of, but then, I never ever use bound controls. Why a datacombo instead of a standard combo box?

  3. #3

    Thread Starter
    Fanatic Member vb_dba's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere aloft between the real world and insanity
    Posts
    1,016
    I have a list of sku's. I want to display to the user a sku description, but when I run my query to retrieve the information for that sku, I want use the sku number instead. Can I accomplish this with a combo box without adding something like a case statement to my code or another join to my query?

    The Datacombo allows me to do this. I can set the ListField as the description and the BoundColumn as the number. When I search, I just use the BoundText value. No case statement, no extra join. The only problem is that you can't see a complete description.

    I guess I'll have to find another way out.

    Thanks,

    Chris
    Chris

    Master Of My Domain
    Got A Question? Look Here First

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Could you do what you want using a ListBox?

    If so, and if the entry was too long to read completely, there is code to display the item the mouse is over in a tooltip.

    Just a suggestion.

  5. #5

    Thread Starter
    Fanatic Member vb_dba's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere aloft between the real world and insanity
    Posts
    1,016
    I don't know. I'll try it and see.

    Thanks
    Chris

    Master Of My Domain
    Got A Question? Look Here First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width