Foxtable(狐表)用户栏目专家坐堂 → [求助]空行丢失


  共有2109人关注过本帖平板打印复制链接

主题:[求助]空行丢失

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107807 积分:548386 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/9/4 14:11:00 [只看该作者]

我测试没有问题,请上传实例说明

Select Case e.Path
    Case "test.htm"
        Dim wb As New WeUI
        If e.PostValues.Count > 0
            FileSys.WriteAllText("C:\Table.Txt", e.PostValues("tear"), True)
            msgbox(e.PostValues("tear"))
        End If
        wb.AddForm("","form1","")
        wb.InsertHTML("form1","<div style='text-align:center;'>")
        wb.InsertHTML("form1","<textarea name='tear' id='tear' class='weui_textarea' rows='28' style='white-space:nowrap;color:blue;'>" & "" & "</textarea>")
        wb.InsertHTML("form1","</div>")
        With wb.AddButtonGroup("form1","ctngrp1",False)
            .Add("cbtn1", "确定", "submit")
        End With
        
        e.WriteString(wb.Build)
End Select

 回到顶部