This is really strange. I use a listbox to show an error log on a FIFO basis. The listbox is limited to 300 items by testing Listcount each time and removing the earliest item if necessary:
With mListBox
.AddItem LogItem
If .ListCount > 300 Then .RemoveItem 0
End With
This works fine on my development PC but on the target PC I only get about 45 items visible on the list!
There are about 20 lines in the box at any one time and the vertical scroll bar should allow the user to see the rest of the 300 lines. Each line is only about 20 chars long, the list is not sorted (obviously) and the IntegralHeight is set to False. Any suggestions?
With mListBox
.AddItem LogItem
If .ListCount > 300 Then .RemoveItem 0
End With
This works fine on my development PC but on the target PC I only get about 45 items visible on the list!
There are about 20 lines in the box at any one time and the vertical scroll bar should allow the user to see the rest of the 300 lines. Each line is only about 20 chars long, the list is not sorted (obviously) and the IntegralHeight is set to False. Any suggestions?