hi all
i'm on 3.70
using this code :
i get this error
in the line :
i'm on 3.70
using this code :
Sub dp_pt_spn_dob_FocusChanged (HasFocus As Boolean)
If HasFocus = False Then
Dim date As Long
date = DateTime.DateParse(subDP3.GetDatePickerText(True))
i get this error
Error occurred on line: 288 (Main)
java.lang.NullPointerException
at b4j.example.datepicker._getdatepickertext(datepicker.java:64)
at b4j.example.main._dp_pt_spn_dob_focuschanged(main.java:3085)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:593)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:228)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:158)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
in the line :
what am i missing ?date = DateTime.DateParse(subDP3.GetDatePickerText(True))