Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventbinding to a property
Message
From
04/02/2016 19:04:39
 
 
To
04/02/2016 05:11:14
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01630781
Message ID:
01630886
Views:
58
Hi Thor
GetPEM:Returns the current value for a property or program code for an event or method at design time.
Since VFP6 can, however, obtain method code from an object by using GetPEM & its Class property, as
in the following code:
LOCAL loObject, lcCode
loObject = NEWOBJECT("gpBase", HOME()+"ffc\_gdiplus.vcx")
local m.myvar
text to m.myvar textmerge noshow
    GetPEM gets Event Release in gpBase.vcx of ffc\_gdiplus.vcx
    ************************************************************
<<GETPEM(loObject.class, "guidToString")>>
endtext
_cliptext=m.myvar
messagebox(m.myvar,0+32,"method in clipboard")
Previous
Reply
Map
View

Click here to load this message in the networking platform