trichview.support
Re: Template |
Author |
Message |
Parmod Gandhi |
Posted: 05/24/2004 20:36:50 I have dome something similar to this for Word Help Keyword combo box on the top right corner. I plan to do exactly what you are doing and have some ideas. I hope these help. 1) Create an edit control (a field with or without border). Put in some default text like 'Enter date here'. Make the text color gray or similar to distinguish from real text. 2) When the user clicks (key down) on this field, clear the field if the text is similar to what your default is. Let the user type in whatever or you can help with default such as current date format choices. 3) If user enters something valid keep it or if the user leaves it blank when the focus leaves, enter default text again. 4) If user ignores the field and continues with printing, replace it with blank or current date based on application. I hope this helps. I hope someone can expand on this idea or present another solution here. Parmod "Hon Yuen, Ng" <hyng@[NoSpam]tm.net.my> wrote in message news:40b1d944@support.torry.net... > have you ever seen Microsoft Word's template? In the template there a line > of word e.g "Click to enter Date". If user click on this sentence, the > sentence will be deleted so that user can enter the date at that section. > How RVE achieve that? > > Thanx!!! > > |
Powered by ABC Amber Outlook Express Converter