View Single Post
  #3  
Old 03-16-2005, 08:59 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Thank you.
It works 90 % fine.
When the user klicks on the graphOnWall Checkbox again, before the projection-surface is completely up, the graphs get put in the air.

I guess that is because while the projection-Surface is moved up and the user clicks the checkbox the movement is stopped => ACTION_END_EVENT is triggered, checkbox is ON and so the graphs get put in the air.

To solve this I would need to check, if the ACTION_END_EVENT occured after the surface moved down vs. up.

Sorry, solved it while writing this:
if checkboxWall.get()==1 and screenWall.get(viz.POSITION)[1]==0:
Reply With Quote