Question PointF lose y value on some events!!!

neondragon1

New member
Joined
Mar 27, 2010
Messages
1
Programming Experience
1-3
hi all

i'm making a astoroids clone and i use pointF to store units position, but they lost y value on events like form.losefocus(i think)

Is there any ways to prevent this?:eek:

/neondragon1
 
First up, you shouldn't be using the LostFocus event for forms at all. Secondly, data isn't just spontaneously lost. We can't tell you how to avoid something that doesn't happen in the general case. If you're losing data then it's either because of a bug in your code, a bug in the Framework or some corruption somewhere, in decreasing order of likelihood. You're going to have to show use EXACTLY what you're doing and tell us EXACTLY what's happening.
 
Back
Top