Android Question PreferencesDialog

roberto64

Active Member
Licensed User
Longtime User
Hi, I'm using PreferencesDialog with B4XTable, adding a field in B4XTable with Time (from PreferencesDialog) all ok using as command "Period and Orap = ($" $ 2.0 {t.Hours}: $ 2.0 {t.Minutes} "$)" but when I make a change that opens PreferencesDialog it gives me error period.
a solution?
regards
 

Mahares

Expert
Licensed User
Longtime User
but when I make a change that opens PreferencesDialog it gives me error period.
For instance if the time you had is 13:25 and you want to change it in the preference dialog, say to 19:46, you need to save it as a period:
B4X:
Dim p As Period
    p.Hours= 19
    p.Minutes= 46
    Options1.Put("Time", p)
Your change will appear as 7 46 pm when you open the dialog.
By the way, you are not showing what the error is. You need to have a better description of your problem.
 
Upvote 0
Top