【PB】如何实现单击文本框时选中所有内容

来源:互联网 发布:淘宝掌柜热卖在哪里 编辑:程序博客网 时间:2024/06/03 19:20
 1、创建单行编辑框的自定义单击事件 ue_clicked() ,Event ID 为 pbm_bnclicked :
this.selecttext( 1, len( this.text ) )

2、getfocus事件的代码为:This.Post Event ue_clicked()

原创粉丝点击