when the focuschanged is raised, the process clears the screen.
the application is prompt oriented.
the program builds the screen as someone answers the prompt correctly.
When the app starts, there is only one field on the screen. Basically a blank page.
If the prompt is answered correctly, move to the next prompt.
so the screen fills up with the required information and then when all questions are answered correctly, save prompt appears.
however, the save prompt does not appear.
The application jumps to another prompt previously answered and clears the screen from that prompt down.
then has to start again.
The app is now in a loop.
this does not behave when using the 24 default.
I have got around by putting the following in the focuschanged.
notice the dSaveActive.
I had to add to get the behavior I needed.
Sub txtBin_FocusChanged (HasFocus As Boolean)
If HasFocus And dSaveActive = False Then
ShowNextPrompt("BN",sNo)
End If
End Sub
but cannot explain why happening?
is this a bug?
also, is there a way to catch the "hasfocus" when click into the edittext box?