Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WB23] - Moving a control and knowing its position

$
0
0
Hi All

WB23 Dynamic site.

I have a template control which contains an image and a button. I have page on which i have an instance of this template control. The control can be moved by the background. The user can therefore click the control and move it around the web page. This all works fine.

The problem I have is knowing where the control has been moved to. I want to record the control's X and Y position so that I can restore the control to that position in future. However, I cannot see where I can know this information. I know that I can access the control's ..X ..Y properties but they return the default 0,0 position and not the new position the control has been moved to.

Any suggestions?

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>