CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: combobox height

  1. #1
    Join Date
    Jan 2000
    Posts
    2

    combobox height

    I am working on an access form. I have a combo box that i am using to get a value from a table and then display the proper name, but i dont want the user to be albe to drop the combo box height down. Is there a way to disable the combobox height?


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: combobox height

    If you don't want to use to Drop the List, why not use a different control, like a Textbox?

    Alternatively you can set the Locked Proerty to true, the USer can srill drop the list, but can't select anything.

    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

  3. #3
    Join Date
    Jan 2000
    Posts
    2

    Re: combobox height

    The problem with the textbox is that i have support tables on my database. So lets say you are picking a person, they have a primary key of one, but the column that is displayed would be the actual name of the person.so column one is hidden and column two is displayed but the value is really column one. this is a common thing in access and im not sure how to get the same functionality in a text box.


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

Featured