Android Question Change colors - colorpicker dialog

ilan

Expert
Licensed User
Longtime User
Hi

The colorpicker dialog will popup with 15 different colors.
Is it possible to change those colors? So i can show in the dialog my 15 favorite colors?

Thanx
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

ilan

Expert
Licensed User
Longtime User
Thank you for your answer erel.

I have made my own color dialog although i have a quetion regarding wait for function.

I am not sure if i should create a new thread its a very small question

I have in my dialog 2 buttons.
Ok and cancel

"Ok" will call the sub from the calling activity. "Cancel" will only close the dialog. So my question is if i call wait for but there won't be a call back will it wait for ever until there is a call back?

Should i call that event also with the cancel button so the wait for will continue ?

Thank you
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
So my question is if i call wait for but there won't be a call back will it wait for ever until there is a call back?
It is not actively waiting so nothing bad will happen. However if you are not raising an event when the user presses on the cancel button then your program cannot react to this action.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…