Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active object name
Message
From
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:
01470347
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....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform