Kinjiru Posted June 3, 2010 Author Share Posted June 3, 2010 Ok so im trying to make the pic sccren adjust its size as the client window, size is adjustedI would like it to make it to where you see more of the map instead of just zooming inI go the pic screen to resize with the window but i got a huge problem, its zoomed in so far you can see anything, how do i get it to normal resolution?Heres a pic>! http://img204.imageshack.us/img204/8263/helpe.jpgand heres the code i used added to the game form```Private Sub Form_Resize()picScreen.height = Me.heightpicScreen.width = Me.widthEnd Sub``` Link to comment Share on other sites More sharing options...
Robin Posted June 3, 2010 Share Posted June 3, 2010 Change 'Me.height' to 'Me.ScaleHeight' and 'Me.Width' to 'Me.ScaleWidth'. Link to comment Share on other sites More sharing options...
Kinjiru Posted June 3, 2010 Author Share Posted June 3, 2010 @Robin:> Change 'Me.height' to 'Me.ScaleHeight' and 'Me.Width' to 'Me.ScaleWidth'.Awesome it worked thanks robinHow hard would it be to instead of stretching, to increse the map area displayed like in the stable big client? Link to comment Share on other sites More sharing options...
Robin Posted June 3, 2010 Share Posted June 3, 2010 Not hard, just awkward to do. Link to comment Share on other sites More sharing options...
Kinjiru Posted June 3, 2010 Author Share Posted June 3, 2010 @Robin:> Not hard, just awkward to do.How would i do it? Link to comment Share on other sites More sharing options...
Robin Posted June 3, 2010 Share Posted June 3, 2010 I can't just tell you what to do. Go read through the map engine and learn it. It's something you'll have to learn for yourself. Link to comment Share on other sites More sharing options...
Kinjiru Posted June 3, 2010 Author Share Posted June 3, 2010 @Robin:> I can't just tell you what to do. Go read through the map engine and learn it. It's something you'll have to learn for yourself.Can you give me some links? or point me in the right direction? Link to comment Share on other sites More sharing options...
DocZoppaII Posted June 12, 2010 Share Posted June 12, 2010 Kinjiru can you post where you put that peice of code? I've searched everywhere but I didn't see where to put it. Thanks Link to comment Share on other sites More sharing options...
mich1103 Posted August 23, 2010 Share Posted August 23, 2010 Where do i put that code ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now