Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms docked as tabs problem
Message
De
06/06/2004 19:33:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Forms docked as tabs problem
Divers
Thread ID:
00910609
Message ID:
00910609
Vues:
70
Hello,

If two forms are docked as tabs, assuming they are accesible throught their names, some the properties set in runtime are not updated in real time for the 'unselected' form. This happens only in Command Window.

Here it the code:
PUBLIC loForm1 AS Form, loForm2 AS Form

loForm1 = CREATEOBJECT("Form")
loForm2 = CREATEOBJECT("Form")

loForm1.Dockable = 1
loForm2.Dockable = 1

loForm1.Dock(4,loForm2)

loForm1.Caption = "Grigore"
loForm2.Caption = "Dolghin"
When the forms appear, they have the correct captions. However, the above code, ran line by line in command window do not update loForm2.Caption. One must click that tab to see the update.

Not a biggie, but I think someone can be interested in that.
Grigore Dolghin
Class Software.
Répondre
Fil
Voir

Click here to load this message in the networking platform