Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activecontrol
Message
De
21/07/2001 04:11:23
 
 
À
16/07/2001 08:06:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00530617
Message ID:
00533461
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform