Golf Posted May 2, 2013 Author Share Posted May 2, 2013 Hi everyone I made a small but I think useful tutorial. Allows you to change the size of your screen**EO 2.0 & 3.0****Only Client Side**Go to **picOptions** and add one label and one **scrollbar**name it l**blScreen** and **sclScreen**Now click on **sclScreen** and paste this> If sclScreen.Value = 0 Then> > End If> > If sclScreen.Value = 1 Then> > lblScreen.Caption = "Bigger"> > picScreen.height = 394> > picScreen.width = 490> > picBank.height = 394> > picBank.width = 490> > picTrade.height = 394> > picTrade.width = 490> > End If> > If sclScreen.Value = 2 Then> > lblScreen.Caption = "Big"> > picScreen.height = 404> > picScreen.width = 500> > picBank.height = 404> > picBank.width = 500> > picTrade.height = 404> > picTrade.width = 500> > End If> > If sclScreen.Value = 3 Then> > lblScreen.Caption = "Biggest"> > picScreen.height = 414> > picScreen.width = 510> > picBank.height = 414> > picBank.width = 510> > picTrade.height = 414> > picTrade.width = 510> > End If> > If sclScreen.Value = 0 Then> > lblScreen.Caption = "Normal"> > picScreen.height = 384> > picScreen.width = 480> > picBank.height = 384> > picBank.width = 480> > picTrade.height = 384> > picTrade.width = 480> > End IfGo to **frmMain.Load** and paste this> sclScreen.Max = 3> > sclScreen.Min = 0And that's all Thanks ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)Small Tutorial with easy codes Link to comment Share on other sites More sharing options...
abhi2011 Posted May 3, 2013 Share Posted May 3, 2013 Nice tutorial. It would be nicer to allowing scaling.(I am not sure but won't resizing picScreen mean that you will have to change MAP_X and MAP_Y)Also use Select statement rather than If statements. Link to comment Share on other sites More sharing options...
Golf Posted May 3, 2013 Author Share Posted May 3, 2013 Thank you. I will try to do a better tutorial soon Link to comment Share on other sites More sharing options...
Gottofwar Posted June 5, 2013 Share Posted June 5, 2013 where the hell is picOptions only part im confused on Link to comment Share on other sites More sharing options...
abhi2011 Posted June 5, 2013 Share Posted June 5, 2013 Depends on which engine you use. But it is in frmMain. Find picOptions from the dropdown menu in the properties window. Choose it. You'll see a blue boxes on the screen. Right-Click one of them and press bring to front. Link to comment Share on other sites More sharing options...
vqoley Posted June 9, 2013 Share Posted June 9, 2013 confused.. where is the **frmMain.Load?** Link to comment Share on other sites More sharing options...
abhi2011 Posted June 10, 2013 Share Posted June 10, 2013 frmMain = formLoad = Sub. Link to comment Share on other sites More sharing options...
soulsoldier2 Posted August 7, 2013 Share Posted August 7, 2013 what is sub sorry im a noob Link to comment Share on other sites More sharing options...
jcsnider Posted August 8, 2013 Share Posted August 8, 2013 A Sub is a chunk of code. To find the sub, open up frmMain in VB6… double click on the form to enter code view and then use CTRL+F to find "frmMain_Load". 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