Sometimes you need to change the size of controls by changing the size of a container. For example, try this:
Private Sub Form_Resize() Picture1.Align = vbAlignLeft Picture1.Align = vbAlignTopEnd Sub
Every sizing event that changes the form’s size also changes the size of the picture box. Make sure that the control you want to resize has the align property.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.
Related Posts
- Nvidia’s significant growth driven by AI and GPU demand
- Report: Windows 10 Will Feature a New Browser
- Embarcadero Unveils RAD Solution Pack, the Complete VCL and FMX Component Solution for RAD Studio, Delphi and C++Builder
- Understanding the Behavior of the AUTO_INCREMENT Column in MySQL
- Three Letters That Are Key to Driving Digital Transformation: A-P-I























