Thank you Erel for you response
when Show Dialog Layout To Panel buton was click this will load another layout (2.bal) which done at CDialog class onto panel1, then there is another button Show Fruit Dialog, when clicked DialogActivity (contain 3.bal) will show up, there two option to pick, after pick one of then the error occur, here is the log:
** Activity (main) Pause, UserClosed = false **
** Activity (dialogactivity) Create, isFirst = true **
** Activity (dialogactivity) Resume **
** Activity (dialogactivity) Pause, UserClosed = true **
sending message to waiting queue (CallSubDelayed - FruitSelect_Done)
running waiting messages (1)
main$ResumeMessagerun (java line: 306)
java.lang.Exception: Sub fruitselect_done was not found.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.keywords.Common$11$1.run(Common.java:1139)
at anywheresoftware.b4a.BA.setActivityPaused(BA.java:437)
at b4a.example.main$ResumeMessage.run(main.java:306)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
if everything ok, there should be two toast message