method Rollist.BeginUpdate ()
Maintains performance when items are added to the control one at a time.

 TypeDescription 

The BeginUpdate method prevents the control from painting until the EndUpdate method is called. 

The following sample prevents control from painting while user adds a new item:

 With Rollist1
        .BeginUpdate
            With .Add("New <b>item</b>", 1)
                .BackColor = vbBlue
                .ForeColor = vbWhite
            End With
        .EndUpdate
End With

Send comments on this topic.
© 1999-2007 Exontrol Inc, Software. All rights reserved.