PDA

View Full Version : Need help with VB



BobboHobbo
08-08-2008, 05:55 AM
I want to know how like if you maximize the screen everything enlarges its self with it.

Like for SCAR if u drag the bottom of the screen it like enlarges scar making everything bigger, I tryed searching on google but i dont know what to search, everything came up with things that i dont want.

THanks.

Nexhou
08-08-2008, 01:10 PM
The code is very easy, first you must see how u meen by ''enlarged'', such as if the Hieght is 1200 then u can use this

Sub form_load ()
if form1.height = 1200 then cmdtest1.height = 120

and so on, but the problem will be how big the users can make it

TViYH
08-08-2008, 03:07 PM
Actually, I think there is a setting in the toolbox or whatever it's called that AutoSizes it..I can't remember.

Waddo
08-13-2008, 02:02 AM
possibly use simple maths
to work out the scale of the enlargement

or make it so there % and are easy to do.