Android Question Unknown member: showcalendar (Dialogs2.94 and B4A 6.80)

vecino

Well-Known Member
Licensed User
Longtime User
Hello, I have a problem with ShowCalendar.
The problem is with the new version 6.80
I installed Dialogs2.94
The error is: Unknown member: showcalendar
What I can do?

Sample Code:
B4X:
Sub lbHasta_Click
  Dim dd As DateDialog
  dd.DateTicks = DateTime.DateParse(lbHasta.Text)       
  dd.ShowCalendar = False   '  <---  ERROR
  ...
End Sub
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hi.
What I can do?
Now I have to go back to version 6.50 to use old Dialogs :(
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hello:

ShowCalendar = True
ShowCalendar = False
 

Attachments

  • showcalendartrue.png
    showcalendartrue.png
    11.4 KB · Views: 359
  • showcalendarfalse.png
    showcalendarfalse.png
    4.6 KB · Views: 343
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hi.
It's because my client does not want the calendar to show up.
Is there any other solution?
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
I think that it is a mistake to use the Android 2.x theme. It makes your app looks old. There is also potential to all kinds of strange layout errors.
How can I change that option?
Any thread that talks about that?
I do not know the operation of that matter.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
How can I change that option?
Use a newer Theme i guess.

You can not change the behaviour from android.

What you can do is to define your own theme. But i´m not sure what exactly you can change using a own theme.. I never tried to build my own theme...

Look at https://developer.android.com/index.html for documentation
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Sorry.
I am sure that this issue has been addressed before. I tried not to repeat another thread.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hi, I can not find the thread, I saw it long ago, but I was not interested in that time. Now I can not find it.
Thank you.
 
Upvote 0
Top