Sub btnBGcolor_Click
Dim cd As ColorPickerDialog
Dim color As Int 'not used anywhere?
cd.RGB = Colors.DarkGray
ret = cd.Show("B4A ColorPicker Dialog", "Yes", "No", "Maybe", Null)
ToastMessageShow(ret & " : " & cd.RGB, true)
" -1:167,769,61" 'is the toastmessage returned added by me
activity.color=colors.??????? 'added by me
End Sub