hi there, does anyone know the reason:
I have buttons on layout 1, I paint with button background
this works fine.
if I change to layout2 and return to layout1 then,
is not yet executed - there is no error and the noteObject and noteButton and poCD_Start seem to be filled correctly...
dont know, why...
thanks for interest.
... needed to fill a map again - don't know why, but works now
I have buttons on layout 1, I paint with button background
B4X:
Dim poCD_Start As ColorDrawable ' in globals
poCD_Start.Initialize(Colors. RGB(200,120,120), 110dip) ' in Activity_Create
Dim noteObject As Object = mapNoteZuButton.GetDefault( noteStr, "c0")
Dim notebutton As Button = noteObject
notebutton.background = poCD_Start' in sub
this works fine.
if I change to layout2 and return to layout1 then,
B4X:
button.background = poCD_Start
is not yet executed - there is no error and the noteObject and noteButton and poCD_Start seem to be filled correctly...
dont know, why...
thanks for interest.
... needed to fill a map again - don't know why, but works now
Last edited: