Results 1 to 3 of 3

Thread: Form going crazy HELP!!!

  1. #1

    Thread Starter
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510

    Angry

    I have added the following code to my WORKING program:

    If Z! < 0 Then
    frmMain.Picture1.Line -(X!,Y!)
    else
    frmMain.CurrentX = X!
    frmMain.CurrentY = Y!
    End If

    My program started doing crazy things like changing the borders of labels, making none of the buttons or menu items accessible. When I STEP through the program it works fine, but when you run it on it's own, it's like it skips stuff, but it is executing the code, just not updating the form ANY HELP?!?!?! PLLEEEEZZZZZ!!! This is so crazy....and i can't fix the damn thing, except to comment out the above code....then it works....but I need this code to draw! HELP!! I'm floundering....killing myself even!

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Nothings wrong with that code, you need to specify the problem more and post more code, what event are you using that code in?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Member
    Join Date
    Dec 1999
    Posts
    41
    Use Refresh method of the frmMain i.e
    frmMain.Refresh after u r done changing values of x & y

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