VB Grid Control: AddItem "Cannot Do an AddItem in a Fixed Row"

ID Number: Q81224

1.00

WINDOWS

buglist1.00

Summary:

If you use the Grid custom control's AddItem or RemoveItem method with a

negative row number, you receive the error "Cannot do an AddItem on a

fixed row" (30001) or "Cannot do a RemoveItem on a fixed row" (30000),

respectively. These error messages incorrectly specify that a row

number refers to a fixed row. These errors actually occur when a row

number is less than the minimum value allowed.

Microsoft has confirmed this to be a problem with the Grid 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:

The minimum row number allowed with the grid AddItem and RemoveItem

methods is given by the value of the FixedRows property. However, you

cannot remove all the rows of a grid.

Additional reference words: 1.00