Strikeout...
Posted: Sun Jul 04, 2010 3:08 am
I am using the Rich View Actions Test demo. I want to add Strikeout to the line of buttons. It currently does , Bold, Italic, and Underline.
Here is the procedure that applies them. What do I need to do to add StrikeOut. I already added the button.
procedure TFindingEntry.FontStyleToolButtonClick(Sender: TObject);
var Button: TToolButton;
begin
Button := Sender as TToolButton;
// constants TEXT_BOLD, TEXT_ITALIC and TEXT_UNDERLINE are
// assigned to the tags of corresponding buttons
rve.ApplyStyleConversion(Button.Tag);
end;
Here is the procedure that applies them. What do I need to do to add StrikeOut. I already added the button.
procedure TFindingEntry.FontStyleToolButtonClick(Sender: TObject);
var Button: TToolButton;
begin
Button := Sender as TToolButton;
// constants TEXT_BOLD, TEXT_ITALIC and TEXT_UNDERLINE are
// assigned to the tags of corresponding buttons
rve.ApplyStyleConversion(Button.Tag);
end;