PRB: Additem Does Not Add Elements to an Outline ControlID: Q128073 3.00 WINDOWS kbole The information in this article applies to:
SYMPTOMSUsing the ADDITEM method to add elements to an outline control produces no output. When the form containing the OLE object is run, only the first element of the list is displayed. No other items are visible on the list. Clicking the first element has no effect.
CAUSEThe items are added to the list, but are not visible. Their indentation level is set to 0.
RESOLUTIONUse the INDENT property of the outline control to set the indentation level for the specified item.
STATUSThis behavior is by design.
MORE INFORMATIONThere are two ways to use the ADDITEM method, with and without an optional numeric parameter. Here is what happens in each case:
For more information about the Outline control and the Properties, Events,
and Methods associated with it, search for Outline using the Visual FoxPro
Help menu.
Steps to Reproduce BehaviorThe following steps demonstrate how to use the INDENT property to display items: 1. Create a form. 2. Select the OLE Container from the Form Controls toolbox, and place the 3. The Insert Object dialog is displayed. Select the Insert Control option
4. In the Properties Sheet, select the OleControl1 object, and open the
5. Save the form, and run it.
Additional reference words: 3.00 VFoxWin OCX KBCategory: kbole KBSubcategory: FxinteropOcx
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |