Hi everybody.
Firstly, I am new to Basic4Android but have some experience with Power Basic for Windows. I have followed the first two examples in the tutorial and every thing seems fine. However, I notice when running the code as listed that the colour of the "Comments" label changes only from the second and subsequent passes. I tried stepping through the code using the "F8" key and all was fine until the sub "btnAction_Click". When the cursor reached Dim btnSender As Button, the Local variables list showed that btnSender (Button ) was not initialized.
How and where should this button be initialized? I appears that this routine is similar to catching the Click event in Power Basic.
Thank You.
Firstly, I am new to Basic4Android but have some experience with Power Basic for Windows. I have followed the first two examples in the tutorial and every thing seems fine. However, I notice when running the code as listed that the colour of the "Comments" label changes only from the second and subsequent passes. I tried stepping through the code using the "F8" key and all was fine until the sub "btnAction_Click". When the cursor reached Dim btnSender As Button, the Local variables list showed that btnSender (Button ) was not initialized.
How and where should this button be initialized? I appears that this routine is similar to catching the Click event in Power Basic.
Thank You.