使用PageTitle
PageTile用于给页面加上标题。
添加PageTitle的语法是:
AddPageTitle(ParentID, ID, Title, SubTitle)
ParentID | 父容器的ID,如果是顶层对象,设置为""即可。 |
ID | PageTitle的ID。 |
Title | 标题。 |
SubTitle | 副标题。 |
一个例子
HttpRequest事件代码:
Select
Case e.Path
Case "test.htm"
Dim wb
As New WeUI
wb.AddPageTitle("","ph1","FoxUI","为Foxtable用户量身设计")
wb.AddForm("","form1","test.htm")
With wb.AddInputGroup("form1","ipg1")
.AddInput("xm","户名","text")
.AddInput("pw","密码","password")
End With
With
wb.AddButtonGroup("form1","btg1",True)
.Add("btn1",
"确定",
"submit")
End With
e.WriteString(wb.Build)
End
Select
下图是通过手机浏览显示的效果: