Dec 222017
 
Find cursor position and line number in Visual Basic 2 text boxes.
File LINENO.ZIP from The Programmer’s Corner in
Category BASIC Language
Find cursor position and line number in Visual Basic 2 text boxes.
File Name File Size Zip Size Zip Type
EDITDEMO.FRM 3511 1070 deflated
EDITDEMO.MAK 87 81 deflated
EDITDEMO.TXT 368 246 deflated
TPCREAD.ME 199 165 deflated

Download File LINENO.ZIP Here

Contents of the EDITDEMO.TXT file


EditDemo

By George Campbell

This demo program shows how to get the current cursor position and line number from an edit control. In VB 1.0, this was impossible without doing a serious kludge by using a timer to press a key.

In 2.0 it's easier, and here's how to do it.

This info is in the public domain.

George Campbell
President
OsoSoft
71571,222


 December 22, 2017  Add comments

Leave a Reply