To be able to help you, you must give more explanations on :
- what your code is supposed to do
- what kind of objects imgRight and imgMargin are
- what value does X1 represent
- what is this line .Move imgRight.Left - X1 + X2
supposed to do
If imgRight and imgMargin are Images you must know that the MouseDown, MouseMove and MouseUp events are not directly available in B4PPC, you will need the Door library to get them.
Yes, imgRight and imgMargin had been the Images. But thinking I found something useful with MouseDown, MouseMove and MouseUp events, within this great Forum. At this time I am studying the Door library.
This Door lib seems quite popular.
Klaus, actually we can pass on the vb code I had posted.
Thank you for wanting to help.
I may well have missed something here, but I'd like to be able to trap mouse/stylus events within an image, rather than having to display the graphics on the form.
e.g. Image_mouseUp(x,y) instead of Form1_MouseUp(x,y)
Here you have an example on trapping the mouse events on an Image control.
I still ask my questions onece more, what do you want to do ?
If you want to draw something you should, no you MUST, use the ImageLibEx library. In that case you draw onto a BitmapEx object. This one you can copy onto the from's background, so no need of an Image control.
For that you have all you need in the http://www.basic4ppc.com/forum/tutor...-tutorial.html.
Sorry, but this still doesn't explain me what you want to do.
You posted a VB code to translate.
There were questions you didn't answer.
So what is this code supposed to do ?
Or, more generally, what TRUIdb Functions do you want ?
To be able to help, you must be more precise, otherwise it's very difficult for us to help. Explain what the function you are missing should do.
the functions that are missing is Jothas Camera version that I like to get to run in our TRUIdb APP.
The VB code to translate, is Deadwood, because I cant use. I thought I could use to show Photo Preview. I was mistaken.