Hello,
I need a bit help, if someone have a better way to move the form and can share it that would be nice.
The goal is to have under B4J a form like a Widget on B4A, this is solved in the example project attached.
But to move the form smoothly i need, if it's posible, to have another way, why ? :
- In the example with the right click it move but it's saccaded
- With the middle button it's best but it's very long, i increment movement by 1 pixel each time.
So if someone have another idea, that's welcome, thank you.
And i'm quite sure that my test code is maybe not the best way.
Sorry if there is a response to this problem, searched a lot but i didn't found any response.
Thank you, best regards.
Edit deleted the zip file: see last reply, the most smoothly code given by Stevel05 is updated in this version
I need a bit help, if someone have a better way to move the form and can share it that would be nice.
The goal is to have under B4J a form like a Widget on B4A, this is solved in the example project attached.
But to move the form smoothly i need, if it's posible, to have another way, why ? :
- In the example with the right click it move but it's saccaded
- With the middle button it's best but it's very long, i increment movement by 1 pixel each time.
So if someone have another idea, that's welcome, thank you.
And i'm quite sure that my test code is maybe not the best way.
Sorry if there is a response to this problem, searched a lot but i didn't found any response.
Thank you, best regards.
Edit deleted the zip file: see last reply, the most smoothly code given by Stevel05 is updated in this version
Last edited: