Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very dense form doesnt always show all objects
Message
De
15/05/1997 14:01:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00032444
Message ID:
00032460
Vues:
41
>Hi,
>My form is very dense (VFP3). It has 128 TextBoxes and several dozen Line Shape objects (Its a family tree that goes back 6 generations).
>Sporadically, it doesnt always display all the lines I drew.
>Do I need to make sure the form complets its build before I actually make it visible? Can I do this?
>I used to do an Activate Window NoShow in FPW26, build my window, then Acti Window again.
>How do I do it in VFP3. Is there a limit to the number of objects in a form?
>
>Thanx, John

It sounds like you build your form objects on the fly. If this correct, then you could do the following:

oForm = CREATEOBJECT("theForm")
*** put code here to build tree ***
oForm.Show()

Your form would need to be a class (or use a class) and the variable oForm must stay in scope (declare public or whatever).

HTH!
-Doug-
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform