How to use getline1number

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,

I am doing this:

Dim phone1 As Phone
Dim edphone As EditText
...

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
If FirstTime Then edphone.Text=phone1.GetLine1Number

End Sub

Getline1number creates an error. In the documentation it is under the header "Members". I probably do not understand those. Please help.

Thank you!

Peter
 

derez

Expert
Licensed User
Longtime User
GetLine1Number belongs to PhoneId object, not Phone.
Change to : Dim phone1 As PhoneId
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
Thank you, I already found it. Now I also know how to read the documentation. Your laibraries are great :)
 
Upvote 0
Top