SRL Archive - C#/Visual Basic Help and Tutorials

Need help with VB


BobboHobbo

2008-08-08 01:55:23

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

2008-08-08 09:10:08

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

2008-08-08 11:07:52

Actually, I think there is a setting in the toolbox or whatever it's called that AutoSizes it..I can't remember.

Waddo

2008-08-12 22:02:18

possibly use simple maths
to work out the scale of the enlargement

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