-
Hi,
It seems that you can't place any objects over a ListView even when you specify the zorder of that object as 0.
I'm trying to accomplish the following:
If the ListView has no data, I want a label to appear near the top center of the empty ListView which says "There are no items in this view.", kinda like Outlook Express does when there is no email in a folder.
Is there any way to accomplish this?
Thanks,
Dan
-
<?>
Use an if statement in your load.
if filelen(mysourcefile) = "" then
load a different listview
no columns, one item: "Sorry, the listview source is empty", centered
else
load the regular listview stuff with your source.
endif
-
My suggestion
When I load a listview with many itens (over 500) I display a label while, and I do this?
lbl.move lvw.Top, lvw.left, lvw.Width, lvw.Height
lbl.Visible=True
lvw.Visible=False
Note: In the label.caption you can put any message that use want!
Jefferson