Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>I followed the VFP suggestion for passing a value to a form
>>>>I created a property on the form main.inDrive, and then in the init of the form set the inDrive property to the parameter passed in (do form main with 'q'). This hasn't worked, any suggestions.
>>>
>>>Display the code in the init.
>>
>>parameters lcdrive
>>this.indrive = lcdrive
>
>Shouldn't the last line above be thisform.indrive.value=lcdrive?
>If indrive is an object on the form, from the init code window of the form, rightmouse click and select the object list to navigate to the indrive, then complete the syntax.
No. Its an added property to the form.
This.indrive in init is equivalent to Thisform.indrive
Précédent
Suivant
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