Results 1 to 11 of 11

Thread: [RESOLVED]moving error

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    226

    Resolved [RESOLVED]moving error

    VB Code:
    1. Private Sub cmdmmove_KeyPress(KeyAscii As Integer)
    2.         If KeyAscii = 97 And picleftmale.Visible = True Then
    3.         frmupchar.Left = frmupchar.Left - 100
    4.         picleftmale.Visible = True
    5.         picbackmale.Visible = False
    6.         picfrontmale.Visible = False
    7.     ElseIf KeyAscii = 115 And picleftmale.Visible = True Then
    8.         frmupchar.Top = frmupchar.Top + 100
    9.         picfrontmale.Visible = True
    10.         picleftmale.Visible = False
    11.         picbackmale.Visible = False
    12.     ElseIf KeyAscii = 100 And picleftmale.Visible = True Then
    13.         frmupchar.Left = frmupchar.Left + 100
    14.     ElseIf KeyAscii = 119 And picleftmale.Visible = True Then
    15.         frmupchar.Top = frmupchar.Top - 100
    16.         picbackmale.Visible = True
    17.         picleftmale.Visible = False
    18.         picfrontmale.Visible = False
    19.     End If
    that code is to make the frm move but the problem is it doesnt want to move anymore. maybe its bacause i have a **** load of stuff on the form. im not sure but ill leave the form so u can take a look
    Last edited by Ebiru; Apr 10th, 2006 at 05:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width