Thread View: comp.lang.basic.visual
2 messages
2 total messages
Started by asd987
Fri, 02 Jul 2004 10:56
too much to fit in a form
Author: asd987
Date: Fri, 02 Jul 2004 10:56
Date: Fri, 02 Jul 2004 10:56
17 lines
2148 bytes
2148 bytes
Hi, I have a problem displaying images on a form. The situation is a follows: There is a folder containing cd-covers. I want to display them on a form. Each time I open the form the folder must be scanned to check which cd-labels are present. I know how to scan the folder (For i = 0 To File1.ListCount - 1) and I know how to display the picture (image(i).Picture = LoadPicture(File1.List)i))). While loading I change Top and Left when necessary. Problem is there are more pictures than that can fit on my form. Is it possible to create a form with a vertical scrollbar or something so that all pictures fit? The effect is than like a HTML-page which size changes with the amount of content. Thanks
Re: too much to fit in a form
Author: Rick Rothstein
Date: Fri, 02 Jul 2004 13:18
Date: Fri, 02 Jul 2004 13:18
25 lines
2638 bytes
2638 bytes
> I have a problem displaying images on a form. The situation is a follows: > There is a folder containing cd-covers. I want to display them on a form. > Each time I open the form the folder must be scanned to check which > cd-labels are present. > > I know how to scan the folder (For i = 0 To File1.ListCount - 1) and I know > how to display the picture (image(i).Picture = LoadPicture(File1.List)i))). > While loading I change Top and Left when necessary. > > Problem is there are more pictures than that can fit on my form. Is it > possible to create a form with a vertical scrollbar or something so that all > pictures fit? The effect is than like a HTML-page which size changes with > the amount of content. See if the information at this link helps you any... http://support.microsoft.com/default.aspx?scid=kb;en-us;186429 Rick - MVP
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads