Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventbinding to a property
Message
From
04/02/2016 05:24:04
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
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:
01630807
Views:
49
>>>>If I AEVENT - EVALUATE in eventhandler, I simply can EVALUATE in otherpropuser. This is lesser EVALUATE.
>>>>The idea was to not EVALUATE at all.
>>>>
>>>>Lutz
>>>
>>>
loBinder=CREATEOBJECT("binder")
>>>BINDEVENT(_SCREEN, "caption", loBinder, "bound")
>>>_screen.Caption = _screen.Caption+" "
>>>
>>>
>>>DEFINE CLASS binder as Custom
>>>
>>>*---------------------------------------------------
>>>	PROCEDURE BOUND()
>>>*-- dn 2016/02/04
>>>		SET STEP ON
>>>		AEVENTS(aE, THIS)
>>>		oSrc=aE[2]
>>>		lcP=aE[3]
>>>		luVal=GETPEM(oSrc, lcP)
>>>		?luVal
>>>ENDDEFINE
>>>
>>
>>
AEVENTS(aE, 0)
to get the caller :)
>>Is get Pem betterr then EVAL?
>
>Note that according to Help, GetPem() is only available at design time.

oops.

takk
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform