Hello,
for a status display and an external toolbar (no WPTools-Toolbar) i need to get and set the color of the current paragraph (or the paragraph color of the selected text if ans is selected)
I have tried it with CurrAttr.ParColor and CurrAtr.GetColorEx with no success. The help says that GetColorEx can be used with WPAT_ParColor but i can not find WPAT_ParColor anywhere.
I als also tried:
WPRichText.ActivePar.ASetColor(WPAT_BGColor, aColor); and
WPRichText.SelectedTextAttr.ASetColor(WPAT_BGColor, aColor);
both with no success. What goes wrong with my code? (The set methods were followed by a ReformatAll)
Can cou give me a short hint?
Thanks in advance,
Ralf