Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing drive letter to form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172019
Message ID:
00172028
Views:
60
>>>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.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform