Jumbofile Posted August 27, 2012 Author Share Posted August 27, 2012 when i put in this tut [http://www.touchofde…page__hl__world](http://www.touchofdeathforums.com/community/index.php?/topic/121876-eo20-world-map/page__hl__world)i get compile error: case without select case and it highlights```Case vbKeyHome```I just noticed i made in wrong thread, please move. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 27, 2012 Share Posted August 27, 2012 you're putting it outside of the select case. Put it under where it says to in the tutorial. Link to comment Share on other sites More sharing options...
Jumbofile Posted August 28, 2012 Author Share Posted August 28, 2012 i have another problemit saysCompile error: invalid attribute in sub or functionit highlights the public in```Public Map As Integer```this is my sub```Private Sub Form_Load()Public Map As IntegerMap = Player(MyIndex).MapIf Map = 1 ThenArrow1.Visible = TrueEnd IfIf Map = 2 ThenArrow2.Visible = TrueEnd IfIf Map = 3 ThenArrow3.Visible = TrueEnd IfIf Map = 4 ThenArrow4.Visible = TrueEnd IfIf Map = 5 ThenArrow5.Visible = TrueEnd IfIf Map = 6 ThenArrow7.Visible = TrueEnd IfIf Map = 7 ThenArrow8.Visible = TrueEnd IfIf Map = 8 ThenArrow8.Visible = TrueEnd IfEnd Sub``` Link to comment Share on other sites More sharing options...
JohnPony Posted August 28, 2012 Share Posted August 28, 2012 ```Dim Map as integer``` Link to comment Share on other sites More sharing options...
Jumbofile Posted August 28, 2012 Author Share Posted August 28, 2012 how do i set the rectangles visibility to false? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 29, 2012 Share Posted August 29, 2012 > how do i set the rectangles visibility to false?```component.Visible = False``` Link to comment Share on other sites More sharing options...
Jumbofile Posted August 29, 2012 Author Share Posted August 29, 2012 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