VB Combo Box Pull Down Portion Won't Move with MDIChild Parent

ID Number: Q83802

1.00

WINDOWS

buglist1.00

Summary:

The drop-down portion (the list) of a combo box will not move with an

MDI Child control if the combo box is placed on the MDI Child control

and the the combo box list is dropped down. Although the drop-down

list does not move with the MDI, it still functions correctly, and you

can select items in the list.

Microsoft has confirmed this to be a problem with the MDI Child custom

control supplied with Microsoft Professional Toolkit for Microsoft

Visual Basic programming system version 1.0 for Windows. We are

researching this problem and will post new information here as it

becomes available.

More Information:

If you place a combo box with a style of either Dropdown List(2) or

Dropdown Combo(0), clicking on the arrow of the combo box will display

a list box with additional items of the combo box. If you place a

combo box of this style on an MDI Child, the list portion of the combo

box will not move in this state if you move the MDI control.

Steps to Reproduce Problem

--------------------------

1. Run Visual Basic, or from the File menu, choose New Project (ALT,

F, N) if Visual Basic is already running. Form1 is created by

default.

2. From the File menu, choose Add File. In the Files box, select the

MDICHILD.VBX custom control file. The MDI Child tool appears in the

Toolbox.

3. Add an MDI Child control to Form1.

4. Place a combo box on the MDI Child control.

You will need to add items to the combo box so that you will get a

drop-down list box. In the Form_Load event, add the following code:

Combo1.AddItem "Item one"

Combo1.AddItem "Item two"

Combo1.AddItem "Item three"

5. Press F5 to run the program.

6. Click on the arrow button of the list box. You should

see a drop-down list box with the three strings you added in

the Form_Load event.

7. While the list portion of the combo box is still visible, click on

the MDI Child control's caption bar with the mouse and drag the MDI

Child control to another portion of the screen. You should see the

edit field of the combo box move with the MDI Child control. The

list box portion of the combo box will stay where you had displayed

it initially.

Additional reference words: 1.00 MDIChild