473,769 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Jul 17 '05 #1
2 2962
On Sun, 4 Jul 2004 17:17:40 -0700, "Woof-Woof" <ot*********@co x.net>
wrote:
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".


Look into UserControls
They are like Forms - but can be placed on Forms, Pictureboxes etc
Jul 17 '05 #2
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
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Woof-Woof" <ot*********@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
:
:
:

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3187
by: smjmitchell | last post by:
Hi All, I am a relative newcomer to programming in VB. I am developing an application which has dozens of forms on which I need to plot graphs in Picture boxes. I have written a number of routines to help in plotting graphs as follows: 1. Plots the axes of a graph given some parameters. 2. Plots a grid given parameters.
3
3684
by: Scott M | last post by:
Hi, I am currently trying to write a simple game using vb.net the form I am working on is 800*600 (this is set as the maximum size) and autoscroll is set to true. The user moves around the screen by moving a picturebox (sprite) with the cursor keys. When the user hits the bottom of the screen I want the screen to automatically scroll down to keep the picture box in view - The screen
9
7803
by: deko | last post by:
Is it possible to store a company logo (a gif file) in a table (binary field) and have the logo appear in a form? If I insert a picture object in the form, the properties sheet of the Image control has a Picture field that takes a file path. How do I reference the gif file stored in the table? Thanks in advance.
6
9482
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run out of purchasing cover. I am nearly there, the only problem is that the code below only changes the image background for text and combo-box backgrounds, it doesn't apply it to the whole form.
4
3985
by: Jeff Griffin | last post by:
OK, this should be my last question for the day. I have spent a couple hours on google trying to figure this out but I probibly just dont know what I really need to be searching for. I have a Windows Form program that calls a web service that will return (as a string) the full url to an image hosted on an external webserver. My question is how do I then display this image in my form, or is this even possible. It seems like it should be...
6
4759
by: Rich | last post by:
Hello, I want to simulate the dynamic thumbnail display of Windows Explorer (winxp) on a form or pannel container. If I place a picture box on my container form/pannel and dimension it to the size of a thumbnail and set the sizemode to Stretch -- I get one thumbnail. I want to retrieve all the picture files (jpg, bmp) in a directory into an array list and then display this list as thumbnails on my form dynamically. So my question is...
3
3695
by: EnglishMan69 | last post by:
Hello All, I am using VB2005 Beta 2 in VS 2005 and am running into a small problem. I need to be able to add a picture box to the main form from within a thread. The program goes to a web site, performs a search based on POST variables, retrieves the code, parses the information (including a url for a thumbnail image) and displays the results. I am using threads, since the program will appear to freeze while
4
4463
by: MLH | last post by:
Setting form's Picture property to another file from within VBA doesn't repaint the form with new bitmap - for instance... Me.Picture = "c:\pics\MyNewPic.jpg" I tried Me.Repaint afterward, to no avail. Ideas? Suggestions?
8
3829
by: martinsmith160 | last post by:
Hi all I have a picture box placed within a panel so i can scroll across the picture due to it being very wide. My problem is I want to draw an image over the picture box when a user clicks at a desired location. I have this working but when i scroll the panel or minimise the form the drawing is wiped away. Is there a method to draw on the picture box persistantly. Any help would be hugely appreciated because ive been stuck with this problem...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.