Hi,

I'm trying to have FMain automatically adjust its size according to its sole
(for demonstration) child control PictureBox1. The PictureBox1 itself is
AutoResize = True and gets a big Picture. (Attached is a little project.)

What happens is that PictureBox1 resizes accordingly, so I thought I set
FMain.AutoResize = True but FMain does not react to the growing PictureBox1.
The interplay between AutoResize, Expand, the parent's Arrangement and a
PictureBox' Stretch has always been obscure to me. Does anyone have a
solution?

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

Attachment: form-autoresize-picturebox-0.0.1.tar.gz
Description: Binary data

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to