:sign0013: stund me...
Dim cd As CustomDialog
Dim btn1 As Button
btn1.Initialize("btn1")
btn1.Text = "Press me"
pnl.AddView(btn1, 80dip, 50dip, 60dip, 60dip)
ret = cd.Show("B4A Custom Dialog", "Yes", "No", "Maybe", Bmp)
My button on my panel were all created in the designer, generating members (and the click member). I have to remove the panel from activity and attach it to the custom. The only thing I see is I don't "btn1.Initialize("btn1")" in design mode. Could this be why I do not raise the click event for my button?
Thanks