This is probably an easy question but before a user can exit a form what code would I use to change the color of a text entry control to notify the user that the field is mandatory?
Text1.BackColor=vbRed
Text1.ForColor=vbBlack [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
That was just an example but I would suggest not using red.
You might want to change the color of the label instead.
Or from the start identify to the user which fields are required by adding an identifier next to the text box, or putting a border around the text box. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.