|
-
Aug 19th, 2000, 10:25 AM
#1
Thread Starter
New Member
In a DHTML-application I use an ActiveX-control. In DHTML itself I can change the style-propeties, but from within VB6 the style propeties can be accessed in design time (auto-complete and so on), but during run-time it results in an 'object does not support this method or propety'
So in HTML-page:
<OBJECT Classid= ID=ActiveX etc..
and in VB-sub:
ActiveX.style.Top = 0
This doesn't work. What's wrong or How can I change the position and z-order in a different matter from within an VB-sub?
thanks!! Bart
-
Aug 22nd, 2000, 01:48 AM
#2
Thread Starter
New Member
Using a <DIV>-tag solves the problem
<DIV ID=idDiv>
<OBJECT class=activeXclass ID=ActiveXID style="width:100%;height:100%;position:relative">
<PARAM....>
</OBJECT>
</DIV>
now idDiv.style.Top = 0 works fine
only problem is that VB6 IDE doesn't support to place the DIV-tag around the ActiveX object.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|