trichview.com

trichview.support




Re: Table cell colors


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/31/2005 12:11:56


Sorry, I thought I answered.

You need to repaint all inplace editors.


var rve: TCustomRichViewEdit;

begin

  rve :=  RichViewEdit1;

  while rve<>nil do begin

    rve.Refresh;

    rve := TCustomRichViewEdit(rve.InplaceEditor);

  end;

end;


There is a method of TRichViewEdit doing it, but, unfortunately, it's not

public.


>

> "Harold Holmes" <hholmes@n.o.spam.lincolnbeach.com> wrote in message >

> table.SetCellBorderColor(BorderColorCBx.ChosenColor,  r,c);

> >

> > The cell does not update its view until either I change the caret

location

> > with the mouse or typing something in. How can I update as soon as the

> color

> > changes. I've tried refresh() and changed() and a few other things but I

> > can't get the color to change as the user selects it.

>

> Just a bump for the above note, I still haven't figured it out.

> --

> Best regards,

> Harold Holmes

>

>

>





Powered by ABC Amber Outlook Express Converter