Information générale
Catégorie:
Codage, syntaxe et commandes
>>is the object in question based on a ocx file?
are you using a ole control? perhaps you did not
include the ocx file in the project?
I am using VFP3. I have a project done with all the forms and tables done. When I compile the program to an EXE it compiles fine. However when I run my program, anytime a form hits a line "thisform.whatever" it gives me an error message that "thisform" is not an object. The thisform is the form name..
>>
>>Any suggestions???
>>
>>thanks,
>>bob
>
>Bob, are you using the "thisform.whatever" in a PRG? If so, you will have to pass the form name of the form calling the PRG as a parameter.
>
>If this is not the case, check to make sure you have the correct hierarchy. For example a textbox on a page frame would be called as
>
>thisform.MyPageFrame.Page1.MyTextBox.value
>
>Of course you'll have to put the correct names for the pageframe, page, etc.
>
>HTH
>Barbara
Précédent
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