Hi everybody
I have created sort of a different userform which is not an actual userform, but shapes and textboxes placed in an specific draworder that makes the whole thing looks like an userform buf with a different look (let's just say that I wanted to change the looks on the usual userforms).
Instead of userform.show I change the visible property on the shapes to make it looks like an userform poping out.
I have made everything works on it so far, and it's looking great. The last implementation I wan't to do is to make it movable. To that, something like this is needed:
left button down event {
capture cursor position
compare with the shape area pixels
case intersected store old cursor position
}
left button release event {
if variable with old cursor position is set then {
capture cursor position on releas mouse button
compare new cursor position with stored old cursor position and do the whole position change
}}
Is there any way to do that (btw, the whole algorythm above is just some random idea I had, maybe it's just bullshit. Feel free to change it to the right way, or the easy way.)
Later I might create some cool stuff such as making the whole "userform" invisible and create a temporary semi transparent shape that follows the mouse while left mouse button is down to simulate the drag window effect.
Thanks for your attention.
Bookmarks