Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior. Need Help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00597484
Message ID:
00597500
Vues:
12
Total WAG, but maybe the reference to THISFORM is changed by the WAIT WINDOW. I'm not sure when the WITH object reference is resolved, but it may not be until it's first used, as opposed to at the WITH line.

You could try storing the THISFORM to a variable and using the variable in your WITH.

>In the Resize of my form I have:
>
>
>WITH ThisForm
>
>  WAIT WIND "Resize!" NOWAIT
>
>  .cntActionBar.Height = .Height - 30
>  .shpSplitter1.Height = .Height - 1
>  .cntTreeView.Height = .Height - 1
>  .shpSplitter2.Height = .Height - 1
>  .pgfPages.Height = .Height - 1
>  .pgfPages.Width = .Width - .shpSplitter2.Left - 2
>
>ENDWITH
>
>RETURN
>

>
>The Wait Window displays, but none of the objects are being resized.
>
>I also put a Wait Window in the Resize of the cntActionBar and it does
>NOT display. So why aren’t my controls resizing????
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform