The loop in this method is a bit weird. When the best fit is found, the loop continues but does nothing. IMO it should break instead, or fill the remaining array elements with defined values. When both MaxCount and PartialWidths are Nil, the loop must not even be entered. DoDi