- Dec 12, 2022
- 357
- 2
In my old app I used the following statement:
B4X:
where TMM_Run was an activity.
With B4XPages it is now a B4XPages class. If I translate the code to:
B4X:
the logs give me the following error:
B4X:
I'm not aware that Sub Globals is valid in a B4XPages class. The format for the nNotify is
B4X:
Obviously the B4XPage class is not an activity. What should the notify method be?
B4X:
nNotify.SetInfo("The Music Machine", Message, B4XPTMM_Run)
where TMM_Run was an activity.
With B4XPages it is now a B4XPages class. If I translate the code to:
B4X:
nNotify.SetInfo("The Music Machine", Message, B4XPages.MainPage.TMM_Run)
the logs give me the following error:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
B4X:
n.SetInfo(Title as Charsequence, Text as CharSequence, Activity as Object)
Obviously the B4XPage class is not an activity. What should the notify method be?
برای دیدن لینک ها باید ثبت نام کنید