Moving objects at runtime

0
0

Hi, probably easy question but I need to be able to move custom objects arround on a usercontrol. I’ve ported a WinForms project to WiseJ but when running it has a terrible delay (though it works). I need the position to be updated as fast as if I were to move controls arround with “Movable” property set to true.

 

I have a project which has a large image with a dozen shapes which can be moved and resized arround (somthing like Microsoft Visio). The moving and resizing is way to slow at runtime. I guess it has to do with the delay between server/client update. Is there a way to only update the server when the moving is done? I’ve tried looking into the documentation but failed to find any information on this.

If this would be possible, this would open up a lot of new ideas for us!

Thanks

Vincent

  • You must to post comments
0
0

Thanks, I’ve tried this approach but this is for controls. I’ve basically created a canvas which draws shapes and handles mouse events to move and resize shapes. The shapes are not controls.

I did find out that setting the background color of a panel to transparent it actually is transparent. This might mean I can throw away my legacy code and just use panel or any other control. I can place these over an image and still be able to see trough the panels and see the underlying image. This would not be possible in Winforms.

Thanks !

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.