Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21103

[RESOLVED] Resize a Form

$
0
0
How do I resize a Form and keep the textbox the same ratio and the Listbox always the same width but it's height is resized keeping the same ratio

Example:

ScaleMode = Pixels

Form.Width = 9390 (ScaleWidth = 618)
Form.Height = 5460 (ScaleHeight = 318)

Text1.Left = 3
Text1.Width = 423
Text1.Top = 56
Text1.Height = 211

List1.Left = 430
List1.Width = 185
List1.Top = 56
List1.Height = 238

As the Form is resized I want the width and height of Text1 to resize and I want the Listbox to resize in height only keeping it's width always the same and it's left the same distance from the textbox

Viewing all articles
Browse latest Browse all 21103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>