Solved

Loading form on splitter control

Posted on 1998-08-18
1
405 Views
Last Modified: 2008-02-07
We basically want to use treeview and listview controls. We want treeview on
the left side of the vbusplitter control and two listviews on the right side of
the splitter control. But ur control is not working this way. we are able to place
only two control instead of three controls which ur control is meant to support.
       _______________
         |      | List       |
      |      | View1      |      
      | Tree      |_______|      
      | View      | List      |
      |      | View2      |
      |_______|_______|
This is what we want to achieve.

      We also have one problem if u can help us then we will be highly obliged.
 We are placing this control on MDI form. The problem is, we want to load a form
in the listview1 at runtime. But form is loaded but not on listview1. It is loaded
outside the splitter control area.
      Hope u help us in solving these above mentioned problems.

Thank You,
0
Comment
Question by:Lata071698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
cymbolic earned 10 total points
ID: 1429490
Look, I have joined forms with treeviews and listviews in the past.  However, although the "form" portion looked like a form, it was actually only a picturebox for a background with child controls on it.  I could then easily overlay listviews with the form by sizing the form exactly the same as the listview, and hiding the listview, and the opposite to bring back the listview.  That way you get a pop/pop feel, and all the logic exercises itself inside of the same form, plus it's more under your control.  In fact, this app was so linked between treeview/listview and form that when you went up and down the treeview items, you saw all related items in the listview, or if the form was open, you saw the related form as the treeview item was hilighted.  This was done by dynamically creating different "forms" for each treeview item via unloading and loading controls.  There really was only one form, with base controls of each type postitoned on the picturebox, as control arrays, with control(0) for each type.  Then through load methods, and .move methods, each type of control was replicated, located, sized, and loaded with appropriate data before the picturebox was displayed.  Even the picturebox was resized if a virtual form was created (one too large to fit in the viewing window -had scroll bars)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question