Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement