|
-
Jun 6th, 2000, 11:41 PM
#1
Thread Starter
Hyperactive Member
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!
-
Jun 7th, 2000, 01:17 AM
#2
transcendental analytic
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.
-
Jun 7th, 2000, 01:53 AM
#3
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|