Form within a picture box??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Woof-Woof

    Form within a picture box??

    Hi,

    I have an application which displays a form with bar graph data on it.
    What I need to do is string 30 of these bar graph forms vertically in
    a picture box or some other container so I can scroll the 30 forms
    vertically in sort of a "film clip" like method.

    Can anyone give a little insight into what, if any, container is
    capable of holding 30 different form objects each with its own data?

    I was hoping a picture box could be loaded with a form object, then
    add scroll bars to move vertically through the "film clip".

    Thank you for your ideas.



    ---
    Allen



  • J French

    #2
    Re: Form within a picture box??

    On Sun, 4 Jul 2004 17:17:40 -0700, "Woof-Woof" <otie_nospam@co x.net>
    wrote:
    [color=blue]
    >Hi,
    >
    >I have an application which displays a form with bar graph data on it.
    >What I need to do is string 30 of these bar graph forms vertically in
    >a picture box or some other container so I can scroll the 30 forms
    >vertically in sort of a "film clip" like method.
    >
    >Can anyone give a little insight into what, if any, container is
    >capable of holding 30 different form objects each with its own data?
    >
    >I was hoping a picture box could be loaded with a form object, then
    >add scroll bars to move vertically through the "film clip".
    >[/color]

    Look into UserControls
    They are like Forms - but can be placed on Forms, Pictureboxes etc


    Comment

    • Randy Birch

      #3
      Re: Form within a picture box??

      None. VB does not support the showing of forms inside other forms or
      containers. It is possible with SetParent, but you will soon tire of the
      issues this technique raises. Why not bitblit the graph from the forms to
      an array of pictureboxes on the main form, and use those as the flip clip?
      Or create the bar graphs directly in each the parent form's picturebox
      control array (if the bar graph's container can be specified).

      --

      Randy Birch
      MVP Visual Basic

      Please respond only to the newsgroups so all can benefit.


      "Woof-Woof" <otie_nospam@co x.net> wrote in message
      news:h61Gc.4165 1$6r1.25552@fed 1read06...
      : Hi,
      :
      : I have an application which displays a form with bar graph data on it.
      : What I need to do is string 30 of these bar graph forms vertically in
      : a picture box or some other container so I can scroll the 30 forms
      : vertically in sort of a "film clip" like method.
      :
      : Can anyone give a little insight into what, if any, container is
      : capable of holding 30 different form objects each with its own data?
      :
      : I was hoping a picture box could be loaded with a form object, then
      : add scroll bars to move vertically through the "film clip".
      :
      : Thank you for your ideas.
      :
      :
      :
      : ---
      : Allen
      :
      :
      :

      Comment

      Working...