How to Create Raised Text Boxes in Visual FoxProID: Q138675 The information in this article applies to:
SUMMARYIn Visual FoxPro, a text box can have a recessed look to it by setting the SpecialEffect property to 3D-Effect. There is no setting to make the text box have a raised look. However, by using lines with contrasting colors on each side of the text box, you can give the text box a raised look on the form. The best colors for making a text box have a raised look are light gray for the left and top sides and dark gray for the bottom and right sides. Below are the steps to create a raised text box.
MORE INFORMATION
Step-by-Step Procedure1. Create a form and add a text box to it. Change the SpecialEffect 2. Select the Line tool from the Form Controls toolbar. Draw a line equal
3. After making the line equal to the length of the text box, make a copy
4. Repeat steps 2 and 3 to create two lines equal to the width of the
5. Click the first long line, and change the Border Color property in the
6. Repeat Step 5 for the first width line, using the mouse or arrow key to
7. Click the second long line, changing the Border Color property in the
8. Repeat Step 7 for the second width line, placing it just outside of the
9. Select another text box and place it on the form. The SpecialEffect
Run the form, and note that the first text box has a raised look while the
second textbox has a recessed look.
If a darker shadow is desired on the raised textbox, change the Border Color property of the bottom and right lines in the Properties sheet to 75,75,75. Additional reference words: 3.00 VFoxWin KBCategory: kbtool kbhowto KBSubcategory: FxtoolFormdes |
Last Reviewed: October 29, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |