Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
idea for future builds : toggle menus
#13
No, he's just saying you don't need to code exery little thing. Pictureboxes have a .Visible property which is already like a Boolean variable.

Code:
Private Sub picSpells_Click()
    picPlayerSpells.Visible = not picPlayerSpells.Visible
    If picPlayerSpells.Visible = True Then
        CallSendData("spells" & END_CHAR)
    End If
End Sub
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)