开发者

Pass parameter from page to ActiveX

开发者 https://www.devze.com 2022-12-30 04:02 出处:网络
<object id=\"Bacs_DBTableRepX\" classid=\"CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41\" codebase=\"Bacs开发者_C百科_DBTableRepX.cab\"
    <object id="Bacs_DBTableRepX"
     classid="CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41"
     codebase="Bacs开发者_C百科_DBTableRepX.cab"
        style="
        Z-INDEX: 102; LEFT: 20px; WIDTH: 1200px; 
        POSITION: absolute; TOP: 80px; HEIGHT: 600px">
        <param name="ax_Command" value='<%=GetText()%>'/>
    </object>

Here is my try but it made no sense. Parameter had not being sent.

Is there any examples how to sent parameter to my ActiveX or some mistakes in my code ?


Your html code looks like correct, here is a sample:

http://www.w3schools.com/TAGS/tag_object.asp

I would try to set a breakpoint to the property getter and check whether it is called. Getters are always called before setters during control initialization. If it is not called, probably you forgot to add your prop to property map or something like that…

0

精彩评论

暂无评论...
验证码 换一张
取 消