?
Solved

drag n drop of a activex control

Posted on 2003-03-28
3
Medium Priority
?
183 Views
Last Modified: 2012-06-21
Using dhtml I am able to give drag n drop feature to html elements. I want to do same things to ocx controls in web page is it possible ? please help me.
0
Comment
Question by:sjayendra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
SWortham earned 500 total points
ID: 8226054
<html>
<head>

<script language="JavaScript">
function Move()
{
//  I don't know how you do the dragging of elements, but here is how you can move everything inside the <div> tag:
//  MyActiveXControl.style.top = MyMouseX;
//  MyActiveXControl.style.left = MyMouseY;
}
</script>

</head>
<body onload="Move()">

<div id="MyActiveXControl" style="position:absolute; top:0px; left:0px; z-index:50">
<!-- INSERT ALL THE CODE FOR THE ACTIVEX CONTROL HERE -->
</div>

</body>
</html>
0
 
LVL 58

Expert Comment

by:Gary
ID: 9183398
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer by SWortham

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
GaryC123
EE Cleanup Volunteer
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question