Link to home
Start Free TrialLog in
Avatar of TSFLLC
TSFLLC

asked on

Use datagridview or list box - need is for multi-column, single row select

I want to modify the flexibility of my custom autocomplete.  It currently only accomodates single columns.
I am currently using a list box.  I would need to dynamically change # of rows.

Would I be better served modifying to a gridview.  However, I would like to have a divider between the
columns and no grid lines between rows.

ASKER CERTIFIED SOLUTION
Avatar of Imran Javed Zia
Imran Javed Zia
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Bit more description please. Autocomplete for what? Textbox?
Avatar of TSFLLC
TSFLLC

ASKER

Autocomplete strictly for text box usage.

Do not like the inherent autocomplete in VB.  Don't want to go there.  Like mine, but want to enhance it.
Avatar of TSFLLC

ASKER

CodeCruiser,

Have changed my mind about the autocomplete with the VB combobox.  I would like to replace my custom dropdown list to a combobox w/multiple columns.  Still need to figure out how to create multi-column dropdown where the first column (assume it's always this way) is the primary/autocomplete column.

If I need to void this posting and create a new...I will.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TSFLLC

ASKER

Sorry IJZ,

I neglected to look at those links again today.  Alot on the plate.  I realized after my last posting that they were more geared towards comboboxes.

Therefore the results are more geared to what I need after all.  Thanks CodeCruiser.
Avatar of TSFLLC

ASKER

You guys,

From looking at the links provided, each link is referring to using a custom combobox instead of the one inherent to VB.  Right?  About 40-50 forms in my application are using an existing CUSTOM autocomplete dropdown.  I'm jumping out of the kettle into the fire.

Since opening this thread I've stripped out my autocomplete listbox and re-created the fields using VB's combobox w/autocomplete.  Works flawlessly.  Now I find that VB's combobox does not accomodate multiple columns for dropdown?  Am I right?

If this is the case, what kind of #(*@ is this?  The largest software company in the world doesn't offer this in their Visual Studio?  Please tell me I'm wrong.  Not trying to be a drag, just trying to get the job done without re-inventing the wheel.

Thanks.

Avatar of TSFLLC

ASKER

Forgot something.

>>Since opening this thread I've stripped out my autocomplete listbox and re-created the fields using VB's combobox w/autocomplete.

Just in ONE of my 40-50 forms.
>The largest software company in the world doesn't offer this in their Visual Studio?

The largest company develops the tools, platform etc and any controls that they provide are a bonus. This is the reason so many companies(Devexpress, Telerik, ComponentOne etc) exist to serve such requirements.
Avatar of TSFLLC

ASKER

I can appreciate that.  I actually use one of ComponentOne's products.  And I know, where do you draw the line as to what should be basic inclusion in their product vs. more elaborate desires, but why would they not include multi-column capability if they're going to include it in a datagridview and listbox?  Just saying.
Does the componentOne control set not include the multicolumn combobox?
Avatar of TSFLLC

ASKER

It's for VB6 projects.


>> ....and any controls that they provide are a bonus.

Once the framework/platform issue is out-of-sight/out-of-mind what's more important than the components (controls) the end-user sees?

Maybe I'm a little jaded having spent 10 hrs this weekend stripping & replacing only to be up against this issue.  Guess I just need to move on.
Or may be you should have done some more evaluation of the options :-)
Avatar of TSFLLC

ASKER

Hindsight's 20-20!!  :)

Thanks.
Avatar of TSFLLC

ASKER

Both deal with a custom combobox and deserve equally although I was hoping for a workaround with the existing VB combobox.