>Is there a quick and easy way of turning off the redrawing of a listbox while items are being added programatically? The listbox I have is in a toolbar so the LockScreen doesn't help. I'm tempted to use the LockWindowUpdate API call, but there must be an easier way that I'm just not seeing.
>
>TIA,
>
Dale,
Toolbars also have a LockScreen property. At least they do since VFP 5.0 adn in 6.0 it actually works.
Short of that you could set the Itemforecolor and itembackcolor both to white while you fill the list.