Re: [Dev-C++] How to dynamically add an Edit Box!!!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-11-08 22:45:16
|
A normal edit control can't handle text with attributes, i.e. your text with varying colors in it. You must use a rich text control instead. Alas, I don't have any link to give you about how to use it :( /Per W On Mon, 8 Nov 2004, Alexsandro Meireles wrote: > Hi C++ users, > > Please! I need to know how to add dynamically an Edit Box on C++ > Builder 5. The problem is the following: > > I have a program made in Dev-C++ which separate the syllables from a > word. Ex.: I give the word input "absoluto" and the program gives me > [aB.so.lu.tU]. The problem is that I want to put every single syllable > of the word in a C++ Builder 5.0 Edit Box. > > For this example I will have 4 s=EDlabas inside an Edit Box with > different colours according to its word stress. > > I have a counter who count the number of syllables. I cannot manage > how to add dynamically these Edit Boxes, cause in my language > (Portuguese) the number of syllables in a word varies widely. > > Thanks in advance!!! > > -- > Alexsandro Meireles (Lab. of Phonetics and Psicolinguistics |