View unanswered posts | View active topics It is currently 2018-09-19 22:36



This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
 twaver web3.0 消息框怎么设置 
Author Message
新手上路

Joined: 2012-03-01 11:57
Posts: 43
Post twaver web3.0 消息框怎么设置
大家好:

问下twaver web3.0 消息框怎么设置,代码怎么写?
ResizableNode ele = new ResizableNode();
ele.putMessageContent("2222");
ele.putMessageComponent(TWaverConst.MESSAGE_COMPONENT_LABEL);

这么写,页面上根本不呈现图形,这个代码应该怎么写,谢谢!


2013-05-13 9:42
Profile
TWaver开发组
User avatar

Joined: 2012-07-27 17:20
Posts: 50
Post Re: twaver web3.0 消息框怎么设置
dawei.wang wrote:
大家好:

问下twaver web3.0 消息框怎么设置,代码怎么写?
ResizableNode ele = new ResizableNode();
ele.putMessageContent("2222");
ele.putMessageComponent(TWaverConst.MESSAGE_COMPONENT_LABEL);

这么写,页面上根本不呈现图形,这个代码应该怎么写,谢谢!


你好,你要让它可见:
node.addAttachment(TWaverConst.ATTACHMENT_MESSAGE);


2013-05-13 10:54
Profile
新手上路

Joined: 2012-03-01 11:57
Posts: 43
Post Re: twaver web3.0 消息框怎么设置
用上面的方法,已经解决,谢谢各位!


2013-05-13 12:53
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron