Access like Comboboxes in VB 
Author Message
 Access like Comboboxes in VB

Hi all

I want to have access like comboboxes in VB.
In the list i want to display two columns, but just bind one of them.

Does someone know how I can do this.

Brgs
Mike



Sat, 20 Nov 1999 03:00:00 GMT  
 Access like Comboboxes in VB

The dbcombo control available in VB4 allows you to do this.

--
David W. Forest
LAN Specialist
Information Technologies
Lear Corporation - Ford Division
SBN Level 2
http://www.concentric.net/~dforest/

If you're not scared, you don't understand.
 Michael Parment wrote in article =

Quote:
>Hi all

>I want to have access like comboboxes in VB.
>In the list i want to display two columns, but just bind one of them.

>Does someone know how I can do this.

>Brgs
>Mike

>=20



Sun, 21 Nov 1999 03:00:00 GMT  
 Access like Comboboxes in VB


        xMichael Parment ("Michael Parment"

                oGSV Ethics Gradient (Doug Wilson)

Quote:
>I want to have access like comboboxes in VB.
>In the list i want to display two columns, but just bind one of them.

>Does someone know how I can do this.

As far as I know you need a third-party control to do this (like the
DataCombo in Sheridan's DataWidgets).

"Since our problems have been our own creation
 They also can be overcome."

                        -- George Harrison (Cloud Nine)

* - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *

        If you are a human who wants to reply via email,
    please remove the word "SPAMBLOCK" from my email address.

* - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *



Mon, 22 Nov 1999 03:00:00 GMT  
 Access like Comboboxes in VB

Hi all

I want to have access like comboboxes in VB.
In the list I want to display two columns, but just bind one of them.

Does someone know how I can do this.

Brgs
Mike



Mon, 22 Nov 1999 03:00:00 GMT  
 Access like Comboboxes in VB

I fought with this one for a long time.  The only answers I found were to
kludge something up out of existing VB controls or find a third party
control that can do the same thing.

My solution was to create my own using a text box, command button and a
list box.  The text box and command button are laid out to look like a
combo box control and the list box is positioned directly under the 'fake'
combo box and is defaulted to Visible = False.  The text box takes user
input, the command button 'click' event toggles the 'visible' property of
the list box and the list box is filled manually with the 'columns' of
data.  The click event of the list box extracts the left 'column'  info and
drops it in the text box.  None of this is bound but probably could be with
some modification.  It's quite a bit of effort to set up but gives you
ultimate control of the look and feel.  I could e-mail you more specific
info if you're interested.

Good Luck

Gregg



Quote:
> Hi all

> I want to have access like comboboxes in VB.
> In the list I want to display two columns, but just bind one of them.

> Does someone know how I can do this.

> Brgs
> Mike



Tue, 23 Nov 1999 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Access like Comboboxes in VB

2. Populating ComboBoxes with Values from Access 97 tables?

3. VB4, Access, and comboboxes question

4. VB4, Access and comboboxes

5. populate access comboboxes from external database

6. ComboBoxes in VB

7. vb comboboxes

8. ComboBoxes & VB

9. Copy read-only liked tables

10. Visual Liking in .Net using TREE VIEW control

11. DDE and the likes

12. Likes CAT and Sport Query

 

 
Powered by phpBB® Forum Software