什么是“全选"代码?在vb 6.0中用于弯曲的记事本? [英] what is a code for "select all " in vb 6.0 for sinple notepad?

查看:262
本文介绍了什么是“全选"代码?在vb 6.0中用于弯曲的记事本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我启动了一个简单的记事本项目.

hi friends,

I started my project, which is a simple notepad.

推荐答案

如果您使用的是文本框控件,则需要设置选择开始和选择长度属性. br/>
以1开头,长度为框中文本的长度.

我没有VB6可以准确检查属性名称,但是伪代码将类似于;

textbox1.selstart = 1
textbox1.sellength = textbox1.length
If you are using a text box control then you need to set the select start and select length properties.

The start to 1, the length to the text length in the box.

I don''t have VB6 to hand to check the Properties Names exactly, but the pseudo code would be something like;

textbox1.selstart = 1
textbox1.sellength = textbox1.length


感谢引导我.可行.


这篇关于什么是“全选"代码?在vb 6.0中用于弯曲的记事本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆