Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing drive letter to form
Message
From
31/12/1998 19:28:29
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172019
Message ID:
00172031
Views:
56
>>>>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
Map
View

Click here to load this message in the networking platform