The user input normal text, eg. 'Computer', into text box. The user still see the normal text. Then, when he click [Save]. The box will convert to encryed text, eg. '%$@!*8', automatically to save it in table. When retrieve it to read, the box will convert it back to 'Computer' and let the user read it. The box is very useful for security propose. Althought someone steal the data or program, he can't read it without password.
Any suggestion are appreciated.
Sunny
>>Is there a way/event to test the changes of value when skipping? I tried 'programmmatic change event' and 'interchange event'. They didn't fit my needs.
>>
>>If you knew such event, please tell me. It is very helpful to create a 'encryed txtbox'.
>>
>>I always have a problem in creating a 'encryed txtbox'. It can display encryed data into normal text and then accept normal text and convert it to encryed text.
>>
>>Sunny
>>
>>>>Txtbox has no such events. Is there any other way to do that?
>>>>
>>>>Sunny
>>>>
>>>
>>>If you are using a 'Next' button then you must be doing some processing to get the next record - in here you can specify the color of the textbox before you refresh it. I'm not sure if you can specify it as xxx,xxx,xxx - if not, it is stored as a very long number (try manually changing to red-on-white then writing the value to a variable and use debugger to display the variable - this will tell you what to change it to). Then your 'Next' button can change the foregroundcolor of the textbox.
>
>What is 'encryed txtbox'? Please elaborate.
Can you live without the earth?
Please remind that :
"Yung Hung" is my first name;
"Yeung" is my last/family name.