How to Perform In-Place Activation on an OLE ControlID: Q148642 3.00 WINDOWS kbinterop kbhowto The information in this article applies to:
SUMMARYWhen you add an OLE control to a Visual FoxPro form, you can force the control to have the focus and immediately be the object that receives keystrokes. This is called in-place activation. This article demonstrates two methods you can use to activate an OLE container control in this manner.
MORE INFORMATION
Two Techniques to Activate an OLE Control1. Determine if the object will respond to the OLE DOVERB activation 2. If the object does not respond to the DOVERB method of activation,
Step-by-Step Example to Demonstrate Both Techniques1. Create a new form. Place an OLE container control with an object 2. Place a command button on the form with the following code in the
3. Save and run the form.
Additional reference words: 3.00 inplace in-place KBCategory: kbinterop kbhowto KBSubcategory: FxinteropOle
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |