Is it possible to show some Word Document (or Excel document) in a UniGUI Frame ?

If no-one has any better idea's you might want look at using TUniUrlFrame to open documents using javascript 



There is example at http://www.kavoir.co...es-in-html.html

but it uses activex so restricts functionality to IE



Glen





<script type="text/javascript">

    function openWord(strFilePath) {

        var yourSite = "http://www.yoursite.com";

        openWordDocPath(yourSite + strFilePath);

    }

    function openWordDocPath(strLocation) {

        var objWord;

        objWord = new ActiveXObject("Word.Application");

        objWord.Visible = true;

        objWord.Documents.Open(strLocation);

    }

</script>
    

  
     This is a simple tip that allows to display a text within an UniEdit control when it is empty (it would be great if UniEdit could have a property EmpryText to do this):

  • Just open UniEdit's ClientEvents and edit ExtEvents property
  • Add the following line in the "OnBeforerender" event:
sender.emptyText='text to display when the field is empty';

转载于:https://www.cnblogs.com/wxb-km/archive/2012/10/24/2737961.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值