本文介绍了在记事本GUI中创建行号列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人可以帮我这个忙.我试图创建一个编程记事本,但发现创建行号"列很困难.我需要的实际功能是使其滚动与程序员在其中编写代码的文本框"一致.我试图用一个滚动条(如果您有主意)来控制2个文本框",但是那是行不通的(1个文本框用于保存行号,另一个用于编写代码).我尝试使用拆分面板",但是它也不起作用.有任何想法吗?

谢谢.

Please can someone help me with this. I''m trying to create a programming Notepad but I''m finding it difficult to create the ''Line Nos'' Column. The actual functionality i need is for it to scroll in line with the ''Textbox'' where the programmer writes code. I''m trying to control 2 ''Textboxes'' with one scroller (if you get the idea) but that''s not working (1 textbox to hold the line nos and the other for writing code). I tried using a ''Split Panel'' but it didn''t work either. Any ideas?

Thanks.

推荐答案


这篇关于在记事本GUI中创建行号列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 16:48
查看更多