Hi, I want to create a Login Screen which has a Username and Password and a Sign in Button But when a user fails to enter correct information inside the TextField of Username or Password a pop up like the image chat dialog should pop up from corner of TextField's right side displaying appropriate message How can this Customization be achieved?
相关问题
- How can I add a horizontal line (“goal line”) for
- Check if current screen is on or off in iOS
- After updating to Xcode 10.2 build gets black scre
- How to change the gamma ramp of a single display m
- How to make background of BrowserField transparent
相关文章
- C# Winform 当开启Mosaic 模式后,怎么获取显示器的数量?
- Android - Google Play filtering out xxhdpi
- How to customize context menu in Visual Studio Cod
- CKEditor add CSS styling to Preview and Editor
- How to manage the Blank White Loading screen of an
- To get the module names in blackberry
- How to close a global dialog and display another i
- How to install a draft app on a blackberry sandbox
i am giving you a simple way. If it is not perfect to your question you just ignore this answer.
Here i made logic like following. i gave you two buttons 1)Login 2)remove
I think you know how to validate your text fields right or wrong; keep one if condition ,write your logic if right no need any field else wrong then you have three conditions
1)id is wrong 2)password is wrong or 3)both wrong
according two that condition you can add particular tooltip box on above text field .
I am providing sample for both wrong condition and remove condition also
make it as your requirements
Resources :
chat.png image is required for background
Sample code:
and class for PopupField.java is
output image :
keep helping to others
Other solution is this link will tell you http://v4ks1n.wordpress.com/2011/01/28/tooltips-class-for-blackberry/