Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open form in pageframe
Message
De
28/10/2010 10:24:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/10/2010 10:11:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01487122
Message ID:
01487382
Vues:
53
>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 && the ListBox
  .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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform