Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms docked as tabs problem
Message
From
06/06/2004 19:33:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Forms docked as tabs problem
Miscellaneous
Thread ID:
00910609
Message ID:
00910609
Views:
72
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.
Reply
Map
View

Click here to load this message in the networking platform