ListBox.ListCount question

When the “HasHeading” property of a listbox is set to true, does this count as a row in the listbox.

I have a method that depends on the value of listcount and it is always one more than the actual number of rows. In fact, in the Open Event of the window, I display the listbox.listcount before anything else is done and it is 1 instead of 0. There are NO rows in the Listbox, so does the heading count as a row.

thanks

No, something else is going on in your code.

Do you have an initialvalue which is a blank row at design time, then add rows at runtime?

From the user point of view, the first Row is Row 1.
From the deeloper point of view, the first Row is Row 0.