-
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!
-
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 Refresh method of the frmMain i.e
frmMain.Refresh after u r done changing values of x & y