Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Underline/bold partial text on a text/edit/label box
Message
From
01/07/1998 08:43:02
 
 
To
29/06/1998 17:33:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00112686
Message ID:
00113321
Views:
39
>Does anyone know whether I can underline/bold part of a text on a text/edit/label box? For example, I would like to show "Please select ONE of the following" where only the word "ONE" is underline and bold. Can I do that in VFP? Thanks.

One solution: use three labels, "Please select", " ONE " (with the extra spaces), and "of the following", and in the INIT code of the second, move it so it lies just right of the first one, and do likewise with the third:

Label_ONE INIT:

This.Top = ThisForm.Label_PLEASE_SELECT.Top
This.Left = ThisForm.Label_PLEASE_SELECT.Left + ;
ThisForm.Label_PLEASE_SELECT.Width
Previous
Reply
Map
View

Click here to load this message in the networking platform