Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding Events?
Message
 
 
To
26/04/2000 02:38:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00363461
Message ID:
00363478
Views:
15
>Hi:
>
>In VFPCOM there is a method to Bind events.
>What does Binding Events do?
>
>TIA
>
Mal,
You can create VFP objects with methods with the same name as those of ActiveX COM objects. When you bind these two objects together, code in your object will run.

A good (IMO) application for this is version independence. If you drop an ActiveX control on a form, the end user must have the same version of the ActiveX control or errors can occur. With BindEvents, you AddObject() the end usre's vesion of the control to your form and bind its events to a custom class already on the form.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform