|
-
Sep 24th, 2000, 01:35 PM
#1
Thread Starter
Frenzied Member
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
-
Sep 24th, 2000, 01:49 PM
#2
_______
<?>
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
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 24th, 2000, 05:36 PM
#3
Registered User
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|