Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with activecontrol
Message
De
02/08/2006 12:34:44
 
 
À
02/08/2006 12:25:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01142405
Message ID:
01142475
Vues:
12
>non ho capito !!!
>anyway i get an error telling that activevontrol is not an object
>

allora dovresti avere il focus sulla linguetta della pagina.

Utilizza Thisform.ActiveControl, non ha gerarchia e ritorna il controllo attivo del form.

then you should have the focus on the tab of the page.

Uses Thisform.ActiveControl, it doesn't have hierarchy and it returns the active control of the form.

>
>>>Here is another problem !!! :-)
>>>I have a grid in the second page of a Pageframe, there is not only the grid but other controls in this page.
>>>What i'd like to do is to change page if I hit the enter key inside the grid.
>>>
>>>I would like to put code in each control of the grid so i was thinking to put it in the form's keypress event.
>>>I try to test the activecontrol and if it was the grid I did the job. But the activecontrol property daes not work in this case.
>>>I alsoi tried to put the code in the grid's keypress but it seems it does not work....
>>>What should I do ? And don't tell me I'd better try with another work :-)
>>
>>What is it the page2.ActiveControl.name and thisform.ActiveControl.name ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform