Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a value through a BindEvent method
Message
From
05/05/2011 01:36:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Return a value through a BindEvent method
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01509568
Message ID:
01509568
Views:
120
Hello,

I have an object on a form which has a method that should return a value. I don't want to type
RETURN THISFORM.GetValue()
but instead I tried to use BINDEVENT to do that:
BINDEVENT(THISFORM.Container,"GetValue",THISFORM,"GetValue")
Is there a way to get teh value returned by THISFORM.GetValue() to get returned by THISFORM.Container.GetValue() ?

Then I can avoid putting any specific code into this method which makes my container much easier to re-use.
Christian Isberner
Software Consultant
Next
Reply
Map
View

Click here to load this message in the networking platform