I've attached sample code of a large keypad that displays a modal error dialog when a number entered is out of range. It works fine.
However, this *exact* same code (keypad.bas and message.bas) has an annoying problem when included in my larger app: When the error dialog is encountered and then cleared, artifacts from it appear behind the rounded corners of labels and buttons on the keypad. These artifacts only appear after another button is tapped.
For instance, a too-large number is entered and the error dialog comes up. You tap "Ok". Then, you tap the 'clear' button to remove a character from the number. This is when the artifacts appear.
For the life of me, I can't figure it out. I'd appreciate any ideas! Again, the attached example works, but the same code in my app has troubles. This despite the keypad being it's own activity.
Thanks
However, this *exact* same code (keypad.bas and message.bas) has an annoying problem when included in my larger app: When the error dialog is encountered and then cleared, artifacts from it appear behind the rounded corners of labels and buttons on the keypad. These artifacts only appear after another button is tapped.
For instance, a too-large number is entered and the error dialog comes up. You tap "Ok". Then, you tap the 'clear' button to remove a character from the number. This is when the artifacts appear.
For the life of me, I can't figure it out. I'd appreciate any ideas! Again, the attached example works, but the same code in my app has troubles. This despite the keypad being it's own activity.
Thanks