drag and drop button or image

Hi Sir,

I’m looking for a solution where internet USER can able to move BUTTON anywhere on the screen and retain its position when BROWSER REFRESH?
Please help.

Have you checked the Xojo example projects for drag and drop?

You will have to save the coordinates somewhere, in a session variable for example.

That won’t work. Refreshing causes a new session to start.

thanks for the reply.

I’m working with draggable seating arrangement for a test project. That’s why I am challenged on how to deal this with xojo.

Add to your app the notion of case number. Then save the state of that case number (position of the seats) in a database at the end of the session.

Next time the user wants to access that case, he punches the number, and you restore the state of your webPage from the database.