Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form on a Form

Status
Not open for further replies.

foxprogram

Programmer
Aug 31, 2004
28
HU
I would like to create a form, which contains another form(?), which is scrollable in the main form. How could I do this ? /Container, pageframe, or what ?/

(I write a photomanager app, and i would like to show pictures in the right side of a form. I don't know how many images will be on the right size, so I need to scroll that with many images)

Thank you
 
Foxprogram,

You can't do a "form in a form", nor is there such a thing as a scrollable container or pageframe. But there must be other ways of meeting your goal.

One possibility that comes to mind would be to place the images in a single-column grid. That should give you the desired result.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
foxprogram,

You may wish to reada through:

Overcome Form's Max Width & Height thread1254-908132

...not exactly what you're doing, but close enough that you should be aware of some of the limitations you'll run into. Also, in that thread a FAQ is refrenced and some code is given that will show you how to define a window inside another window and end up with a viewport. All-in-all it will probably work better if you put your images in a grid or put them within a container class and then set the container's top property according to a vertical scrollbar control. You'll see what I mean once you've read through that thread.

boyd.gif

 
Thank you guys!
I forgot this idea.

I made a single form with 3x3 images, and if more than 9 photos in a directory, I use "Next" ("Prev") buttons to reload the next 9 images :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top