>Actually what I have in mind is that I don't have any object in the pageframe (blank), it will have automaticaly when everytime I click the contains in the menu.
You can add objects programmatically with AddObject(), but you will also have to remove them again, with RemoveObject().
You can have an empty ListBox, or Grid, and load any desired contents - for example, in a list, with AddItem(). You don't need a PageFrame for this, although it can be useful in some cases. This would work something like this:
with ThisForm.LstMyItems
.Clear()
.AddItem("First item in list")
.AddItem("Second item in list")
endwith
... except that instead of putting fixed texts, as in this example, for greater flexibility you might load items from a table.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)