Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hmm...
#11
jsventor Wrote:Heres where I put it, in Picscreen code, but I also have click to move so I had to edit, whenevr I put .show it sais method or data not found, heres the code



Code:
If MouseCheck = True Then
            If Button = 2 Then
            If LblMenu.Visible = True Then
            LblMenu.Visible = False
                XToGo = (X + (NewPlayerX * PIC_X)) / PIC_X
                YToGo = (Y + (NewPlayerY * PIC_Y)) / PIC_Y
                Call CheckMapGetItem
            ElseIf LblMenu.Visible = False Then
            LblMenu.Show
            End If
            End If
           End If


I've noticed you make 'LblMenu.Visible = False' if the label is already showing and make no allowance for it to be shown again, the 'LblMenu.Show', or 'LblMenu.Visible = True' as it should be is part of the 'ElseIf' and will be stepped over if LblMenu is visible.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)