Modify the Width of the Drop Down List in a Combo Box 
Author Message
 Modify the Width of the Drop Down List in a Combo Box

The width of the combo box is smaller than the width of the text,.

I can not re-size the combo box on the form as it will not work visually.

Just need to have the list pop open wider than the combo box when it is
selected.

 I found an article about this on MSDN but it is for C programmers. Perhaps
there is already a more versatile combobox control in existance. Any
Suggestions?



Tue, 04 Nov 2003 23:20:28 GMT  
 Modify the Width of the Drop Down List in a Combo Box
Have found aother answer - simply add the MSForms 2.0 object libray for a
more flexable control


Quote:
> The width of the combo box is smaller than the width of the text,.

> I can not re-size the combo box on the form as it will not work visually.

> Just need to have the list pop open wider than the combo box when it is
> selected.

>  I found an article about this on MSDN but it is for C programmers.
Perhaps
> there is already a more versatile combobox control in existance. Any
> Suggestions?



Wed, 05 Nov 2003 00:10:07 GMT  
 Modify the Width of the Drop Down List in a Combo Box
Before you get too far with the MSForms 2.0, you may want to look it up on
the Microsoft site. These controls are for Office only and you are not
allowed to distribute them with your VB program.

Just an FYI

Rocky


Quote:
> Have found aother answer - simply add the MSForms 2.0 object libray for a
> more flexable control



> > The width of the combo box is smaller than the width of the text,.

> > I can not re-size the combo box on the form as it will not work
visually.

> > Just need to have the list pop open wider than the combo box when it is
> > selected.

> >  I found an article about this on MSDN but it is for C programmers.
> Perhaps
> > there is already a more versatile combobox control in existance. Any
> > Suggestions?



Wed, 05 Nov 2003 00:18:09 GMT  
 Modify the Width of the Drop Down List in a Combo Box
No. You should not use the MSForms controls.

1.  The file fm20.dll is not redistributable.  Your users will either have
to have MS Office installed or they'll have to download some rinky-dink
little program from MS that will install fm20.dll.  Either way, it's not a
requirement you should put on a user.

2.  The MSForms controls were not designed for use with application
development tools such as VB.  They were designed for use with VBA in MS
Office.  Thusly, there are known problems when used with VB and other
development tools such as VC++.

See the following KB articles:

PRB: "Error 7 - Out of Memory" Error Message From Visual Basic Application
Using FM20.DLL
Article ID: Q241245
http://support.microsoft.com/support/kb/articles/Q241/2/45.ASP

INFO: Usage and Redistribution of FM20.DLL
Article ID: Q224305
http://support.microsoft.com/support/kb/articles/Q224/3/05.ASP

Remember, just because a component is listed in the Components dialog box
doesn't give you automatic rights to use that component in your own
applications.  You must have a license to use and distribute it.

Mike


Quote:
> Have found aother answer - simply add the MSForms 2.0 object libray for a
> more flexable control



Wed, 05 Nov 2003 08:41:39 GMT  
 Modify the Width of the Drop Down List in a Combo Box

http://www.mvps.org/vbnet/code/comboapi/combowidth.htm
--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.


: The width of the combo box is smaller than the width of the text,.
:
: I can not re-size the combo box on the form as it will not work visually.
:
: Just need to have the list pop open wider than the combo box when it is
: selected.
:
:  I found an article about this on MSDN but it is for C programmers.
Perhaps
: there is already a more versatile combobox control in existance. Any
: Suggestions?
:
:

begin 666 Changing the Combo Dropdown Width.url
M6TEN=&5R;F5T4VAO<G1C=71=#0I54DP]:'1T<#HO+W=W=RYM=G!S+F]R9R]V


`
end



Wed, 05 Nov 2003 08:59:24 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. How do we control the width of the drop down of the combo box

2. Drop Down List Box - Drop Down portion does not always disappear after Click event

3. Creating Drop down lists (non combo boxes) in VB5 Toolbar

4. Make Combo or list boxes drop down????

5. Combo box with Multiselect (drop down list with multiselect)

6. HELP: Combo Box Drop Down List Questin, Thanks in advance

7. Inserting data into combo box with style 2 - drop down list

8. Making Combo-List Box drop-down automatically

9. Drac's questions on drop down lists in combo boxes

10. how to drop down a combo box list (newbie)

11. Drop Down Combo box with smaller down arrow icon

12. Hiding combo box border and drop-down box

 

 
Powered by phpBB® Forum Software