Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting text in sql statement - or in editbox
Message
 
 
À
23/08/2006 19:53:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01148068
Message ID:
01148072
Vues:
14
Neither texbox, nor editbox support formatting of separate parts of text. You may consider using Web Browser or RTF control instead.

> just wondering if there is a way to format text that is received from a select statement (preferrably within the sql statement). i would want to maybe bold some of it or underline some of it, and it ends up in an editbox. as an example, here is what i'm trying to do:
>
>
>SELECT ALLTRIM(fname) + " " + ALLTRIM(lname) + CHR(13) + CHR(13) + ;
>	"contact name: " + ALLTRIM(contact_fname) + " " + ALLTRIM(contact_lname) + CHR(13);
>	FROM t_table;
>	INTO CURSOR curseditbox_contact
>
>
>this information is displayed in an editbox and i would want to underline/bold the contact name.
>
>Example:
>Charlie Brown
>contact name: Paul Jones (this should be underlined and bolded)
>
>i would prefer to do this from within the sql statement rather than the edit box as what i select into the edit box will change as my program progresses.
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform