本文介绍了关于通过属性文件(语言)换行 - 不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI团队,



我尝试多次使用htmltext&文本两者,但毕竟我无法在换行符中更改字符串,

我使用了< br />,\ n,\\\\ n但不能正常工作。请帮忙。



Ex。

IN A.Property文件:帮助:帮助< br /> ;同样的。



IN Contact.mxml:

HI Team,

I tried many times for line break via Property file with using htmltext & text both but after all i unable to change the string in line break,
I used <br/>,\n,\r\n but not working. Please help.

Ex.
IN A.Property File : HELP : Help <br/> for the same.

IN Contact.mxml :

<mx:VBox height="100">
  <mx:Label fontWeight="bold" htmlText="{resource.getCoreString('HELP')}"/>
  </mx:VBox>





请帮忙。



谢谢。



问候

Pramod



Please help.

Thanks.

Regards
Pramod

推荐答案

HI Team,

In Application Adobe Flex & Asp.Net

IN Adobe Flex : I tried many times for line break via Property file with using htmltext & text both but after all i unable to change the string in line break,

I used <br/>,\n,\r\n and Build Flex and then Run the Asp.net Application but not string is not line break. Please help.

Ex.
(Adobe Flex)IN A.Property File Code: HELP : Help <br/> for the same.

IN Contact.mxml :
Hide   Copy Code
<mx:VBox height="100">
  <mx:Label fontWeight="bold" htmlText="{resource.getCoreString('HELP')}"/>
  </mx:VBox>

Please help.

Thanks.

Regards
Pramod


这篇关于关于通过属性文件(语言)换行 - 不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 00:20