Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Worked In VFP3, but not in VFP6
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Worked In VFP3, but not in VFP6
Miscellaneous
Thread ID:
00153706
Message ID:
00153706
Views:
57
In my messagebox I determine how wide the form should be based on the length of the message. I use an autosizing label. In the INIT of the Form I have some code that basically does the following:

Thisform.Pageframe1.page1.lblMsgBox.caption=myCaption
IF thisform.pageframe1.page1.lblMsgBox.width > 150 etc ...

In VFP3 this works, in VFP6 it does not. Using the debugger, lblMsgBox.width gives 'expression cannot be evaluated' in VFP6, while in VFP3 it shows the correct value. Does anyone know why this would be? Thanks in advance.

Marcus.
Reply
Map
View

Click here to load this message in the networking platform