Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects SHOW prematurely??
Message
 
 
À
22/11/1998 23:21:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00160393
Message ID:
00161395
Vues:
24
Are you calling SetFocus() anywhere in the init of the form or the init of objects? I find that this makes forms appear before Show() is called. It is as if items need the form to be visible before they can really receive focus.

>Why is it that, in the following code, the form is displayed prior to the line with SHOW?
>
>oOptionClass = CREATEOBJECT("OptionBaseClass")
>oOptionClass.SHOW
>
>I add a WAIT WINDOW 'stop here' between the two lines and the form displays before the wait window...
>
>There's nothing in the class definition that displays the form, what else could cause this?
>
>TIA
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform