Discorez Member Licensed User Longtime User Apr 24, 2011 #1 This code (with Door lib) causes an exception: B4X: Obj.New1(False) Obj.FromControl("TextBox1") Msgbox(Obj.GetProperty("LineCount"))
This code (with Door lib) causes an exception: B4X: Obj.New1(False) Obj.FromControl("TextBox1") Msgbox(Obj.GetProperty("LineCount"))
Z Zenerdiode Active Member Licensed User Apr 24, 2011 #2 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.
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.