帮助请询问有关文本框的问题 [英] help please question about textbox

查看:113
本文介绍了帮助请询问有关文本框的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的文本格式设置为

消息ID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
消息日期:x/xx/xx
消息时间:x:xx xx
收件人:( xxx)xxx-xxxx
转发至:(xxx)xxx-xxxx

消息ID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
消息日期:x/xx/xx
消息时间:x :xx xx
收件人:(xxx)xxx-xxxx
转发至:(xxx)xxx-xxxx

消息ID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
消息日期:x/xx /xx
消息时间:x:xx xx
收件人:(xxx)xxx-xxxx
转发至:(xxx)xxx-xxxx

在文本框中.该文本框足够大,可以显示1条短信的信息.

在光标停留在消息ID:"之前,当我按下/向上时,如何显示下一个/上一个信息?

抱歉如果尚不清楚!

i have text formatted like

Message ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Message Date: x/xx/xx
Message Time: x:xx xx
To: (xxx) xxx-xxxx
Forward To: (xxx) xxx-xxxx

Message ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Message Date: x/xx/xx
Message Time: x:xx xx
To: (xxx) xxx-xxxx
Forward To: (xxx) xxx-xxxx

Message ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Message Date: x/xx/xx
Message Time: x:xx xx
To: (xxx) xxx-xxxx
Forward To: (xxx) xxx-xxxx

in a textbox. the textbox is just big enough to display info for 1 text message.

how do i make it to display info for the next/previous when i press down/up while the cursor stays before the "Message ID:"?

sorry if im not clear!

推荐答案

cworkman,

使用文本框实现此解决方案需要一些工作.您为什么不尝试使用datagridview替代方法,而是将可见区域设置为一个单元格.希望这个想法对您有帮助,

最好的问候,
Praneeth
Hi cworkman,

implementing a solution for this using the text box requires some work. Why dont you try an alternative by using a datagridview to by making the visible area to one cell. Hope this idea helps,

Best Regards,
Praneeth


这篇关于帮助请询问有关文本框的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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