Information générale
Titre:
Worked In VFP3, but not in VFP6
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement