I'm using Delphi 4/5 and have am trying to fill a RichEdit
control with both European characters and Thai characters -
while I can change character colours the font stays with
what was selected for the control:-
reLangB.SelAttributes.Color :=dCol;
reLangB.SelAttributes.Name :=FontName[dLang];
reLangB.SelAttributes.Charset :=FontChar[dLang];
reLangB.SelAttributes.Style :=[];
reLangB.Lines.Add(dText);
The FontName and FontChar arrays contain the font info, and
using a similar method for Captions and EditBoexes works!
Anybody any ideas?
Thanx in advance!


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Delphi Interview Questions

How to Access a grid's column or row by name ?

0 Answers  


"EOleSysError : Error loading type library/DLL" . what does this error mean?

0 Answers  


'Missing Data Provider or Data Packet' . what does this error mean?

2 Answers  


How to debug an Apache Shared Module?

0 Answers   CBS,


How to create SQL queries with SQL Builder?

0 Answers  






How to Change the display mode settings in code?

0 Answers  


Where to get TUpdateSQLProvider component ?

0 Answers  


How to Move controls at runtime ?

0 Answers  


Convert a color to its VCL string value ?

0 Answers  


Why won't the virtual key codes work in program?

0 Answers  


How to Get the current line number of a TMemo?

0 Answers  


How to Change the background color of Text?

0 Answers  


Categories