Hi all,
I've modified the madalformexample app in order to create my calendar alike B4A's anotherdatepicker,I declared this in the class module(jThaicalendar) by generate members clicked belows:
Public Sub Show As Paint
frm.ShowAndWait
'Return colorsMap.Get(lstColors.SelectedItem)
If lblSelectedDay.Text <> "" Then
Return lblSelectedDay.Text
End If
End Sub
A String is not a Paint. You should either convert it to a Paint or change the return type to String.