Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active object name
Message
 
 
To
23/06/2010 15:37:57
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01470216
Message ID:
01470348
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform