把oracle的clob型字段content的内容取出来后,用messagebox显示换了行,放到mle_1里,却不自动换行了
integer li_id
string ls_temp
li_id=this.getitemnumber(currentrow,"id")
select content into :ls_temp from HW_DICT1 where id=:li_id using sqlorcl;
messagebox(string(li_id),string(ls_temp)) //这里文本显示出来都很正常,也换了行
mle_1.text=ls_temp //在编辑框内是连续显示的(只勾vscrollbar属性)
------解决方案--------------------
把mle_1的autoh和autov都去掉,点上vscroll,让它强制出现竖滚动条试试。