Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active object name
Message
 
 
À
23/06/2010 15:37:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01470216
Message ID:
01470348
Vues:
30
>the f2 key is labeled in the menu and is redirected to a methode in the form. there i look to the status of the data form. If this dataform is in normal status then i launch the search methode on the form if the form is in modify status than i lauch the search methode on the object with
>
>LOCAL loSearchObject
>
>IF TYPE("_Screen.ActiveForm.ActiveControl")=="O"
>
> loSearchObject = _SCREEN.ACTIVEFORM.ACTIVECONTROL
>
> IF PEMSTATUS(loSearchobject,'searchformmethode',5)
> _screen.ActiveForm.activecontrol.searchformmethode
> ENDIF
>ENDIF
>
>and that is sometimes working sometimes not....

Change for now just a check (instead of checking for the object check for object's name = 'C').

See if this resolves your problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform