Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jun 2004
    Thanked 0 Times in 0 Posts

    ListView Control repositions (Excel10)

    I have a listview control on page 3 of a multipage control. I add items to the listview control from page 1 and those items get correctly added; however, after doing so the listview control gets repositioned on to the top left corner of page 3. I have tried moving it back to its original position after items are added but that failed to work. Even while the listview control is in the top left corner, the top and left properties indicate erroneous values of 54 and 183.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 28 Times in 28 Posts

    Re: ListView Control repositions (Excel10)

    There is a problem in the way the tab/multipage control and the listview (and treeview) control interact. If you refer to a listview or treeview on one tab page from another tab page, the listview/treeview jumps to the upper left corner of the form, or becomes blank, or both. There does not seem to be a fix for this, although some people have reported that old versions of MSComCtl.ocx (the file that provides the functionality of the listview and treeview controls) do not exhibit this behavior. So you must either avoid referring to the listview control from other tab pages, or avoid this combination of controls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts