General information
Category:
Forms & Form designer
>>>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only