introduction
- 更多控件用法,请参考 here 和 源码。
- 本文的代码基于这里
- RichEdit的更多用法,请参考源码中RichEdit.h提供的函数,RichEdit控件,可以定制为多种多样的形式,其公开的函数很多,本文仅演示密码和只读。
xml文件添加代码
基于上一篇, 继续向basic.xml中添加下面关于RichEdit的代码。 xml完整源码在文末。
<!--第二行控件开始-->
<!--第二行控件开始-->
<HBox height="85">
<VBox>
<HBox>
<RichEdit class="simple input" name="rich_edit_1" text="输入演示" height="30" margin="0,3" padding="6,6,6" promptmode="true" prompttext="Single line text control" promptcolor="lightcolor"/>
<CheckBox class="checkbox_font12" name="rich_edit_readonly" text="read only" margin="0,5,0,10"/>
</HBox>
</VBox>
</HBox>
这里,创建了一个RichEdit控件和一个CheckBox按钮。
2995


之RichEdit&spm=1001.2101.3001.11974&articleId=133059657&d=1&t=3&u=e235cc59d8194c3a9cc1a565f67e08ea)

被折叠的 条评论
为什么被折叠?



