FIX: RichText Control Displays Line Draw Characters Incorrectly
ID: Q169065
|
The information in this article applies to:
-
Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0
SYMPTOMS
Versions of the RichText control earlier than 5.00.3714 (dated January 14,
1997) do not display line draw characters correctly.
STATUS
This functionality did not work correctly in earlier versions of the
RichText control, but it works correctly in version 5.00.3714, which ships
with Visual FoxPro 5.0a.
MORE INFORMATIONSteps to Reproduce Behavior
There are two parts in setting up this example: Part 1 is to create a
simple text file that contains line draw characters. Part 2 is to create
the Visual FoxPro sample form.
Part 1-Create a text file that contains line draw characters:
- Using a simple text editor such as "Edit," create a new file; for
example, type the following from the command prompt:
EDIT C:\RICHTEXT.TXT
- Create an ASCII-drawn plus sign by following these keystrokes:
- Hold down the Alt key, type the numbers 205 (using the numeric
keypad), and let go of the Alt key.
- Hold down the Alt key, type the numbers 206 (using the numeric
keypad), and let go of the Alt key.
- Hold down the Alt key, type the numbers 205 (using the numeric
keypad), and let go of the Alt key.
NOTE: The resulting displayed characters should appear as an ASCII-drawn plus sign.
- Save the file.
Part 2 - Create the sample form:
- Create a new form in Visual FoxPro by typing the following in the
Command window:
CREATE FORM richtext
- Change the FontName property of the form to "Terminal."
- From the Forms Control Toolbar, click the OLE Container Control
button and add it to the form.
- Select Insert Control on the displayed Insert Object dialog box.
- Select Microsoft RichText Control from the list of controls, and
click OK.
- Click the RichText Control on the form, and right-click to bring up the
Shortcut menu for the control.
- Select the last option on the menu (RichtextCtrl Properties) to bring
up the RichtextCtrl Properties dialog box.
- Type C:\Richtext.txt in the FileName box, and
click OK.
- Save and Run the form.
NOTE: If the RichText Control is a version earlier than 5.00.3714, the
characters displayed may not be in the image of an ASCII-drawn plus
sign.
Additional query words:
weird foreign
Keywords : kbVFp kbVFp300bbug kbVFp500afix kbVFp500bug buglist3.00 FxotherGeneral
Version : WINDOWS:3.0,3.0b,5.0
Platform : WINDOWS
Issue type : kbbug
|