[Gambas-user] Drag & Drop Question?

Steve Starr comtux at ...626...
Sun Aug 21 09:35:57 CEST 2005


I am trying to move a button like so.

<---Code--->

PUBLIC SUB Button1_MouseMove()

Button1.X = Mouse.X
Button1.Y = Mouse.Y

END

<---The Question--->
But the button widget jumps around when i drag it how could i keep the
button that i want to drag from jumping around?

<---What i plan to do with the answer--->
What i am trying to do is drag widgets around on a form and depending
on where i drop them will depend on what html/css values are written
out.
So once you are done draging and droping your widgets and you save
your project you can then view the results in html format with the
webbrowser component.

Thanks to all who reply :)




More information about the User mailing list