- Jun 6, 2020
- 11,559
- 4,422
I figured out a way to tweak Activity_Click and Activity_KeyPress in B4XPages.
The first thing you will do is make in the B4XPage the controls you want to use public. Then in Main Activity you just add this. The code is created for Activity_Click but it can be easily manipulated to handle the keycodes in each page if this code is placed in Activity_KeyPress and change the handling code in each case.
B4X:
The first thing you will do is make in the B4XPage the controls you want to use public. Then in Main Activity you just add this. The code is created for Activity_Click but it can be easily manipulated to handle the keycodes in each page if this code is placed in Activity_KeyPress and change the handling code in each case.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید