How to get TextBox lines count?

Discorez

Member
Licensed User
Longtime User
This code (with Door lib) causes an exception:

Code:
Obj.New1(False)
Obj.FromControl("TextBox1")
Msgbox(Obj.GetProperty("LineCount"))
 
The property you should be requesting is "Lines" rather than "LineCount" and I think it returns an array where each element is the contents of the line.
 
Back
Top