Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting text retrieved from a memo field
Message
De
02/03/2003 00:13:49
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760074
Message ID:
00760078
Vues:
26
Thanks for the quick response!...and great idea!!!

Would I then store Rich Text content in a General field?

I'm going to start researching this option...sounds promising.

Thanks again!
Bruno


>Bruno,
>
>MS Rich Text Control that comes with VFP should work for you.
>
>>Hello to all!
>>
>>I'm designing a FoxPro application to administer on-line exams:
>>
>>The text of the questions and possible answers will be stored in memo fields
>>
>>I will need to apply some formatting to this text, for example;
>>- display words in bold
>>- display words in italics
>>- display words underlined
>>- dispaly words in different colors
>>
>>In order to do this, I think an approach might be to store formatting codes within the text contained in the memo fields and somehow display the formatted text on the form.
>>
>>That is what I have to resolve: Displaying the formatted text on the form!
>>
>>Are there existing third party tools that do this? Any ideas on implementation?
>>
>>Some of the challenges:
>>- lenght of text is unknown at design time
>>- lenght of text will go beyond the character limit of FoxPro labels
>>- ForxPro's Editbox control does not support formatting (as far as I know...FoxPro 9? :)
>>
>>Possibilities I'm thinking about (If I don't find an existing, ready to use, solution!):
>>- Programmatic creation and position of labels on the screen, creating a new label every time formatting changes and everytime a carriage return should be performmed to remain within the borders of the form. Oh, and calculating these limits according to the size and type of the font!
>>
>>As you can see, this is at the brainstorming stage...
>>
>>So if any of you have any great ideas...I'm sure you all do....please share them with me!!!
>>
>>Thanks in advance for your help!
>>
>>Bruno
Bruno Di Lalla
Consultant
BDL Computer Consulting
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform