From: Jeremy W. <jez...@ho...> - 2011-03-07 14:52:40
|
> Is there a way I can have an object which I can put a set of components > on and have them move around a window as a unit? Yes. See below. > I've read through Rob May's tutorial at > <http://rob.themayfamily.me.uk/perl/win32-gui/scrollbars>, which shows > how to make a label move around in response to scroll bars, but I'd like > to know if I can simply replace the label with something which has my > components arranged on it in the same way they would be on a window, but > could be moved around the actual window to give the same effect? The > components are derived from a database query, so I can't easily use a > smaller "something". Create a child window then add the controls you need. Move the child window when you need it to scroll. Regards, Jeremy. |