Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Worked In VFP3, but not in VFP6
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Worked In VFP3, but not in VFP6
Divers
Thread ID:
00153706
Message ID:
00153706
Vues:
56
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform