Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activecontrol
Message
From
21/07/2001 04:11:23
 
 
To
16/07/2001 08:06:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00530617
Message ID:
00533461
Views:
21
Marcia,
I think I am not able to explain you what exactly my problem is. Let me explain you the scenario in detail.
I am using a form named BaseForm as a template to create another forms. In the new form, I am trying to provide the master file lookup for certain fields with the help of textbox.Name. I am writing the code in the keypress event of the BaseForm so that it can be used in any form as is it. With the help of your previous message (which I have marked as ‘answer’), I could send the name of the active textbox to the LookUp Form.
DO FORM LookUp WITH Thisform.Name, Thisform.Activecontrol.Name TO m_Returned
<\PRE>
Now, I want to assign m_Returned to textbox.value. So, the next line in the keypress event says 
<PRE>
Thisform.Activecontrol.Value = m_Returned 
This line generates the error that Activecontrol is not an object.

Regards,
Yashodhan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform