[Wish] Designer Script - MaxHeight / MaxWidth

barx

Well-Known Member
Licensed User
Longtime User
It would be nice to have a 'MaxHeight' and 'MaxWidth' in designer scripts.

e.g.

Code: Copy
MaxHeight(Height as int, FixTop as Boolean) 'If FixTop is True the button top stays same and bottom moves, Else Bottom fixes and top moves down
Code: Copy
button1.SetTopBottom(Panel1.Bottom, 100%y) 'button sizes to fill bottom of screen from bottom of Panel above
button1.MaxHeight(150dip, False) 'button will grow to a max of 150dip and will always sit on bottom of screen

Same sort of thing for MaxWidth
 
Very Nice,

Your always one step ahead.
 
Back
Top