Tobi, Thanks for your reply. I'm trying to embed a window running another program into a scrollview. I've added a scrollview to the form and put the embedder into the scrollview. This works but, as the embedder is larger than the scrollview it extends over the borders of the scrollview. It scrolls but, the embedder moves outside the scrollview control. It seems to me that the embedded window should scroll within the borders of the scrollview and not be seen outside its borders. Something is not right. What am I missing?
How do I access the attachment as it was scrubbed from your reply? Thanks Marty ------------------------------ Message: 4 Date: Fri, 27 Jan 2017 22:07:31 +0100 From: Tobias Boege <tabo...@gmail.com> Subject: Re: [Gambas-user] Scrollview control coding example To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Message-ID: <20170127210731.GA726@aurora.localdomain> Content-Type: text/plain; charset="us-ascii" On Fri, 27 Jan 2017, Martin McGlensey wrote: > I'm looking for an example of the use of the scrollview control. Have > spent about a week trying different approaches and web research. No luck so far. > Gambas help does not give enough detail. > > I want to embed a window into the control and scroll the contents by > using the scrollbars. This may not be the tool to use. I'm open to > suggestions as to how to accomplish this. An explicit example would be a great help. > > > > All responses are appreciated. > Attached is an example project which embeds 10 windows. There is really nothing to say about it. Just create your controls inside the ScrollView and it will add scrollbars if necessary. Anything more advanced depends on what you want to do. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/octet-stream Size: 11565 bytes Desc: not available ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user