View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default HELP!!! problem with list boxes

Is the IntegralHeight property of the listbox set to True.

If it is and you still have the problem, then perhaps it is a bug due to
internal cumulative roundoff error in the control.

--
Regards,
Tom Ogilvy


"marsou" wrote in message
oups.com...
Hello,

I am experiencing some weird problem with my list box.
The data is added to the list box dynamically from code using AddItem.
After the entry is added I am selecting it in order to show always the
last entered data.
The problem is the following: on some heights of the listbox the last
selected data becomes hidden behind the bottom border of the listbox.
It is obvious that there is data, but I cannot see it neither by
scrolling nor by arrow keys. The funny thing here that this behavior
very much depends on the height of the listbox. If it is something
about 232 I see this behavior. If it is about 76 - everything works
fine.
Did someone see something like this? Or maybe I am doing something
wrong?
Please help me - it is really confusing.

TIA
marsou