FIX: Copy/Paste Allowed With Password Character (221731)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0b
  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q221731

SYMPTOMS

You can copy and paste the contents of a text box that has the PassWordChar property set into another object and see the information.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

In Visual Studio 6.0 Service Pack 3 for Visual FoxPro, if a text box object with the PassWordChar property is non-null, the copy and cut functionalities are disabled. However, you can still paste into the field.

Steps to Reproduce Behavior

  1. Create a form called "Ztest."
  2. Add two text box objects to the form.
  3. In the first text box, set the PassWordChar property to *****.
  4. Run the form.
  5. Type something into the first text box.
  6. Highlight what you typed and press the CTRL+C key combination (to copy). Move to the second text box and press the CTRL+V key combination (to paste). Note that the second text box contains what was typed in the first text box.

Modification Type:MajorLast Reviewed:5/12/2003
Keywords:kbBug kbContainer kbCtrl kbfix kbOOP kbVS600sp3fix KB221731